Skip to content

Commit 4571d5f

Browse files
author
API Team
committed
[GitHub Bot] Generated go SDK
1 parent 6d09d2c commit 4571d5f

520 files changed

Lines changed: 8920 additions & 936 deletions

File tree

Some content is hidden

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

administrative/.openapi-generator/FILES

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
.openapi-generator-ignore
12
README.md
23
api_account_groups.go
34
api_permissions.go

administrative/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ This API provides the following operations to manage your organization:
1414
## Overview
1515
*Automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) using the [OpenAPI-spec](https://www.openapis.org/).*
1616

17-
- API version: 7.0.79
17+
- API version: 7.0.83
1818
- Package version: 1.0.0
1919

2020
For more information, please visit [https://developer.cisco.com/docs/thousandeyes/v7/](https://developer.cisco.com/docs/thousandeyes/v7/)

agents/.openapi-generator/FILES

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
.openapi-generator-ignore
12
README.md
23
api_agent_proxies.go
34
api_cloud_and_enterprise_agent_notification_rules.go
@@ -23,6 +24,7 @@ model_agent_proxies.go
2324
model_agent_proxy.go
2425
model_agent_request.go
2526
model_agent_response.go
27+
model_agent_tag.go
2628
model_agent_tests_assign_request.go
2729
model_alert_email.go
2830
model_alert_integration_base.go

agents/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Manage Cloud and Enterprise Agents available to your account in ThousandEyes.
77
## Overview
88
*Automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) using the [OpenAPI-spec](https://www.openapis.org/).*
99

10-
- API version: 7.0.79
10+
- API version: 7.0.83
1111
- Package version: 1.0.0
1212

1313
For more information, please visit [https://developer.cisco.com/docs/thousandeyes/v7/](https://developer.cisco.com/docs/thousandeyes/v7/)

agents/api_cloud_and_enterprise_agents.go

Lines changed: 10 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

agents/docs/CloudAndEnterpriseAgentsAPI.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ Name | Type | Description | Notes
156156

157157
## GetAgents
158158

159-
> CloudEnterpriseAgents GetAgents().Aid(aid).Expand(expand).AgentTypes(agentTypes).Labels(labels).Execute()
159+
> CloudEnterpriseAgents GetAgents().Aid(aid).Expand(expand).AgentTypes(agentTypes).Labels(labels).TagKeys(tagKeys).Execute()
160160
161161
List Cloud and Enterprise Agents
162162

@@ -179,13 +179,14 @@ func main() {
179179
expand := []agents.AgentListExpand{agents.AgentListExpand("cluster-member")} // []AgentListExpand | Optional parameter, off by default. Indicates which agent sub-resource to expand. For example, if you wish to expand the `clusterMembers` sub-resource, pass the `?expand=cluster-member` query. (optional)
180180
agentTypes := []agents.CloudEnterpriseAgentType{agents.CloudEnterpriseAgentType("cloud")} // []CloudEnterpriseAgentType | Specifies the type of agent to request. (optional)
181181
labels := []string{"Inner_example"} // []string | Specifies the labels of the agents to request. (optional)
182+
tagKeys := []string{"myCustomTagKeyForAgent"} // []string | Specifies which tag keys to request from the agents. (optional)
182183

183184
configuration := client.NewConfiguration().WithAuthToken("<bearer-token>")
184185
apiClient := client.NewAPIClient(configuration)
185186

186187
api := (*agents.CloudAndEnterpriseAgentsAPIService)(&apiClient.Common)
187188

188-
resp, r, err := api.GetAgents().Aid(aid).Expand(expand).AgentTypes(agentTypes).Labels(labels).Execute()
189+
resp, r, err := api.GetAgents().Aid(aid).Expand(expand).AgentTypes(agentTypes).Labels(labels).TagKeys(tagKeys).Execute()
189190
if err != nil {
190191
fmt.Fprintf(os.Stderr, "Error when calling `CloudAndEnterpriseAgentsAPI.GetAgents``: %v\n", err)
191192
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -211,6 +212,7 @@ Name | Type | Description | Notes
211212
**expand** | [**[]AgentListExpand**](AgentListExpand.md) | Optional parameter, off by default. Indicates which agent sub-resource to expand. For example, if you wish to expand the &#x60;clusterMembers&#x60; sub-resource, pass the &#x60;?expand&#x3D;cluster-member&#x60; query. |
212213
**agentTypes** | [**[]CloudEnterpriseAgentType**](CloudEnterpriseAgentType.md) | Specifies the type of agent to request. |
213214
**labels** | **[]string** | Specifies the labels of the agents to request. |
215+
**tagKeys** | **[]string** | Specifies which tag keys to request from the agents. |
214216

215217
### Return type
216218

agents/model_agent_tag.go

Lines changed: 201 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

agents/model_cloud_agent_detail.go

Lines changed: 37 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)