spinnaker-gate-ruby-client 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/Gemfile +8 -0
- data/Gemfile.lock +85 -0
- data/LICENSE +201 -0
- data/README.md +240 -0
- data/Rakefile +8 -0
- data/docs/Account.md +14 -0
- data/docs/AccountDetails.md +19 -0
- data/docs/AmazonInfrastructureControllerApi.md +128 -0
- data/docs/ApplicationControllerApi.md +754 -0
- data/docs/ArtifactControllerApi.md +111 -0
- data/docs/AuthControllerApi.md +212 -0
- data/docs/BakeControllerApi.md +143 -0
- data/docs/BuildControllerApi.md +493 -0
- data/docs/ClusterControllerApi.md +475 -0
- data/docs/ConcourseControllerApi.md +161 -0
- data/docs/CredentialsControllerApi.md +129 -0
- data/docs/EcsServerGroupEventsControllerApi.md +66 -0
- data/docs/ExecutionsControllerApi.md +133 -0
- data/docs/FirewallControllerApi.md +171 -0
- data/docs/GrantedAuthority.md +8 -0
- data/docs/HashMapstringobject.md +7 -0
- data/docs/HttpEntity.md +8 -0
- data/docs/ImageControllerApi.md +178 -0
- data/docs/InstanceControllerApi.md +122 -0
- data/docs/JobControllerApi.md +69 -0
- data/docs/LoadBalancerControllerApi.md +217 -0
- data/docs/Mapstringstring.md +7 -0
- data/docs/NetworkControllerApi.md +105 -0
- data/docs/PipelineConfigControllerApi.md +144 -0
- data/docs/PipelineControllerApi.md +1074 -0
- data/docs/PipelineTemplateDependent.md +10 -0
- data/docs/PipelineTemplatesControllerApi.md +350 -0
- data/docs/ProjectControllerApi.md +196 -0
- data/docs/PubsubSubscriptionControllerApi.md +48 -0
- data/docs/ReorderPipelinesCommand.md +9 -0
- data/docs/ReorderPipelinesControllerApi.md +54 -0
- data/docs/ResponseEntity.md +10 -0
- data/docs/SearchControllerApi.md +68 -0
- data/docs/SecurityGroupControllerApi.md +171 -0
- data/docs/ServerGroupControllerApi.md +125 -0
- data/docs/ServerGroupManagerControllerApi.md +54 -0
- data/docs/SnapshotControllerApi.md +110 -0
- data/docs/SubnetControllerApi.md +58 -0
- data/docs/TaskControllerApi.md +291 -0
- data/docs/User.md +18 -0
- data/docs/V2CanaryConfigControllerApi.md +259 -0
- data/docs/V2CanaryControllerApi.md +356 -0
- data/docs/V2PipelineTemplatesControllerApi.md +356 -0
- data/docs/Version.md +8 -0
- data/docs/VersionControllerApi.md +48 -0
- data/docs/WebhookControllerApi.md +105 -0
- data/git_push.sh +55 -0
- data/lib/swagger_client.rb +85 -0
- data/lib/swagger_client/api/amazon_infrastructure_controller_api.rb +161 -0
- data/lib/swagger_client/api/application_controller_api.rb +868 -0
- data/lib/swagger_client/api/artifact_controller_api.rb +141 -0
- data/lib/swagger_client/api/auth_controller_api.rb +258 -0
- data/lib/swagger_client/api/bake_controller_api.rb +179 -0
- data/lib/swagger_client/api/build_controller_api.rb +588 -0
- data/lib/swagger_client/api/cluster_controller_api.rb +591 -0
- data/lib/swagger_client/api/concourse_controller_api.rb +209 -0
- data/lib/swagger_client/api/credentials_controller_api.rb +163 -0
- data/lib/swagger_client/api/ecs_server_group_events_controller_api.rb +101 -0
- data/lib/swagger_client/api/executions_controller_api.rb +169 -0
- data/lib/swagger_client/api/firewall_controller_api.rb +209 -0
- data/lib/swagger_client/api/image_controller_api.rb +222 -0
- data/lib/swagger_client/api/instance_controller_api.rb +160 -0
- data/lib/swagger_client/api/job_controller_api.rb +99 -0
- data/lib/swagger_client/api/load_balancer_controller_api.rb +258 -0
- data/lib/swagger_client/api/network_controller_api.rb +127 -0
- data/lib/swagger_client/api/pipeline_config_controller_api.rb +176 -0
- data/lib/swagger_client/api/pipeline_controller_api.rb +1268 -0
- data/lib/swagger_client/api/pipeline_templates_controller_api.rb +404 -0
- data/lib/swagger_client/api/project_controller_api.rb +234 -0
- data/lib/swagger_client/api/pubsub_subscription_controller_api.rb +69 -0
- data/lib/swagger_client/api/reorder_pipelines_controller_api.rb +75 -0
- data/lib/swagger_client/api/search_controller_api.rb +94 -0
- data/lib/swagger_client/api/security_group_controller_api.rb +209 -0
- data/lib/swagger_client/api/server_group_controller_api.rb +163 -0
- data/lib/swagger_client/api/server_group_manager_controller_api.rb +75 -0
- data/lib/swagger_client/api/snapshot_controller_api.rb +142 -0
- data/lib/swagger_client/api/subnet_controller_api.rb +78 -0
- data/lib/swagger_client/api/task_controller_api.rb +345 -0
- data/lib/swagger_client/api/v2_canary_config_controller_api.rb +300 -0
- data/lib/swagger_client/api/v2_canary_controller_api.rb +421 -0
- data/lib/swagger_client/api/v2_pipeline_templates_controller_api.rb +412 -0
- data/lib/swagger_client/api/version_controller_api.rb +69 -0
- data/lib/swagger_client/api/webhook_controller_api.rb +135 -0
- data/lib/swagger_client/api_client.rb +388 -0
- data/lib/swagger_client/api_error.rb +38 -0
- data/lib/swagger_client/configuration.rb +202 -0
- data/lib/swagger_client/models/account.rb +241 -0
- data/lib/swagger_client/models/account_details.rb +286 -0
- data/lib/swagger_client/models/granted_authority.rb +183 -0
- data/lib/swagger_client/models/hash_mapstringobject.rb +174 -0
- data/lib/swagger_client/models/http_entity.rb +183 -0
- data/lib/swagger_client/models/mapstringstring.rb +174 -0
- data/lib/swagger_client/models/pipeline_template_dependent.rb +201 -0
- data/lib/swagger_client/models/reorder_pipelines_command.rb +194 -0
- data/lib/swagger_client/models/response_entity.rb +235 -0
- data/lib/swagger_client/models/user.rb +279 -0
- data/lib/swagger_client/models/version.rb +183 -0
- data/lib/swagger_client/version.rb +15 -0
- data/spec/api/amazon_infrastructure_controller_api_spec.rb +65 -0
- data/spec/api/application_controller_api_spec.rb +218 -0
- data/spec/api/artifact_controller_api_spec.rb +60 -0
- data/spec/api/auth_controller_api_spec.rb +86 -0
- data/spec/api/bake_controller_api_spec.rb +68 -0
- data/spec/api/build_controller_api_spec.rb +155 -0
- data/spec/api/cluster_controller_api_spec.rb +155 -0
- data/spec/api/concourse_controller_api_spec.rb +73 -0
- data/spec/api/credentials_controller_api_spec.rb +70 -0
- data/spec/api/ecs_server_group_events_controller_api_spec.rb +50 -0
- data/spec/api/executions_controller_api_spec.rb +72 -0
- data/spec/api/firewall_controller_api_spec.rb +77 -0
- data/spec/api/image_controller_api_spec.rb +80 -0
- data/spec/api/instance_controller_api_spec.rb +64 -0
- data/spec/api/job_controller_api_spec.rb +51 -0
- data/spec/api/load_balancer_controller_api_spec.rb +87 -0
- data/spec/api/network_controller_api_spec.rb +58 -0
- data/spec/api/pipeline_config_controller_api_spec.rb +68 -0
- data/spec/api/pipeline_controller_api_spec.rb +296 -0
- data/spec/api/pipeline_templates_controller_api_spec.rb +118 -0
- data/spec/api/project_controller_api_spec.rb +81 -0
- data/spec/api/pubsub_subscription_controller_api_spec.rb +45 -0
- data/spec/api/reorder_pipelines_controller_api_spec.rb +46 -0
- data/spec/api/search_controller_api_spec.rb +52 -0
- data/spec/api/security_group_controller_api_spec.rb +77 -0
- data/spec/api/server_group_controller_api_spec.rb +66 -0
- data/spec/api/server_group_manager_controller_api_spec.rb +46 -0
- data/spec/api/snapshot_controller_api_spec.rb +60 -0
- data/spec/api/subnet_controller_api_spec.rb +47 -0
- data/spec/api/task_controller_api_spec.rb +103 -0
- data/spec/api/v2_canary_config_controller_api_spec.rb +96 -0
- data/spec/api/v2_canary_controller_api_spec.rb +123 -0
- data/spec/api/v2_pipeline_templates_controller_api_spec.rb +121 -0
- data/spec/api/version_controller_api_spec.rb +45 -0
- data/spec/api/webhook_controller_api_spec.rb +60 -0
- data/spec/api_client_spec.rb +226 -0
- data/spec/configuration_spec.rb +42 -0
- data/spec/models/account_details_spec.rb +107 -0
- data/spec/models/account_spec.rb +77 -0
- data/spec/models/granted_authority_spec.rb +41 -0
- data/spec/models/hash_mapstringobject_spec.rb +35 -0
- data/spec/models/http_entity_spec.rb +41 -0
- data/spec/models/mapstringstring_spec.rb +35 -0
- data/spec/models/pipeline_template_dependent_spec.rb +53 -0
- data/spec/models/reorder_pipelines_command_spec.rb +47 -0
- data/spec/models/response_entity_spec.rb +57 -0
- data/spec/models/user_spec.rb +101 -0
- data/spec/models/version_spec.rb +41 -0
- data/spec/spec_helper.rb +111 -0
- data/spinnaker_gate_ruby_client-1.0.0.gem +0 -0
- data/spinnaker_gate_ruby_client.gemspec +45 -0
- metadata +427 -0
data/docs/User.md
ADDED
@@ -0,0 +1,18 @@
|
|
1
|
+
# SwaggerClient::User
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**account_non_expired** | **BOOLEAN** | | [optional]
|
7
|
+
**account_non_locked** | **BOOLEAN** | | [optional]
|
8
|
+
**allowed_accounts** | **Array<String>** | | [optional]
|
9
|
+
**authorities** | [**Array<GrantedAuthority>**](GrantedAuthority.md) | | [optional]
|
10
|
+
**credentials_non_expired** | **BOOLEAN** | | [optional]
|
11
|
+
**email** | **String** | | [optional]
|
12
|
+
**enabled** | **BOOLEAN** | | [optional]
|
13
|
+
**first_name** | **String** | | [optional]
|
14
|
+
**last_name** | **String** | | [optional]
|
15
|
+
**roles** | **Array<String>** | | [optional]
|
16
|
+
**username** | **String** | | [optional]
|
17
|
+
|
18
|
+
|
@@ -0,0 +1,259 @@
|
|
1
|
+
# SwaggerClient::V2CanaryConfigControllerApi
|
2
|
+
|
3
|
+
All URIs are relative to *https://gate-spinnaker.devint.gcp.openx.org*
|
4
|
+
|
5
|
+
Method | HTTP request | Description
|
6
|
+
------------- | ------------- | -------------
|
7
|
+
[**create_canary_config_using_post**](V2CanaryConfigControllerApi.md#create_canary_config_using_post) | **POST** /v2/canaryConfig | Create a canary configuration
|
8
|
+
[**delete_canary_config_using_delete**](V2CanaryConfigControllerApi.md#delete_canary_config_using_delete) | **DELETE** /v2/canaryConfig/{id} | Delete a canary configuration
|
9
|
+
[**get_canary_config_using_get**](V2CanaryConfigControllerApi.md#get_canary_config_using_get) | **GET** /v2/canaryConfig/{id} | Retrieve a canary configuration by id
|
10
|
+
[**get_canary_configs_using_get**](V2CanaryConfigControllerApi.md#get_canary_configs_using_get) | **GET** /v2/canaryConfig | Retrieve a list of canary configurations
|
11
|
+
[**update_canary_config_using_put**](V2CanaryConfigControllerApi.md#update_canary_config_using_put) | **PUT** /v2/canaryConfig/{id} | Update a canary configuration
|
12
|
+
|
13
|
+
|
14
|
+
# **create_canary_config_using_post**
|
15
|
+
> Object create_canary_config_using_post(config, opts)
|
16
|
+
|
17
|
+
Create a canary configuration
|
18
|
+
|
19
|
+
### Example
|
20
|
+
```ruby
|
21
|
+
# load the gem
|
22
|
+
require 'swagger_client'
|
23
|
+
|
24
|
+
api_instance = SwaggerClient::V2CanaryConfigControllerApi.new
|
25
|
+
|
26
|
+
config = nil # Object | config
|
27
|
+
|
28
|
+
opts = {
|
29
|
+
configuration_account_name: 'configuration_account_name_example' # String | configurationAccountName
|
30
|
+
}
|
31
|
+
|
32
|
+
begin
|
33
|
+
#Create a canary configuration
|
34
|
+
result = api_instance.create_canary_config_using_post(config, opts)
|
35
|
+
p result
|
36
|
+
rescue SwaggerClient::ApiError => e
|
37
|
+
puts "Exception when calling V2CanaryConfigControllerApi->create_canary_config_using_post: #{e}"
|
38
|
+
end
|
39
|
+
```
|
40
|
+
|
41
|
+
### Parameters
|
42
|
+
|
43
|
+
Name | Type | Description | Notes
|
44
|
+
------------- | ------------- | ------------- | -------------
|
45
|
+
**config** | **Object**| config |
|
46
|
+
**configuration_account_name** | **String**| configurationAccountName | [optional]
|
47
|
+
|
48
|
+
### Return type
|
49
|
+
|
50
|
+
**Object**
|
51
|
+
|
52
|
+
### Authorization
|
53
|
+
|
54
|
+
No authorization required
|
55
|
+
|
56
|
+
### HTTP request headers
|
57
|
+
|
58
|
+
- **Content-Type**: application/json
|
59
|
+
- **Accept**: */*
|
60
|
+
|
61
|
+
|
62
|
+
|
63
|
+
# **delete_canary_config_using_delete**
|
64
|
+
> delete_canary_config_using_delete(id, opts)
|
65
|
+
|
66
|
+
Delete a canary configuration
|
67
|
+
|
68
|
+
### Example
|
69
|
+
```ruby
|
70
|
+
# load the gem
|
71
|
+
require 'swagger_client'
|
72
|
+
|
73
|
+
api_instance = SwaggerClient::V2CanaryConfigControllerApi.new
|
74
|
+
|
75
|
+
id = 'id_example' # String | id
|
76
|
+
|
77
|
+
opts = {
|
78
|
+
configuration_account_name: 'configuration_account_name_example' # String | configurationAccountName
|
79
|
+
}
|
80
|
+
|
81
|
+
begin
|
82
|
+
#Delete a canary configuration
|
83
|
+
api_instance.delete_canary_config_using_delete(id, opts)
|
84
|
+
rescue SwaggerClient::ApiError => e
|
85
|
+
puts "Exception when calling V2CanaryConfigControllerApi->delete_canary_config_using_delete: #{e}"
|
86
|
+
end
|
87
|
+
```
|
88
|
+
|
89
|
+
### Parameters
|
90
|
+
|
91
|
+
Name | Type | Description | Notes
|
92
|
+
------------- | ------------- | ------------- | -------------
|
93
|
+
**id** | **String**| id |
|
94
|
+
**configuration_account_name** | **String**| configurationAccountName | [optional]
|
95
|
+
|
96
|
+
### Return type
|
97
|
+
|
98
|
+
nil (empty response body)
|
99
|
+
|
100
|
+
### Authorization
|
101
|
+
|
102
|
+
No authorization required
|
103
|
+
|
104
|
+
### HTTP request headers
|
105
|
+
|
106
|
+
- **Content-Type**: application/json
|
107
|
+
- **Accept**: */*
|
108
|
+
|
109
|
+
|
110
|
+
|
111
|
+
# **get_canary_config_using_get**
|
112
|
+
> Object get_canary_config_using_get(id, opts)
|
113
|
+
|
114
|
+
Retrieve a canary configuration by id
|
115
|
+
|
116
|
+
### Example
|
117
|
+
```ruby
|
118
|
+
# load the gem
|
119
|
+
require 'swagger_client'
|
120
|
+
|
121
|
+
api_instance = SwaggerClient::V2CanaryConfigControllerApi.new
|
122
|
+
|
123
|
+
id = 'id_example' # String | id
|
124
|
+
|
125
|
+
opts = {
|
126
|
+
configuration_account_name: 'configuration_account_name_example' # String | configurationAccountName
|
127
|
+
}
|
128
|
+
|
129
|
+
begin
|
130
|
+
#Retrieve a canary configuration by id
|
131
|
+
result = api_instance.get_canary_config_using_get(id, opts)
|
132
|
+
p result
|
133
|
+
rescue SwaggerClient::ApiError => e
|
134
|
+
puts "Exception when calling V2CanaryConfigControllerApi->get_canary_config_using_get: #{e}"
|
135
|
+
end
|
136
|
+
```
|
137
|
+
|
138
|
+
### Parameters
|
139
|
+
|
140
|
+
Name | Type | Description | Notes
|
141
|
+
------------- | ------------- | ------------- | -------------
|
142
|
+
**id** | **String**| id |
|
143
|
+
**configuration_account_name** | **String**| configurationAccountName | [optional]
|
144
|
+
|
145
|
+
### Return type
|
146
|
+
|
147
|
+
**Object**
|
148
|
+
|
149
|
+
### Authorization
|
150
|
+
|
151
|
+
No authorization required
|
152
|
+
|
153
|
+
### HTTP request headers
|
154
|
+
|
155
|
+
- **Content-Type**: application/json
|
156
|
+
- **Accept**: */*
|
157
|
+
|
158
|
+
|
159
|
+
|
160
|
+
# **get_canary_configs_using_get**
|
161
|
+
> Array<Object> get_canary_configs_using_get(opts)
|
162
|
+
|
163
|
+
Retrieve a list of canary configurations
|
164
|
+
|
165
|
+
### Example
|
166
|
+
```ruby
|
167
|
+
# load the gem
|
168
|
+
require 'swagger_client'
|
169
|
+
|
170
|
+
api_instance = SwaggerClient::V2CanaryConfigControllerApi.new
|
171
|
+
|
172
|
+
opts = {
|
173
|
+
application: 'application_example', # String | application
|
174
|
+
configuration_account_name: 'configuration_account_name_example' # String | configurationAccountName
|
175
|
+
}
|
176
|
+
|
177
|
+
begin
|
178
|
+
#Retrieve a list of canary configurations
|
179
|
+
result = api_instance.get_canary_configs_using_get(opts)
|
180
|
+
p result
|
181
|
+
rescue SwaggerClient::ApiError => e
|
182
|
+
puts "Exception when calling V2CanaryConfigControllerApi->get_canary_configs_using_get: #{e}"
|
183
|
+
end
|
184
|
+
```
|
185
|
+
|
186
|
+
### Parameters
|
187
|
+
|
188
|
+
Name | Type | Description | Notes
|
189
|
+
------------- | ------------- | ------------- | -------------
|
190
|
+
**application** | **String**| application | [optional]
|
191
|
+
**configuration_account_name** | **String**| configurationAccountName | [optional]
|
192
|
+
|
193
|
+
### Return type
|
194
|
+
|
195
|
+
**Array<Object>**
|
196
|
+
|
197
|
+
### Authorization
|
198
|
+
|
199
|
+
No authorization required
|
200
|
+
|
201
|
+
### HTTP request headers
|
202
|
+
|
203
|
+
- **Content-Type**: application/json
|
204
|
+
- **Accept**: */*
|
205
|
+
|
206
|
+
|
207
|
+
|
208
|
+
# **update_canary_config_using_put**
|
209
|
+
> Object update_canary_config_using_put(id, config, opts)
|
210
|
+
|
211
|
+
Update a canary configuration
|
212
|
+
|
213
|
+
### Example
|
214
|
+
```ruby
|
215
|
+
# load the gem
|
216
|
+
require 'swagger_client'
|
217
|
+
|
218
|
+
api_instance = SwaggerClient::V2CanaryConfigControllerApi.new
|
219
|
+
|
220
|
+
id = 'id_example' # String | id
|
221
|
+
|
222
|
+
config = nil # Object | config
|
223
|
+
|
224
|
+
opts = {
|
225
|
+
configuration_account_name: 'configuration_account_name_example' # String | configurationAccountName
|
226
|
+
}
|
227
|
+
|
228
|
+
begin
|
229
|
+
#Update a canary configuration
|
230
|
+
result = api_instance.update_canary_config_using_put(id, config, opts)
|
231
|
+
p result
|
232
|
+
rescue SwaggerClient::ApiError => e
|
233
|
+
puts "Exception when calling V2CanaryConfigControllerApi->update_canary_config_using_put: #{e}"
|
234
|
+
end
|
235
|
+
```
|
236
|
+
|
237
|
+
### Parameters
|
238
|
+
|
239
|
+
Name | Type | Description | Notes
|
240
|
+
------------- | ------------- | ------------- | -------------
|
241
|
+
**id** | **String**| id |
|
242
|
+
**config** | **Object**| config |
|
243
|
+
**configuration_account_name** | **String**| configurationAccountName | [optional]
|
244
|
+
|
245
|
+
### Return type
|
246
|
+
|
247
|
+
**Object**
|
248
|
+
|
249
|
+
### Authorization
|
250
|
+
|
251
|
+
No authorization required
|
252
|
+
|
253
|
+
### HTTP request headers
|
254
|
+
|
255
|
+
- **Content-Type**: application/json
|
256
|
+
- **Accept**: */*
|
257
|
+
|
258
|
+
|
259
|
+
|
@@ -0,0 +1,356 @@
|
|
1
|
+
# SwaggerClient::V2CanaryControllerApi
|
2
|
+
|
3
|
+
All URIs are relative to *https://gate-spinnaker.devint.gcp.openx.org*
|
4
|
+
|
5
|
+
Method | HTTP request | Description
|
6
|
+
------------- | ------------- | -------------
|
7
|
+
[**get_canary_result_using_get**](V2CanaryControllerApi.md#get_canary_result_using_get) | **GET** /v2/canaries/canary/{canaryConfigId}/{canaryExecutionId} | Retrieve a canary result
|
8
|
+
[**get_canary_results_by_application_using_get**](V2CanaryControllerApi.md#get_canary_results_by_application_using_get) | **GET** /v2/canaries/{application}/executions | Retrieve a list of an application's canary results
|
9
|
+
[**get_metric_set_pair_list_using_get**](V2CanaryControllerApi.md#get_metric_set_pair_list_using_get) | **GET** /v2/canaries/metricSetPairList/{metricSetPairListId} | Retrieve a metric set pair list
|
10
|
+
[**initiate_canary_using_post**](V2CanaryControllerApi.md#initiate_canary_using_post) | **POST** /v2/canaries/canary/{canaryConfigId} | Start a canary execution
|
11
|
+
[**list_credentials_using_get**](V2CanaryControllerApi.md#list_credentials_using_get) | **GET** /v2/canaries/credentials | Retrieve a list of configured Kayenta accounts
|
12
|
+
[**list_judges_using_get**](V2CanaryControllerApi.md#list_judges_using_get) | **GET** /v2/canaries/judges | Retrieve a list of all configured canary judges
|
13
|
+
[**list_metrics_service_metadata_using_get**](V2CanaryControllerApi.md#list_metrics_service_metadata_using_get) | **GET** /v2/canaries/metadata/metricsService | Retrieve a list of descriptors for use in populating the canary config ui
|
14
|
+
|
15
|
+
|
16
|
+
# **get_canary_result_using_get**
|
17
|
+
> Object get_canary_result_using_get(canary_config_id, canary_execution_id, opts)
|
18
|
+
|
19
|
+
Retrieve a canary result
|
20
|
+
|
21
|
+
### Example
|
22
|
+
```ruby
|
23
|
+
# load the gem
|
24
|
+
require 'swagger_client'
|
25
|
+
|
26
|
+
api_instance = SwaggerClient::V2CanaryControllerApi.new
|
27
|
+
|
28
|
+
canary_config_id = 'canary_config_id_example' # String | canaryConfigId
|
29
|
+
|
30
|
+
canary_execution_id = 'canary_execution_id_example' # String | canaryExecutionId
|
31
|
+
|
32
|
+
opts = {
|
33
|
+
storage_account_name: 'storage_account_name_example' # String | storageAccountName
|
34
|
+
}
|
35
|
+
|
36
|
+
begin
|
37
|
+
#Retrieve a canary result
|
38
|
+
result = api_instance.get_canary_result_using_get(canary_config_id, canary_execution_id, opts)
|
39
|
+
p result
|
40
|
+
rescue SwaggerClient::ApiError => e
|
41
|
+
puts "Exception when calling V2CanaryControllerApi->get_canary_result_using_get: #{e}"
|
42
|
+
end
|
43
|
+
```
|
44
|
+
|
45
|
+
### Parameters
|
46
|
+
|
47
|
+
Name | Type | Description | Notes
|
48
|
+
------------- | ------------- | ------------- | -------------
|
49
|
+
**canary_config_id** | **String**| canaryConfigId |
|
50
|
+
**canary_execution_id** | **String**| canaryExecutionId |
|
51
|
+
**storage_account_name** | **String**| storageAccountName | [optional]
|
52
|
+
|
53
|
+
### Return type
|
54
|
+
|
55
|
+
**Object**
|
56
|
+
|
57
|
+
### Authorization
|
58
|
+
|
59
|
+
No authorization required
|
60
|
+
|
61
|
+
### HTTP request headers
|
62
|
+
|
63
|
+
- **Content-Type**: application/json
|
64
|
+
- **Accept**: */*
|
65
|
+
|
66
|
+
|
67
|
+
|
68
|
+
# **get_canary_results_by_application_using_get**
|
69
|
+
> Array<Object> get_canary_results_by_application_using_get(application, limit, opts)
|
70
|
+
|
71
|
+
Retrieve a list of an application's canary results
|
72
|
+
|
73
|
+
### Example
|
74
|
+
```ruby
|
75
|
+
# load the gem
|
76
|
+
require 'swagger_client'
|
77
|
+
|
78
|
+
api_instance = SwaggerClient::V2CanaryControllerApi.new
|
79
|
+
|
80
|
+
application = 'application_example' # String | application
|
81
|
+
|
82
|
+
limit = 56 # Integer | limit
|
83
|
+
|
84
|
+
opts = {
|
85
|
+
statuses: 'statuses_example', # String | Comma-separated list of statuses, e.g.: RUNNING, SUCCEEDED, TERMINAL
|
86
|
+
storage_account_name: 'storage_account_name_example' # String | storageAccountName
|
87
|
+
}
|
88
|
+
|
89
|
+
begin
|
90
|
+
#Retrieve a list of an application's canary results
|
91
|
+
result = api_instance.get_canary_results_by_application_using_get(application, limit, opts)
|
92
|
+
p result
|
93
|
+
rescue SwaggerClient::ApiError => e
|
94
|
+
puts "Exception when calling V2CanaryControllerApi->get_canary_results_by_application_using_get: #{e}"
|
95
|
+
end
|
96
|
+
```
|
97
|
+
|
98
|
+
### Parameters
|
99
|
+
|
100
|
+
Name | Type | Description | Notes
|
101
|
+
------------- | ------------- | ------------- | -------------
|
102
|
+
**application** | **String**| application |
|
103
|
+
**limit** | **Integer**| limit |
|
104
|
+
**statuses** | **String**| Comma-separated list of statuses, e.g.: RUNNING, SUCCEEDED, TERMINAL | [optional]
|
105
|
+
**storage_account_name** | **String**| storageAccountName | [optional]
|
106
|
+
|
107
|
+
### Return type
|
108
|
+
|
109
|
+
**Array<Object>**
|
110
|
+
|
111
|
+
### Authorization
|
112
|
+
|
113
|
+
No authorization required
|
114
|
+
|
115
|
+
### HTTP request headers
|
116
|
+
|
117
|
+
- **Content-Type**: application/json
|
118
|
+
- **Accept**: */*
|
119
|
+
|
120
|
+
|
121
|
+
|
122
|
+
# **get_metric_set_pair_list_using_get**
|
123
|
+
> Array<Object> get_metric_set_pair_list_using_get(metric_set_pair_list_id, opts)
|
124
|
+
|
125
|
+
Retrieve a metric set pair list
|
126
|
+
|
127
|
+
### Example
|
128
|
+
```ruby
|
129
|
+
# load the gem
|
130
|
+
require 'swagger_client'
|
131
|
+
|
132
|
+
api_instance = SwaggerClient::V2CanaryControllerApi.new
|
133
|
+
|
134
|
+
metric_set_pair_list_id = 'metric_set_pair_list_id_example' # String | metricSetPairListId
|
135
|
+
|
136
|
+
opts = {
|
137
|
+
storage_account_name: 'storage_account_name_example' # String | storageAccountName
|
138
|
+
}
|
139
|
+
|
140
|
+
begin
|
141
|
+
#Retrieve a metric set pair list
|
142
|
+
result = api_instance.get_metric_set_pair_list_using_get(metric_set_pair_list_id, opts)
|
143
|
+
p result
|
144
|
+
rescue SwaggerClient::ApiError => e
|
145
|
+
puts "Exception when calling V2CanaryControllerApi->get_metric_set_pair_list_using_get: #{e}"
|
146
|
+
end
|
147
|
+
```
|
148
|
+
|
149
|
+
### Parameters
|
150
|
+
|
151
|
+
Name | Type | Description | Notes
|
152
|
+
------------- | ------------- | ------------- | -------------
|
153
|
+
**metric_set_pair_list_id** | **String**| metricSetPairListId |
|
154
|
+
**storage_account_name** | **String**| storageAccountName | [optional]
|
155
|
+
|
156
|
+
### Return type
|
157
|
+
|
158
|
+
**Array<Object>**
|
159
|
+
|
160
|
+
### Authorization
|
161
|
+
|
162
|
+
No authorization required
|
163
|
+
|
164
|
+
### HTTP request headers
|
165
|
+
|
166
|
+
- **Content-Type**: application/json
|
167
|
+
- **Accept**: */*
|
168
|
+
|
169
|
+
|
170
|
+
|
171
|
+
# **initiate_canary_using_post**
|
172
|
+
> Object initiate_canary_using_post(canary_config_id, execution_request, opts)
|
173
|
+
|
174
|
+
Start a canary execution
|
175
|
+
|
176
|
+
### Example
|
177
|
+
```ruby
|
178
|
+
# load the gem
|
179
|
+
require 'swagger_client'
|
180
|
+
|
181
|
+
api_instance = SwaggerClient::V2CanaryControllerApi.new
|
182
|
+
|
183
|
+
canary_config_id = 'canary_config_id_example' # String | canaryConfigId
|
184
|
+
|
185
|
+
execution_request = nil # Object | executionRequest
|
186
|
+
|
187
|
+
opts = {
|
188
|
+
application: 'application_example', # String | application
|
189
|
+
parent_pipeline_execution_id: 'parent_pipeline_execution_id_example', # String | parentPipelineExecutionId
|
190
|
+
metrics_account_name: 'metrics_account_name_example', # String | metricsAccountName
|
191
|
+
storage_account_name: 'storage_account_name_example', # String | storageAccountName
|
192
|
+
configuration_account_name: 'configuration_account_name_example' # String | configurationAccountName
|
193
|
+
}
|
194
|
+
|
195
|
+
begin
|
196
|
+
#Start a canary execution
|
197
|
+
result = api_instance.initiate_canary_using_post(canary_config_id, execution_request, opts)
|
198
|
+
p result
|
199
|
+
rescue SwaggerClient::ApiError => e
|
200
|
+
puts "Exception when calling V2CanaryControllerApi->initiate_canary_using_post: #{e}"
|
201
|
+
end
|
202
|
+
```
|
203
|
+
|
204
|
+
### Parameters
|
205
|
+
|
206
|
+
Name | Type | Description | Notes
|
207
|
+
------------- | ------------- | ------------- | -------------
|
208
|
+
**canary_config_id** | **String**| canaryConfigId |
|
209
|
+
**execution_request** | **Object**| executionRequest |
|
210
|
+
**application** | **String**| application | [optional]
|
211
|
+
**parent_pipeline_execution_id** | **String**| parentPipelineExecutionId | [optional]
|
212
|
+
**metrics_account_name** | **String**| metricsAccountName | [optional]
|
213
|
+
**storage_account_name** | **String**| storageAccountName | [optional]
|
214
|
+
**configuration_account_name** | **String**| configurationAccountName | [optional]
|
215
|
+
|
216
|
+
### Return type
|
217
|
+
|
218
|
+
**Object**
|
219
|
+
|
220
|
+
### Authorization
|
221
|
+
|
222
|
+
No authorization required
|
223
|
+
|
224
|
+
### HTTP request headers
|
225
|
+
|
226
|
+
- **Content-Type**: application/json
|
227
|
+
- **Accept**: */*
|
228
|
+
|
229
|
+
|
230
|
+
|
231
|
+
# **list_credentials_using_get**
|
232
|
+
> Array<Object> list_credentials_using_get
|
233
|
+
|
234
|
+
Retrieve a list of configured Kayenta accounts
|
235
|
+
|
236
|
+
### Example
|
237
|
+
```ruby
|
238
|
+
# load the gem
|
239
|
+
require 'swagger_client'
|
240
|
+
|
241
|
+
api_instance = SwaggerClient::V2CanaryControllerApi.new
|
242
|
+
|
243
|
+
begin
|
244
|
+
#Retrieve a list of configured Kayenta accounts
|
245
|
+
result = api_instance.list_credentials_using_get
|
246
|
+
p result
|
247
|
+
rescue SwaggerClient::ApiError => e
|
248
|
+
puts "Exception when calling V2CanaryControllerApi->list_credentials_using_get: #{e}"
|
249
|
+
end
|
250
|
+
```
|
251
|
+
|
252
|
+
### Parameters
|
253
|
+
This endpoint does not need any parameter.
|
254
|
+
|
255
|
+
### Return type
|
256
|
+
|
257
|
+
**Array<Object>**
|
258
|
+
|
259
|
+
### Authorization
|
260
|
+
|
261
|
+
No authorization required
|
262
|
+
|
263
|
+
### HTTP request headers
|
264
|
+
|
265
|
+
- **Content-Type**: application/json
|
266
|
+
- **Accept**: */*
|
267
|
+
|
268
|
+
|
269
|
+
|
270
|
+
# **list_judges_using_get**
|
271
|
+
> Array<Object> list_judges_using_get
|
272
|
+
|
273
|
+
Retrieve a list of all configured canary judges
|
274
|
+
|
275
|
+
### Example
|
276
|
+
```ruby
|
277
|
+
# load the gem
|
278
|
+
require 'swagger_client'
|
279
|
+
|
280
|
+
api_instance = SwaggerClient::V2CanaryControllerApi.new
|
281
|
+
|
282
|
+
begin
|
283
|
+
#Retrieve a list of all configured canary judges
|
284
|
+
result = api_instance.list_judges_using_get
|
285
|
+
p result
|
286
|
+
rescue SwaggerClient::ApiError => e
|
287
|
+
puts "Exception when calling V2CanaryControllerApi->list_judges_using_get: #{e}"
|
288
|
+
end
|
289
|
+
```
|
290
|
+
|
291
|
+
### Parameters
|
292
|
+
This endpoint does not need any parameter.
|
293
|
+
|
294
|
+
### Return type
|
295
|
+
|
296
|
+
**Array<Object>**
|
297
|
+
|
298
|
+
### Authorization
|
299
|
+
|
300
|
+
No authorization required
|
301
|
+
|
302
|
+
### HTTP request headers
|
303
|
+
|
304
|
+
- **Content-Type**: application/json
|
305
|
+
- **Accept**: */*
|
306
|
+
|
307
|
+
|
308
|
+
|
309
|
+
# **list_metrics_service_metadata_using_get**
|
310
|
+
> Array<Object> list_metrics_service_metadata_using_get(opts)
|
311
|
+
|
312
|
+
Retrieve a list of descriptors for use in populating the canary config ui
|
313
|
+
|
314
|
+
### Example
|
315
|
+
```ruby
|
316
|
+
# load the gem
|
317
|
+
require 'swagger_client'
|
318
|
+
|
319
|
+
api_instance = SwaggerClient::V2CanaryControllerApi.new
|
320
|
+
|
321
|
+
opts = {
|
322
|
+
filter: 'filter_example', # String | filter
|
323
|
+
metrics_account_name: 'metrics_account_name_example' # String | metricsAccountName
|
324
|
+
}
|
325
|
+
|
326
|
+
begin
|
327
|
+
#Retrieve a list of descriptors for use in populating the canary config ui
|
328
|
+
result = api_instance.list_metrics_service_metadata_using_get(opts)
|
329
|
+
p result
|
330
|
+
rescue SwaggerClient::ApiError => e
|
331
|
+
puts "Exception when calling V2CanaryControllerApi->list_metrics_service_metadata_using_get: #{e}"
|
332
|
+
end
|
333
|
+
```
|
334
|
+
|
335
|
+
### Parameters
|
336
|
+
|
337
|
+
Name | Type | Description | Notes
|
338
|
+
------------- | ------------- | ------------- | -------------
|
339
|
+
**filter** | **String**| filter | [optional]
|
340
|
+
**metrics_account_name** | **String**| metricsAccountName | [optional]
|
341
|
+
|
342
|
+
### Return type
|
343
|
+
|
344
|
+
**Array<Object>**
|
345
|
+
|
346
|
+
### Authorization
|
347
|
+
|
348
|
+
No authorization required
|
349
|
+
|
350
|
+
### HTTP request headers
|
351
|
+
|
352
|
+
- **Content-Type**: application/json
|
353
|
+
- **Accept**: */*
|
354
|
+
|
355
|
+
|
356
|
+
|