azure_mgmt_network 0.11.0 → 0.12.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (78) hide show
  1. checksums.yaml +4 -4
  2. data/lib/generated/azure_mgmt_network.rb +91 -67
  3. data/lib/generated/azure_mgmt_network/application_gateways.rb +12 -12
  4. data/lib/generated/azure_mgmt_network/{available_private_access_services.rb → available_endpoint_services.rb} +21 -25
  5. data/lib/generated/azure_mgmt_network/bgp_service_communities.rb +1 -1
  6. data/lib/generated/azure_mgmt_network/default_security_rules.rb +330 -0
  7. data/lib/generated/azure_mgmt_network/express_route_circuit_authorizations.rb +4 -4
  8. data/lib/generated/azure_mgmt_network/express_route_circuit_peerings.rb +4 -4
  9. data/lib/generated/azure_mgmt_network/express_route_circuits.rb +10 -10
  10. data/lib/generated/azure_mgmt_network/express_route_service_providers.rb +1 -1
  11. data/lib/generated/azure_mgmt_network/inbound_nat_rules.rb +616 -0
  12. data/lib/generated/azure_mgmt_network/load_balancer_backend_address_pools.rb +323 -0
  13. data/lib/generated/azure_mgmt_network/load_balancer_frontend_ipconfigurations.rb +323 -0
  14. data/lib/generated/azure_mgmt_network/load_balancer_load_balancing_rules.rb +320 -0
  15. data/lib/generated/azure_mgmt_network/load_balancer_network_interfaces.rb +225 -0
  16. data/lib/generated/azure_mgmt_network/load_balancer_probes.rb +320 -0
  17. data/lib/generated/azure_mgmt_network/load_balancers.rb +5 -5
  18. data/lib/generated/azure_mgmt_network/local_network_gateways.rb +4 -4
  19. data/lib/generated/azure_mgmt_network/models/effective_network_security_group.rb +2 -1
  20. data/lib/generated/azure_mgmt_network/models/effective_network_security_group_list_result.rb +1 -0
  21. data/lib/generated/azure_mgmt_network/models/effective_network_security_rule.rb +3 -3
  22. data/lib/generated/azure_mgmt_network/models/effective_route_list_result.rb +1 -0
  23. data/lib/generated/azure_mgmt_network/models/effective_security_rule_protocol.rb +17 -0
  24. data/lib/generated/azure_mgmt_network/models/{private_access_service_result.rb → endpoint_service_result.rb} +7 -7
  25. data/lib/generated/azure_mgmt_network/models/{private_access_services_list_result.rb → endpoint_services_list_result.rb} +11 -11
  26. data/lib/generated/azure_mgmt_network/models/inbound_nat_rule.rb +1 -1
  27. data/lib/generated/azure_mgmt_network/models/inbound_nat_rule_list_result.rb +96 -0
  28. data/lib/generated/azure_mgmt_network/models/ipconfiguration.rb +1 -1
  29. data/lib/generated/azure_mgmt_network/models/load_balancer.rb +11 -0
  30. data/lib/generated/azure_mgmt_network/models/load_balancer_backend_address_pool_list_result.rb +97 -0
  31. data/lib/generated/azure_mgmt_network/models/load_balancer_frontend_ipconfiguration_list_result.rb +98 -0
  32. data/lib/generated/azure_mgmt_network/models/load_balancer_list_result.rb +1 -0
  33. data/lib/generated/azure_mgmt_network/models/load_balancer_load_balancing_rule_list_result.rb +97 -0
  34. data/lib/generated/azure_mgmt_network/models/load_balancer_probe_list_result.rb +95 -0
  35. data/lib/generated/azure_mgmt_network/models/load_balancer_sku.rb +46 -0
  36. data/lib/generated/azure_mgmt_network/models/load_balancer_sku_name.rb +16 -0
  37. data/lib/generated/azure_mgmt_network/models/load_balancing_rule.rb +13 -1
  38. data/lib/generated/azure_mgmt_network/models/local_network_gateway_list_result.rb +1 -0
  39. data/lib/generated/azure_mgmt_network/models/network_interface_ipconfiguration.rb +7 -4
  40. data/lib/generated/azure_mgmt_network/models/network_interface_ipconfiguration_list_result.rb +98 -0
  41. data/lib/generated/azure_mgmt_network/models/network_interface_list_result.rb +1 -0
  42. data/lib/generated/azure_mgmt_network/models/network_interface_load_balancer_list_result.rb +96 -0
  43. data/lib/generated/azure_mgmt_network/models/public_ipaddress.rb +15 -2
  44. data/lib/generated/azure_mgmt_network/models/public_ipaddress_sku.rb +46 -0
  45. data/lib/generated/azure_mgmt_network/models/public_ipaddress_sku_name.rb +16 -0
  46. data/lib/generated/azure_mgmt_network/models/security_rule.rb +35 -1
  47. data/lib/generated/azure_mgmt_network/models/{private_access_service_properties_format.rb → service_endpoint_properties_format.rb} +6 -6
  48. data/lib/generated/azure_mgmt_network/models/subnet.rb +7 -7
  49. data/lib/generated/azure_mgmt_network/models/usage.rb +11 -0
  50. data/lib/generated/azure_mgmt_network/models/virtual_network_connection_gateway_reference.rb +46 -0
  51. data/lib/generated/azure_mgmt_network/models/virtual_network_gateway.rb +0 -22
  52. data/lib/generated/azure_mgmt_network/models/virtual_network_gateway_connection.rb +6 -3
  53. data/lib/generated/azure_mgmt_network/models/virtual_network_gateway_connection_list_entity.rb +300 -0
  54. data/lib/generated/azure_mgmt_network/models/virtual_network_gateway_connection_list_result.rb +1 -0
  55. data/lib/generated/azure_mgmt_network/models/virtual_network_gateway_list_connections_result.rb +100 -0
  56. data/lib/generated/azure_mgmt_network/models/virtual_network_gateway_list_result.rb +1 -0
  57. data/lib/generated/azure_mgmt_network/models/vpn_client_configuration.rb +22 -0
  58. data/lib/generated/azure_mgmt_network/network_interface_ipconfigurations.rb +320 -0
  59. data/lib/generated/azure_mgmt_network/network_interface_load_balancers.rb +225 -0
  60. data/lib/generated/azure_mgmt_network/network_interfaces.rb +7 -7
  61. data/lib/generated/azure_mgmt_network/network_management_client.rb +55 -12
  62. data/lib/generated/azure_mgmt_network/network_security_groups.rb +5 -5
  63. data/lib/generated/azure_mgmt_network/network_watchers.rb +14 -14
  64. data/lib/generated/azure_mgmt_network/packet_captures.rb +6 -6
  65. data/lib/generated/azure_mgmt_network/public_ipaddresses.rb +5 -5
  66. data/lib/generated/azure_mgmt_network/route_filter_rules.rb +5 -5
  67. data/lib/generated/azure_mgmt_network/route_filters.rb +6 -6
  68. data/lib/generated/azure_mgmt_network/route_tables.rb +5 -5
  69. data/lib/generated/azure_mgmt_network/routes.rb +4 -4
  70. data/lib/generated/azure_mgmt_network/security_rules.rb +4 -4
  71. data/lib/generated/azure_mgmt_network/subnets.rb +4 -4
  72. data/lib/generated/azure_mgmt_network/usages.rb +8 -8
  73. data/lib/generated/azure_mgmt_network/version.rb +1 -1
  74. data/lib/generated/azure_mgmt_network/virtual_network_gateway_connections.rb +7 -7
  75. data/lib/generated/azure_mgmt_network/virtual_network_gateways.rb +373 -11
  76. data/lib/generated/azure_mgmt_network/virtual_network_peerings.rb +4 -4
  77. data/lib/generated/azure_mgmt_network/virtual_networks.rb +7 -7
  78. metadata +32 -8
@@ -55,7 +55,7 @@ module Azure::ARM::Network
55
55
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
56
56
  #
57
57
  def list_async(custom_headers = nil)
58
- api_version = '2017-06-01'
58
+ api_version = '2017-08-01'
59
59
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
60
60
 
61
61
 
@@ -0,0 +1,330 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::ARM::Network
7
+ #
8
+ # Network Client
9
+ #
10
+ class DefaultSecurityRules
11
+ include MsRestAzure
12
+
13
+ #
14
+ # Creates and initializes a new instance of the DefaultSecurityRules class.
15
+ # @param client service class for accessing basic functionality.
16
+ #
17
+ def initialize(client)
18
+ @client = client
19
+ end
20
+
21
+ # @return [NetworkManagementClient] reference to the NetworkManagementClient
22
+ attr_reader :client
23
+
24
+ #
25
+ # Gets all default security rules in a network security group.
26
+ #
27
+ # @param resource_group_name [String] The name of the resource group.
28
+ # @param network_security_group_name [String] The name of the network security
29
+ # group.
30
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
31
+ # will be added to the HTTP request.
32
+ #
33
+ # @return [Array<SecurityRule>] operation results.
34
+ #
35
+ def list(resource_group_name, network_security_group_name, custom_headers = nil)
36
+ first_page = list_as_lazy(resource_group_name, network_security_group_name, custom_headers)
37
+ first_page.get_all_items
38
+ end
39
+
40
+ #
41
+ # Gets all default security rules in a network security group.
42
+ #
43
+ # @param resource_group_name [String] The name of the resource group.
44
+ # @param network_security_group_name [String] The name of the network security
45
+ # group.
46
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
47
+ # will be added to the HTTP request.
48
+ #
49
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
50
+ #
51
+ def list_with_http_info(resource_group_name, network_security_group_name, custom_headers = nil)
52
+ list_async(resource_group_name, network_security_group_name, custom_headers).value!
53
+ end
54
+
55
+ #
56
+ # Gets all default security rules in a network security group.
57
+ #
58
+ # @param resource_group_name [String] The name of the resource group.
59
+ # @param network_security_group_name [String] The name of the network security
60
+ # group.
61
+ # @param [Hash{String => String}] A hash of custom headers that will be added
62
+ # to the HTTP request.
63
+ #
64
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
65
+ #
66
+ def list_async(resource_group_name, network_security_group_name, custom_headers = nil)
67
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
68
+ fail ArgumentError, 'network_security_group_name is nil' if network_security_group_name.nil?
69
+ api_version = '2017-08-01'
70
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
71
+
72
+
73
+ request_headers = {}
74
+
75
+ # Set Headers
76
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
77
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
78
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}/defaultSecurityRules'
79
+
80
+ request_url = @base_url || @client.base_url
81
+
82
+ options = {
83
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
84
+ path_params: {'resourceGroupName' => resource_group_name,'networkSecurityGroupName' => network_security_group_name,'subscriptionId' => @client.subscription_id},
85
+ query_params: {'api-version' => api_version},
86
+ headers: request_headers.merge(custom_headers || {}),
87
+ base_url: request_url
88
+ }
89
+ promise = @client.make_request_async(:get, path_template, options)
90
+
91
+ promise = promise.then do |result|
92
+ http_response = result.response
93
+ status_code = http_response.status
94
+ response_content = http_response.body
95
+ unless status_code == 200
96
+ error_model = JSON.load(response_content)
97
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
98
+ end
99
+
100
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
101
+ # Deserialize Response
102
+ if status_code == 200
103
+ begin
104
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
105
+ result_mapper = Azure::ARM::Network::Models::SecurityRuleListResult.mapper()
106
+ result.body = @client.deserialize(result_mapper, parsed_response)
107
+ rescue Exception => e
108
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
109
+ end
110
+ end
111
+
112
+ result
113
+ end
114
+
115
+ promise.execute
116
+ end
117
+
118
+ #
119
+ # Get the specified default network security rule.
120
+ #
121
+ # @param resource_group_name [String] The name of the resource group.
122
+ # @param network_security_group_name [String] The name of the network security
123
+ # group.
124
+ # @param default_security_rule_name [String] The name of the default security
125
+ # rule.
126
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
127
+ # will be added to the HTTP request.
128
+ #
129
+ # @return [SecurityRule] operation results.
130
+ #
131
+ def get(resource_group_name, network_security_group_name, default_security_rule_name, custom_headers = nil)
132
+ response = get_async(resource_group_name, network_security_group_name, default_security_rule_name, custom_headers).value!
133
+ response.body unless response.nil?
134
+ end
135
+
136
+ #
137
+ # Get the specified default network security rule.
138
+ #
139
+ # @param resource_group_name [String] The name of the resource group.
140
+ # @param network_security_group_name [String] The name of the network security
141
+ # group.
142
+ # @param default_security_rule_name [String] The name of the default security
143
+ # rule.
144
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
145
+ # will be added to the HTTP request.
146
+ #
147
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
148
+ #
149
+ def get_with_http_info(resource_group_name, network_security_group_name, default_security_rule_name, custom_headers = nil)
150
+ get_async(resource_group_name, network_security_group_name, default_security_rule_name, custom_headers).value!
151
+ end
152
+
153
+ #
154
+ # Get the specified default network security rule.
155
+ #
156
+ # @param resource_group_name [String] The name of the resource group.
157
+ # @param network_security_group_name [String] The name of the network security
158
+ # group.
159
+ # @param default_security_rule_name [String] The name of the default security
160
+ # rule.
161
+ # @param [Hash{String => String}] A hash of custom headers that will be added
162
+ # to the HTTP request.
163
+ #
164
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
165
+ #
166
+ def get_async(resource_group_name, network_security_group_name, default_security_rule_name, custom_headers = nil)
167
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
168
+ fail ArgumentError, 'network_security_group_name is nil' if network_security_group_name.nil?
169
+ fail ArgumentError, 'default_security_rule_name is nil' if default_security_rule_name.nil?
170
+ api_version = '2017-08-01'
171
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
172
+
173
+
174
+ request_headers = {}
175
+
176
+ # Set Headers
177
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
178
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
179
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}/defaultSecurityRules/{defaultSecurityRuleName}'
180
+
181
+ request_url = @base_url || @client.base_url
182
+
183
+ options = {
184
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
185
+ path_params: {'resourceGroupName' => resource_group_name,'networkSecurityGroupName' => network_security_group_name,'defaultSecurityRuleName' => default_security_rule_name,'subscriptionId' => @client.subscription_id},
186
+ query_params: {'api-version' => api_version},
187
+ headers: request_headers.merge(custom_headers || {}),
188
+ base_url: request_url
189
+ }
190
+ promise = @client.make_request_async(:get, path_template, options)
191
+
192
+ promise = promise.then do |result|
193
+ http_response = result.response
194
+ status_code = http_response.status
195
+ response_content = http_response.body
196
+ unless status_code == 200
197
+ error_model = JSON.load(response_content)
198
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
199
+ end
200
+
201
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
202
+ # Deserialize Response
203
+ if status_code == 200
204
+ begin
205
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
206
+ result_mapper = Azure::ARM::Network::Models::SecurityRule.mapper()
207
+ result.body = @client.deserialize(result_mapper, parsed_response)
208
+ rescue Exception => e
209
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
210
+ end
211
+ end
212
+
213
+ result
214
+ end
215
+
216
+ promise.execute
217
+ end
218
+
219
+ #
220
+ # Gets all default security rules in a network security group.
221
+ #
222
+ # @param next_page_link [String] The NextLink from the previous successful call
223
+ # to List operation.
224
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
225
+ # will be added to the HTTP request.
226
+ #
227
+ # @return [SecurityRuleListResult] operation results.
228
+ #
229
+ def list_next(next_page_link, custom_headers = nil)
230
+ response = list_next_async(next_page_link, custom_headers).value!
231
+ response.body unless response.nil?
232
+ end
233
+
234
+ #
235
+ # Gets all default security rules in a network security group.
236
+ #
237
+ # @param next_page_link [String] The NextLink from the previous successful call
238
+ # to List operation.
239
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
240
+ # will be added to the HTTP request.
241
+ #
242
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
243
+ #
244
+ def list_next_with_http_info(next_page_link, custom_headers = nil)
245
+ list_next_async(next_page_link, custom_headers).value!
246
+ end
247
+
248
+ #
249
+ # Gets all default security rules in a network security group.
250
+ #
251
+ # @param next_page_link [String] The NextLink from the previous successful call
252
+ # to List operation.
253
+ # @param [Hash{String => String}] A hash of custom headers that will be added
254
+ # to the HTTP request.
255
+ #
256
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
257
+ #
258
+ def list_next_async(next_page_link, custom_headers = nil)
259
+ fail ArgumentError, 'next_page_link is nil' if next_page_link.nil?
260
+
261
+
262
+ request_headers = {}
263
+
264
+ # Set Headers
265
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
266
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
267
+ path_template = '{nextLink}'
268
+
269
+ request_url = @base_url || @client.base_url
270
+
271
+ options = {
272
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
273
+ skip_encoding_path_params: {'nextLink' => next_page_link},
274
+ headers: request_headers.merge(custom_headers || {}),
275
+ base_url: request_url
276
+ }
277
+ promise = @client.make_request_async(:get, path_template, options)
278
+
279
+ promise = promise.then do |result|
280
+ http_response = result.response
281
+ status_code = http_response.status
282
+ response_content = http_response.body
283
+ unless status_code == 200
284
+ error_model = JSON.load(response_content)
285
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
286
+ end
287
+
288
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
289
+ # Deserialize Response
290
+ if status_code == 200
291
+ begin
292
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
293
+ result_mapper = Azure::ARM::Network::Models::SecurityRuleListResult.mapper()
294
+ result.body = @client.deserialize(result_mapper, parsed_response)
295
+ rescue Exception => e
296
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
297
+ end
298
+ end
299
+
300
+ result
301
+ end
302
+
303
+ promise.execute
304
+ end
305
+
306
+ #
307
+ # Gets all default security rules in a network security group.
308
+ #
309
+ # @param resource_group_name [String] The name of the resource group.
310
+ # @param network_security_group_name [String] The name of the network security
311
+ # group.
312
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
313
+ # will be added to the HTTP request.
314
+ #
315
+ # @return [SecurityRuleListResult] which provide lazy access to pages of the
316
+ # response.
317
+ #
318
+ def list_as_lazy(resource_group_name, network_security_group_name, custom_headers = nil)
319
+ response = list_async(resource_group_name, network_security_group_name, custom_headers).value!
320
+ unless response.nil?
321
+ page = response.body
322
+ page.next_method = Proc.new do |next_page_link|
323
+ list_next_async(next_page_link, custom_headers)
324
+ end
325
+ page
326
+ end
327
+ end
328
+
329
+ end
330
+ end
@@ -107,7 +107,7 @@ module Azure::ARM::Network
107
107
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
108
108
  fail ArgumentError, 'circuit_name is nil' if circuit_name.nil?
109
109
  fail ArgumentError, 'authorization_name is nil' if authorization_name.nil?
110
- api_version = '2017-06-01'
110
+ api_version = '2017-08-01'
111
111
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
112
112
 
113
113
 
@@ -248,7 +248,7 @@ module Azure::ARM::Network
248
248
  def list_async(resource_group_name, circuit_name, custom_headers = nil)
249
249
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
250
250
  fail ArgumentError, 'circuit_name is nil' if circuit_name.nil?
251
- api_version = '2017-06-01'
251
+ api_version = '2017-08-01'
252
252
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
253
253
 
254
254
 
@@ -342,7 +342,7 @@ module Azure::ARM::Network
342
342
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
343
343
  fail ArgumentError, 'circuit_name is nil' if circuit_name.nil?
344
344
  fail ArgumentError, 'authorization_name is nil' if authorization_name.nil?
345
- api_version = '2017-06-01'
345
+ api_version = '2017-08-01'
346
346
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
347
347
 
348
348
 
@@ -437,7 +437,7 @@ module Azure::ARM::Network
437
437
  fail ArgumentError, 'circuit_name is nil' if circuit_name.nil?
438
438
  fail ArgumentError, 'authorization_name is nil' if authorization_name.nil?
439
439
  fail ArgumentError, 'authorization_parameters is nil' if authorization_parameters.nil?
440
- api_version = '2017-06-01'
440
+ api_version = '2017-08-01'
441
441
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
442
442
 
443
443
 
@@ -107,7 +107,7 @@ module Azure::ARM::Network
107
107
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
108
108
  fail ArgumentError, 'circuit_name is nil' if circuit_name.nil?
109
109
  fail ArgumentError, 'peering_name is nil' if peering_name.nil?
110
- api_version = '2017-06-01'
110
+ api_version = '2017-08-01'
111
111
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
112
112
 
113
113
 
@@ -246,7 +246,7 @@ module Azure::ARM::Network
246
246
  def list_async(resource_group_name, circuit_name, custom_headers = nil)
247
247
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
248
248
  fail ArgumentError, 'circuit_name is nil' if circuit_name.nil?
249
- api_version = '2017-06-01'
249
+ api_version = '2017-08-01'
250
250
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
251
251
 
252
252
 
@@ -340,7 +340,7 @@ module Azure::ARM::Network
340
340
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
341
341
  fail ArgumentError, 'circuit_name is nil' if circuit_name.nil?
342
342
  fail ArgumentError, 'peering_name is nil' if peering_name.nil?
343
- api_version = '2017-06-01'
343
+ api_version = '2017-08-01'
344
344
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
345
345
 
346
346
 
@@ -432,7 +432,7 @@ module Azure::ARM::Network
432
432
  fail ArgumentError, 'circuit_name is nil' if circuit_name.nil?
433
433
  fail ArgumentError, 'peering_name is nil' if peering_name.nil?
434
434
  fail ArgumentError, 'peering_parameters is nil' if peering_parameters.nil?
435
- api_version = '2017-06-01'
435
+ api_version = '2017-08-01'
436
436
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
437
437
 
438
438
 
@@ -101,7 +101,7 @@ module Azure::ARM::Network
101
101
  def get_async(resource_group_name, circuit_name, custom_headers = nil)
102
102
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
103
103
  fail ArgumentError, 'circuit_name is nil' if circuit_name.nil?
104
- api_version = '2017-06-01'
104
+ api_version = '2017-08-01'
105
105
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
106
106
 
107
107
 
@@ -379,7 +379,7 @@ module Azure::ARM::Network
379
379
  def get_stats_async(resource_group_name, circuit_name, custom_headers = nil)
380
380
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
381
381
  fail ArgumentError, 'circuit_name is nil' if circuit_name.nil?
382
- api_version = '2017-06-01'
382
+ api_version = '2017-08-01'
383
383
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
384
384
 
385
385
 
@@ -474,7 +474,7 @@ module Azure::ARM::Network
474
474
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
475
475
  fail ArgumentError, 'circuit_name is nil' if circuit_name.nil?
476
476
  fail ArgumentError, 'peering_name is nil' if peering_name.nil?
477
- api_version = '2017-06-01'
477
+ api_version = '2017-08-01'
478
478
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
479
479
 
480
480
 
@@ -561,7 +561,7 @@ module Azure::ARM::Network
561
561
  #
562
562
  def list_async(resource_group_name, custom_headers = nil)
563
563
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
564
- api_version = '2017-06-01'
564
+ api_version = '2017-08-01'
565
565
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
566
566
 
567
567
 
@@ -644,7 +644,7 @@ module Azure::ARM::Network
644
644
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
645
645
  #
646
646
  def list_all_async(custom_headers = nil)
647
- api_version = '2017-06-01'
647
+ api_version = '2017-08-01'
648
648
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
649
649
 
650
650
 
@@ -734,7 +734,7 @@ module Azure::ARM::Network
734
734
  def begin_delete_async(resource_group_name, circuit_name, custom_headers = nil)
735
735
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
736
736
  fail ArgumentError, 'circuit_name is nil' if circuit_name.nil?
737
- api_version = '2017-06-01'
737
+ api_version = '2017-08-01'
738
738
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
739
739
 
740
740
 
@@ -822,7 +822,7 @@ module Azure::ARM::Network
822
822
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
823
823
  fail ArgumentError, 'circuit_name is nil' if circuit_name.nil?
824
824
  fail ArgumentError, 'parameters is nil' if parameters.nil?
825
- api_version = '2017-06-01'
825
+ api_version = '2017-08-01'
826
826
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
827
827
 
828
828
 
@@ -943,7 +943,7 @@ module Azure::ARM::Network
943
943
  fail ArgumentError, 'circuit_name is nil' if circuit_name.nil?
944
944
  fail ArgumentError, 'peering_name is nil' if peering_name.nil?
945
945
  fail ArgumentError, 'device_path is nil' if device_path.nil?
946
- api_version = '2017-06-01'
946
+ api_version = '2017-08-01'
947
947
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
948
948
 
949
949
 
@@ -1045,7 +1045,7 @@ module Azure::ARM::Network
1045
1045
  fail ArgumentError, 'circuit_name is nil' if circuit_name.nil?
1046
1046
  fail ArgumentError, 'peering_name is nil' if peering_name.nil?
1047
1047
  fail ArgumentError, 'device_path is nil' if device_path.nil?
1048
- api_version = '2017-06-01'
1048
+ api_version = '2017-08-01'
1049
1049
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
1050
1050
 
1051
1051
 
@@ -1147,7 +1147,7 @@ module Azure::ARM::Network
1147
1147
  fail ArgumentError, 'circuit_name is nil' if circuit_name.nil?
1148
1148
  fail ArgumentError, 'peering_name is nil' if peering_name.nil?
1149
1149
  fail ArgumentError, 'device_path is nil' if device_path.nil?
1150
- api_version = '2017-06-01'
1150
+ api_version = '2017-08-01'
1151
1151
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
1152
1152
 
1153
1153