Skip to content

Commit 22209f6

Browse files
Cisco Catalyst Center 2.3.7.9's API
1 parent 1ece0b3 commit 22209f6

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

45 files changed

+42151
-12384
lines changed

CHANGELOG.md

Lines changed: 60 additions & 56 deletions
Original file line numberDiff line numberDiff line change
@@ -1,83 +1,87 @@
11
# Changelog
2+
23
All notable changes to this project will be documented in this file.
34

45
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
56
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
67

78
## [Unreleased]
89

10+
## [2.0.0] - 2024-12-27
11+
12+
### Added
13+
14+
- New services for Cisco Catalyst Center 2.3.7.9's API
15+
- AuthenticationManagementService *AuthenticationManagementService
16+
917
## [1.0.2] - 2024-11-12
18+
1019
- Aliases documentation added.
20+
- Implementation Alias
1121

1222
## [1.0.1] - 2024-11-12
23+
1324
### Added
14-
- New services for Cisco Catalyst Center 2.3.7.6's API
15-
* AIEndpointAnalytics *AIEndpointAnalyticsService
16-
* DisasterRecovery *DisasterRecoveryService
1725

26+
- New services for Cisco Catalyst Center 2.3.7.6's API
27+
- AIEndpointAnalytics * AIEndpointAnalyticsService
28+
- DisasterRecovery * DisasterRecoveryService
1829

1930
### Delete
31+
2032
Delete services for Cisco Catalyst Center 2.3.7.6's API:
21-
- CiscoDnaCenterSystem *CiscoDnaCenterSystemService
33+
34+
- CiscoDnaCenterSystem * CiscoDnaCenterSystemService
2235

2336
## [1.0.0] - 2024-09-11
2437

2538
### Added
26-
New services for Cisco Catalyst Center 2.3.7.6's API:
27-
- CiscoTrustedCertificates *CiscoTrustedCertificatesService
28-
- Authentication *AuthenticationService
29-
- ApplicationPolicy *ApplicationPolicyService
30-
- Applications *ApplicationsService
31-
- Clients *ClientsService
32-
- CommandRunner *CommandRunnerService
33-
- Compliance *ComplianceService
34-
- ConfigurationArchive *ConfigurationArchiveService
35-
- ConfigurationTemplates *ConfigurationTemplatesService
36-
- DeviceOnboardingPnp *DeviceOnboardingPnpService
37-
- DeviceReplacement *DeviceReplacementService
38-
- Devices *DevicesService
39-
- Discovery *DiscoveryService
40-
- EoX *EoXService
41-
- EventManagement *EventManagementService
42-
- FabricWireless *FabricWirelessService
43-
- File *FileService
44-
- HealthAndPerformance *HealthAndPerformanceService
45-
- Itsm *ItsmService
46-
- ItsmIntegration *ItsmIntegrationService
47-
- Issues *IssuesService
48-
- LanAutomation *LanAutomationService
49-
- Licenses *LicensesService
50-
- NetworkSettings *NetworkSettingsService
51-
- PathTrace *PathTraceService
52-
- Platform *PlatformService
53-
- Reports *ReportsService
54-
- Sda *SdaService
55-
- SecurityAdvisories *SecurityAdvisoriesService
56-
- Sensors *SensorsService
57-
- SiteDesign *SiteDesignService
58-
- Sites *SitesService
59-
- SoftwareImageManagementSwim *SoftwareImageManagementSwimService
60-
- SystemSettings *SystemSettingsService
61-
- Tag *TagService
62-
- Task *TaskService
63-
- Topology *TopologyService
64-
- UserandRoles *UserandRolesService
65-
- Users *UsersService
66-
- Wireless *WirelessService
67-
- CustomCall *CustomCallService
68-
- CiscoDnaCenterSystem *CiscoDnaCenterSystemService
69-
- CiscoTrustedCertificates *CiscoTrustedCertificatesService
70-
71-
## [1.0.1] - 2024-10-31
7239

73-
### Added
7440
New services for Cisco Catalyst Center 2.3.7.6's API:
75-
- AIEndpointAnalytics *AIEndpointAnalyticsService
76-
- DisasterRecovery *DisasterRecoveryService
77-
### Delete
78-
Delete services for Cisco Catalyst Center 2.3.7.6's API:
79-
- CiscoDnaCenterSystem *CiscoDnaCenterSystemService
8041

42+
- CiscoTrustedCertificates * CiscoTrustedCertificatesService
43+
- Authentication * AuthenticationService
44+
- ApplicationPolicy * ApplicationPolicyService
45+
- Applications * ApplicationsService
46+
- Clients * ClientsService
47+
- CommandRunner * CommandRunnerService
48+
- Compliance * ComplianceService
49+
- ConfigurationArchive * ConfigurationArchiveService
50+
- ConfigurationTemplates * ConfigurationTemplatesService
51+
- DeviceOnboardingPnp * DeviceOnboardingPnpService
52+
- DeviceReplacement * DeviceReplacementService
53+
- Devices * DevicesService
54+
- Discovery * DiscoveryService
55+
- EoX * EoXService
56+
- EventManagement * EventManagementService
57+
- FabricWireless * FabricWirelessService
58+
- File * FileService
59+
- HealthAndPerformance * HealthAndPerformanceService
60+
- Itsm * ItsmService
61+
- ItsmIntegration * ItsmIntegrationService
62+
- Issues * IssuesService
63+
- LanAutomation * LanAutomationService
64+
- Licenses * LicensesService
65+
- NetworkSettings * NetworkSettingsService
66+
- PathTrace * PathTraceService
67+
- Platform * PlatformService
68+
- Reports * ReportsService
69+
- Sda * SdaService
70+
- SecurityAdvisories * SecurityAdvisoriesService
71+
- Sensors * SensorsService
72+
- SiteDesign * SiteDesignService
73+
- Sites * SitesService
74+
- SoftwareImageManagementSwim * SoftwareImageManagementSwimService
75+
- SystemSettings * SystemSettingsService
76+
- Tag * TagService
77+
- Task * TaskService
78+
- Topology * TopologyService
79+
- UserandRoles * UserandRolesService
80+
- Users * UsersService
81+
- Wireless * WirelessService
82+
- CustomCall * CustomCallService
83+
- CiscoDnaCenterSystem * CiscoDnaCenterSystemService
84+
- CiscoTrustedCertificates * CiscoTrustedCertificatesService
8185

8286
[1.0.1]: https://github.com/cisco-en-programmability/catalystcenter-go-sdk/commits/v1.0.1
8387
[1.0.0]: https://github.com/cisco-en-programmability/catalystcenter-go-sdk/commits/v1.0.0

README.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -84,21 +84,24 @@ if devices.Response != nil {
8484
```
8585

8686
## Documentation
87+
8788
### catalystcenter-go-sdk
89+
8890
[![PkgGoDev](https://pkg.go.dev/badge/github.com/)](https://pkg.go.dev/github.com/cisco-en-programmability/catalystcenter-go-sdk)
91+
8992
## Compatibility matrix
9093

9194
| SDK versions | Cisco Catalyst Center version supported |
92-
|--------------|-----------------------------------------|
93-
| 1.y.z | 2.3.7.6 |
95+
| ------------ | --------------------------------------- |
96+
| 1.y.z | 2.3.7.6 |
97+
| 2.y.z | 2.3.7.9 |
9498

9599
## Changelog
96100

97101
All notable changes to this project will be documented in the [CHANGELOG](https://github.com/cisco-en-programmability/catalystcenter-go-sdk/blob/main/CHANGELOG.md) file.
98102

99103
The development team may make additional name changes as the library evolves with the Cisco Catalyst Center APIs.
100104

101-
102105
## License
103106

104107
This library is distributed under the MIT license found in the [LICENSE](./LICENSE) file.

sdk/ai_endpoint_analytics.go

Lines changed: 19 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -412,7 +412,7 @@ type RequestAIEndpointAnalyticsUpdateAnExistingProfilingRuleV1ConditionGroupsCon
412412
413413
414414
415-
Documentation Link: https://developer.cisco.com/docs/dna-center/#!get-anc-policies-v1
415+
Documentation Link: https://developer.cisco.com/docs/dna-center/#!get-anc-policies
416416
*/
417417
func (s *AIEndpointAnalyticsService) GetAncPoliciesV1() (*ResponseAIEndpointAnalyticsGetAncPoliciesV1, *resty.Response, error) {
418418
path := "/dna/intent/api/v1/endpoint-analytics/anc-policies"
@@ -447,7 +447,7 @@ func (s *AIEndpointAnalyticsService) GetAncPoliciesV1() (*ResponseAIEndpointAnal
447447
448448
@param GetAIEndpointAnalyticsAttributeDictionariesV1QueryParams Filtering parameter
449449
450-
Documentation Link: https://developer.cisco.com/docs/dna-center/#!get-a-i-endpoint-analytics-attribute-dictionaries-v1
450+
Documentation Link: https://developer.cisco.com/docs/dna-center/#!get-a-i-endpoint-analytics-attribute-dictionaries
451451
*/
452452
func (s *AIEndpointAnalyticsService) GetAIEndpointAnalyticsAttributeDictionariesV1(GetAIEndpointAnalyticsAttributeDictionariesV1QueryParams *GetAIEndpointAnalyticsAttributeDictionariesV1QueryParams) (*ResponseAIEndpointAnalyticsGetAIEndpointAnalyticsAttributeDictionariesV1, *resty.Response, error) {
453453
path := "/dna/intent/api/v1/endpoint-analytics/dictionaries"
@@ -484,7 +484,7 @@ func (s *AIEndpointAnalyticsService) GetAIEndpointAnalyticsAttributeDictionaries
484484
485485
@param QueryTheEndpointsV1QueryParams Filtering parameter
486486
487-
Documentation Link: https://developer.cisco.com/docs/dna-center/#!query-the-endpoints-v1
487+
Documentation Link: https://developer.cisco.com/docs/dna-center/#!query-the-endpoints
488488
*/
489489
func (s *AIEndpointAnalyticsService) QueryTheEndpointsV1(QueryTheEndpointsV1QueryParams *QueryTheEndpointsV1QueryParams) (*ResponseAIEndpointAnalyticsQueryTheEndpointsV1, *resty.Response, error) {
490490
path := "/dna/intent/api/v1/endpoint-analytics/endpoints"
@@ -521,7 +521,7 @@ func (s *AIEndpointAnalyticsService) QueryTheEndpointsV1(QueryTheEndpointsV1Quer
521521
522522
@param FetchTheCountOfEndpointsV1QueryParams Filtering parameter
523523
524-
Documentation Link: https://developer.cisco.com/docs/dna-center/#!fetch-the-count-of-endpoints-v1
524+
Documentation Link: https://developer.cisco.com/docs/dna-center/#!fetch-the-count-of-endpoints
525525
*/
526526
func (s *AIEndpointAnalyticsService) FetchTheCountOfEndpointsV1(FetchTheCountOfEndpointsV1QueryParams *FetchTheCountOfEndpointsV1QueryParams) (*ResponseAIEndpointAnalyticsFetchTheCountOfEndpointsV1, *resty.Response, error) {
527527
path := "/dna/intent/api/v1/endpoint-analytics/endpoints/count"
@@ -560,7 +560,7 @@ func (s *AIEndpointAnalyticsService) FetchTheCountOfEndpointsV1(FetchTheCountOfE
560560
561561
@param GetEndpointDetailsV1QueryParams Filtering parameter
562562
563-
Documentation Link: https://developer.cisco.com/docs/dna-center/#!get-endpoint-details-v1
563+
Documentation Link: https://developer.cisco.com/docs/dna-center/#!get-endpoint-details
564564
*/
565565
func (s *AIEndpointAnalyticsService) GetEndpointDetailsV1(epID string, GetEndpointDetailsV1QueryParams *GetEndpointDetailsV1QueryParams) (*ResponseAIEndpointAnalyticsGetEndpointDetailsV1, *resty.Response, error) {
566566
path := "/dna/intent/api/v1/endpoint-analytics/endpoints/{epId}"
@@ -598,7 +598,7 @@ func (s *AIEndpointAnalyticsService) GetEndpointDetailsV1(epID string, GetEndpoi
598598
599599
@param GetListOfProfilingRulesV1QueryParams Filtering parameter
600600
601-
Documentation Link: https://developer.cisco.com/docs/dna-center/#!get-list-of-profiling-rules-v1
601+
Documentation Link: https://developer.cisco.com/docs/dna-center/#!get-list-of-profiling-rules
602602
*/
603603
func (s *AIEndpointAnalyticsService) GetListOfProfilingRulesV1(GetListOfProfilingRulesV1QueryParams *GetListOfProfilingRulesV1QueryParams) (*ResponseAIEndpointAnalyticsGetListOfProfilingRulesV1, *resty.Response, error) {
604604
path := "/dna/intent/api/v1/endpoint-analytics/profiling-rules"
@@ -635,7 +635,7 @@ func (s *AIEndpointAnalyticsService) GetListOfProfilingRulesV1(GetListOfProfilin
635635
636636
@param GetCountOfProfilingRulesV1QueryParams Filtering parameter
637637
638-
Documentation Link: https://developer.cisco.com/docs/dna-center/#!get-count-of-profiling-rules-v1
638+
Documentation Link: https://developer.cisco.com/docs/dna-center/#!get-count-of-profiling-rules
639639
*/
640640
func (s *AIEndpointAnalyticsService) GetCountOfProfilingRulesV1(GetCountOfProfilingRulesV1QueryParams *GetCountOfProfilingRulesV1QueryParams) (*ResponseAIEndpointAnalyticsGetCountOfProfilingRulesV1, *resty.Response, error) {
641641
path := "/dna/intent/api/v1/endpoint-analytics/profiling-rules/count"
@@ -673,7 +673,7 @@ func (s *AIEndpointAnalyticsService) GetCountOfProfilingRulesV1(GetCountOfProfil
673673
@param ruleID ruleId path parameter. Unique rule identifier
674674
675675
676-
Documentation Link: https://developer.cisco.com/docs/dna-center/#!get-details-of-a-single-profiling-rule-v1
676+
Documentation Link: https://developer.cisco.com/docs/dna-center/#!get-details-of-a-single-profiling-rule
677677
*/
678678
func (s *AIEndpointAnalyticsService) GetDetailsOfASingleProfilingRuleV1(ruleID string) (*ResponseAIEndpointAnalyticsGetDetailsOfASingleProfilingRuleV1, *resty.Response, error) {
679679
path := "/dna/intent/api/v1/endpoint-analytics/profiling-rules/{ruleId}"
@@ -710,7 +710,7 @@ func (s *AIEndpointAnalyticsService) GetDetailsOfASingleProfilingRuleV1(ruleID s
710710
@param taskID taskId path parameter. Unique identifier for the task.
711711
712712
713-
Documentation Link: https://developer.cisco.com/docs/dna-center/#!get-task-details-v1
713+
Documentation Link: https://developer.cisco.com/docs/dna-center/#!get-task-details
714714
*/
715715
func (s *AIEndpointAnalyticsService) GetTaskDetailsV1(taskID string) (*ResponseAIEndpointAnalyticsGetTaskDetailsV1, *resty.Response, error) {
716716
path := "/dna/intent/api/v1/endpoint-analytics/tasks/{taskId}"
@@ -745,7 +745,7 @@ func (s *AIEndpointAnalyticsService) GetTaskDetailsV1(taskID string) (*ResponseA
745745
746746
747747
748-
Documentation Link: https://developer.cisco.com/docs/dna-center/#!process-cmdb-endpoints-v1
748+
Documentation Link: https://developer.cisco.com/docs/dna-center/#!process-cmdb-endpoints
749749
*/
750750
func (s *AIEndpointAnalyticsService) ProcessCmdbEndpointsV1(requestAIEndpointAnalyticsProcessCMDBEndpointsV1 *RequestAIEndpointAnalyticsProcessCmdbEndpointsV1) (*resty.Response, error) {
751751
path := "/dna/intent/api/v1/endpoint-analytics/cmdb/endpoints"
@@ -780,7 +780,7 @@ func (s *AIEndpointAnalyticsService) ProcessCmdbEndpointsV1(requestAIEndpointAna
780780
781781
782782
783-
Documentation Link: https://developer.cisco.com/docs/dna-center/#!register-an-endpoint-v1
783+
Documentation Link: https://developer.cisco.com/docs/dna-center/#!register-an-endpoint
784784
*/
785785
func (s *AIEndpointAnalyticsService) RegisterAnEndpointV1(requestAIEndpointAnalyticsRegisterAnEndpointV1 *RequestAIEndpointAnalyticsRegisterAnEndpointV1) (*resty.Response, error) {
786786
path := "/dna/intent/api/v1/endpoint-analytics/endpoints"
@@ -815,7 +815,7 @@ func (s *AIEndpointAnalyticsService) RegisterAnEndpointV1(requestAIEndpointAnaly
815815
816816
817817
818-
Documentation Link: https://developer.cisco.com/docs/dna-center/#!create-a-profiling-rule-v1
818+
Documentation Link: https://developer.cisco.com/docs/dna-center/#!create-a-profiling-rule
819819
*/
820820
func (s *AIEndpointAnalyticsService) CreateAProfilingRuleV1(requestAIEndpointAnalyticsCreateAProfilingRuleV1 *RequestAIEndpointAnalyticsCreateAProfilingRuleV1) (*ResponseAIEndpointAnalyticsCreateAProfilingRuleV1, *resty.Response, error) {
821821
path := "/dna/intent/api/v1/endpoint-analytics/profiling-rules"
@@ -855,7 +855,7 @@ func (s *AIEndpointAnalyticsService) CreateAProfilingRuleV1(requestAIEndpointAna
855855
856856
857857
858-
Documentation Link: https://developer.cisco.com/docs/dna-center/#!import-profiling-rules-in-bulk-v1
858+
Documentation Link: https://developer.cisco.com/docs/dna-center/#!import-profiling-rules-in-bulk
859859
*/
860860
func (s *AIEndpointAnalyticsService) ImportProfilingRulesInBulkV1(requestAIEndpointAnalyticsImportProfilingRulesInBulkV1 *RequestAIEndpointAnalyticsImportProfilingRulesInBulkV1) (*resty.Response, error) {
861861
path := "/dna/intent/api/v1/endpoint-analytics/profiling-rules/bulk"
@@ -994,7 +994,7 @@ func (s *AIEndpointAnalyticsService) UpdateAnExistingProfilingRuleV1(ruleID stri
994994
@param epID epId path parameter. Unique identifier for the endpoint.
995995
996996
997-
Documentation Link: https://developer.cisco.com/docs/dna-center/#!delete-an-endpoint-v1
997+
Documentation Link: https://developer.cisco.com/docs/dna-center/#!delete-an-endpoint
998998
*/
999999
func (s *AIEndpointAnalyticsService) DeleteAnEndpointV1(epID string) (*resty.Response, error) {
10001000
//epID string
@@ -1014,8 +1014,7 @@ func (s *AIEndpointAnalyticsService) DeleteAnEndpointV1(epID string) (*resty.Res
10141014

10151015
if response.IsError() {
10161016
if response.StatusCode() == http.StatusUnauthorized {
1017-
return s.DeleteAnEndpointV1(
1018-
epID)
1017+
return s.DeleteAnEndpointV1(epID)
10191018
}
10201019
return response, fmt.Errorf("error with operation DeleteAnEndpointV1")
10211020
}
@@ -1031,7 +1030,7 @@ func (s *AIEndpointAnalyticsService) DeleteAnEndpointV1(epID string) (*resty.Res
10311030
@param epID epId path parameter. Unique identifier for the endpoint.
10321031
10331032
1034-
Documentation Link: https://developer.cisco.com/docs/dna-center/#!revoke-anc-policy-v1
1033+
Documentation Link: https://developer.cisco.com/docs/dna-center/#!revoke-anc-policy
10351034
*/
10361035
func (s *AIEndpointAnalyticsService) RevokeAncPolicyV1(epID string) (*resty.Response, error) {
10371036
//epID string
@@ -1051,8 +1050,7 @@ func (s *AIEndpointAnalyticsService) RevokeAncPolicyV1(epID string) (*resty.Resp
10511050

10521051
if response.IsError() {
10531052
if response.StatusCode() == http.StatusUnauthorized {
1054-
return s.RevokeAncPolicyV1(
1055-
epID)
1053+
return s.RevokeAncPolicyV1(epID)
10561054
}
10571055
return response, fmt.Errorf("error with operation RevokeAncPolicyV1")
10581056
}
@@ -1068,7 +1066,7 @@ func (s *AIEndpointAnalyticsService) RevokeAncPolicyV1(epID string) (*resty.Resp
10681066
@param ruleID ruleId path parameter. Unique rule identifier
10691067
10701068
1071-
Documentation Link: https://developer.cisco.com/docs/dna-center/#!delete-an-existing-profiling-rule-v1
1069+
Documentation Link: https://developer.cisco.com/docs/dna-center/#!delete-an-existing-profiling-rule
10721070
*/
10731071
func (s *AIEndpointAnalyticsService) DeleteAnExistingProfilingRuleV1(ruleID string) (*resty.Response, error) {
10741072
//ruleID string
@@ -1088,8 +1086,7 @@ func (s *AIEndpointAnalyticsService) DeleteAnExistingProfilingRuleV1(ruleID stri
10881086

10891087
if response.IsError() {
10901088
if response.StatusCode() == http.StatusUnauthorized {
1091-
return s.DeleteAnExistingProfilingRuleV1(
1092-
ruleID)
1089+
return s.DeleteAnExistingProfilingRuleV1(ruleID)
10931090
}
10941091
return response, fmt.Errorf("error with operation DeleteAnExistingProfilingRuleV1")
10951092
}

0 commit comments

Comments
 (0)