azure_mgmt_network 0.8.0 → 0.9.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (45) hide show
  1. checksums.yaml +4 -4
  2. data/lib/generated/azure_mgmt_network.rb +91 -82
  3. data/lib/generated/azure_mgmt_network/application_gateways.rb +17 -20
  4. data/lib/generated/azure_mgmt_network/bgp_service_communities.rb +216 -0
  5. data/lib/generated/azure_mgmt_network/express_route_circuit_authorizations.rb +9 -12
  6. data/lib/generated/azure_mgmt_network/express_route_circuit_peerings.rb +9 -12
  7. data/lib/generated/azure_mgmt_network/express_route_circuits.rb +21 -24
  8. data/lib/generated/azure_mgmt_network/express_route_service_providers.rb +3 -6
  9. data/lib/generated/azure_mgmt_network/load_balancers.rb +11 -14
  10. data/lib/generated/azure_mgmt_network/local_network_gateways.rb +9 -12
  11. data/lib/generated/azure_mgmt_network/models/{network_operation_status.rb → access.rb} +4 -5
  12. data/lib/generated/azure_mgmt_network/models/{error.rb → bgp_service_community.rb} +39 -36
  13. data/lib/generated/azure_mgmt_network/models/bgp_service_community_list_result.rb +94 -0
  14. data/lib/generated/azure_mgmt_network/models/bgp_settings.rb +1 -1
  15. data/lib/generated/azure_mgmt_network/models/bgpcommunity.rb +84 -0
  16. data/lib/generated/azure_mgmt_network/models/connection_reset_shared_key.rb +1 -1
  17. data/lib/generated/azure_mgmt_network/models/express_route_circuit.rb +1 -0
  18. data/lib/generated/azure_mgmt_network/models/express_route_circuit_authorization.rb +1 -0
  19. data/lib/generated/azure_mgmt_network/models/express_route_circuit_peering.rb +13 -1
  20. data/lib/generated/azure_mgmt_network/models/patch_route_filter.rb +144 -0
  21. data/lib/generated/azure_mgmt_network/models/patch_route_filter_rule.rb +136 -0
  22. data/lib/generated/azure_mgmt_network/models/public_ipaddress_dns_settings.rb +13 -14
  23. data/lib/generated/azure_mgmt_network/models/route_filter.rb +141 -0
  24. data/lib/generated/azure_mgmt_network/models/route_filter_list_result.rb +94 -0
  25. data/lib/generated/azure_mgmt_network/models/route_filter_rule.rb +146 -0
  26. data/lib/generated/azure_mgmt_network/models/route_filter_rule_list_result.rb +94 -0
  27. data/lib/generated/azure_mgmt_network/network_interfaces.rb +251 -254
  28. data/lib/generated/azure_mgmt_network/network_management_client.rb +60 -53
  29. data/lib/generated/azure_mgmt_network/network_security_groups.rb +11 -14
  30. data/lib/generated/azure_mgmt_network/public_ipaddresses.rb +11 -14
  31. data/lib/generated/azure_mgmt_network/route_filter_rules.rb +773 -0
  32. data/lib/generated/azure_mgmt_network/route_filters.rb +942 -0
  33. data/lib/generated/azure_mgmt_network/route_tables.rb +11 -14
  34. data/lib/generated/azure_mgmt_network/routes.rb +9 -12
  35. data/lib/generated/azure_mgmt_network/security_rules.rb +9 -12
  36. data/lib/generated/azure_mgmt_network/subnets.rb +9 -12
  37. data/lib/generated/azure_mgmt_network/usages.rb +3 -6
  38. data/lib/generated/azure_mgmt_network/version.rb +1 -1
  39. data/lib/generated/azure_mgmt_network/virtual_network_gateway_connections.rb +15 -18
  40. data/lib/generated/azure_mgmt_network/virtual_network_gateways.rb +13 -16
  41. data/lib/generated/azure_mgmt_network/virtual_network_peerings.rb +9 -12
  42. data/lib/generated/azure_mgmt_network/virtual_networks.rb +13 -16
  43. metadata +17 -8
  44. data/lib/generated/azure_mgmt_network/models/azure_async_operation_result.rb +0 -64
  45. data/lib/generated/azure_mgmt_network/models/error_details.rb +0 -65
@@ -5,10 +5,7 @@
5
5
 
6
6
  module Azure::ARM::Network
7
7
  #
8
- # The Microsoft Azure Network management API provides a RESTful set of web
9
- # services that interact with Microsoft Azure Networks service to manage your
10
- # network resources. The API has entities that capture the relationship
11
- # between an end user and the Microsoft Azure Networks service.
8
+ # Composite Swagger for Network Client
12
9
  #
13
10
  class RouteTables
14
11
  include Azure::ARM::Network::Models
@@ -108,7 +105,7 @@ module Azure::ARM::Network
108
105
  def get_async(resource_group_name, route_table_name, expand = nil, custom_headers = nil)
109
106
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
110
107
  fail ArgumentError, 'route_table_name is nil' if route_table_name.nil?
111
- fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
108
+ api_version = '2016-09-01'
112
109
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
113
110
 
114
111
 
@@ -124,7 +121,7 @@ module Azure::ARM::Network
124
121
  options = {
125
122
  middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
126
123
  path_params: {'resourceGroupName' => resource_group_name,'routeTableName' => route_table_name,'subscriptionId' => @client.subscription_id},
127
- query_params: {'api-version' => @client.api_version,'$expand' => expand},
124
+ query_params: {'api-version' => api_version,'$expand' => expand},
128
125
  headers: request_headers.merge(custom_headers || {}),
129
126
  base_url: request_url
130
127
  }
@@ -241,7 +238,7 @@ module Azure::ARM::Network
241
238
  #
242
239
  def list_async(resource_group_name, custom_headers = nil)
243
240
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
244
- fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
241
+ api_version = '2016-09-01'
245
242
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
246
243
 
247
244
 
@@ -257,7 +254,7 @@ module Azure::ARM::Network
257
254
  options = {
258
255
  middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
259
256
  path_params: {'resourceGroupName' => resource_group_name,'subscriptionId' => @client.subscription_id},
260
- query_params: {'api-version' => @client.api_version},
257
+ query_params: {'api-version' => api_version},
261
258
  headers: request_headers.merge(custom_headers || {}),
262
259
  base_url: request_url
263
260
  }
@@ -324,7 +321,7 @@ module Azure::ARM::Network
324
321
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
325
322
  #
326
323
  def list_all_async(custom_headers = nil)
327
- fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
324
+ api_version = '2016-09-01'
328
325
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
329
326
 
330
327
 
@@ -340,7 +337,7 @@ module Azure::ARM::Network
340
337
  options = {
341
338
  middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
342
339
  path_params: {'subscriptionId' => @client.subscription_id},
343
- query_params: {'api-version' => @client.api_version},
340
+ query_params: {'api-version' => api_version},
344
341
  headers: request_headers.merge(custom_headers || {}),
345
342
  base_url: request_url
346
343
  }
@@ -414,7 +411,7 @@ module Azure::ARM::Network
414
411
  def begin_delete_async(resource_group_name, route_table_name, custom_headers = nil)
415
412
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
416
413
  fail ArgumentError, 'route_table_name is nil' if route_table_name.nil?
417
- fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
414
+ api_version = '2016-09-01'
418
415
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
419
416
 
420
417
 
@@ -430,7 +427,7 @@ module Azure::ARM::Network
430
427
  options = {
431
428
  middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
432
429
  path_params: {'resourceGroupName' => resource_group_name,'routeTableName' => route_table_name,'subscriptionId' => @client.subscription_id},
433
- query_params: {'api-version' => @client.api_version},
430
+ query_params: {'api-version' => api_version},
434
431
  headers: request_headers.merge(custom_headers || {}),
435
432
  base_url: request_url
436
433
  }
@@ -502,7 +499,7 @@ module Azure::ARM::Network
502
499
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
503
500
  fail ArgumentError, 'route_table_name is nil' if route_table_name.nil?
504
501
  fail ArgumentError, 'parameters is nil' if parameters.nil?
505
- fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
502
+ api_version = '2016-09-01'
506
503
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
507
504
 
508
505
 
@@ -526,7 +523,7 @@ module Azure::ARM::Network
526
523
  options = {
527
524
  middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
528
525
  path_params: {'resourceGroupName' => resource_group_name,'routeTableName' => route_table_name,'subscriptionId' => @client.subscription_id},
529
- query_params: {'api-version' => @client.api_version},
526
+ query_params: {'api-version' => api_version},
530
527
  body: request_content,
531
528
  headers: request_headers.merge(custom_headers || {}),
532
529
  base_url: request_url
@@ -5,10 +5,7 @@
5
5
 
6
6
  module Azure::ARM::Network
7
7
  #
8
- # The Microsoft Azure Network management API provides a RESTful set of web
9
- # services that interact with Microsoft Azure Networks service to manage your
10
- # network resources. The API has entities that capture the relationship
11
- # between an end user and the Microsoft Azure Networks service.
8
+ # Composite Swagger for Network Client
12
9
  #
13
10
  class Routes
14
11
  include Azure::ARM::Network::Models
@@ -111,7 +108,7 @@ module Azure::ARM::Network
111
108
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
112
109
  fail ArgumentError, 'route_table_name is nil' if route_table_name.nil?
113
110
  fail ArgumentError, 'route_name is nil' if route_name.nil?
114
- fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
111
+ api_version = '2016-09-01'
115
112
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
116
113
 
117
114
 
@@ -127,7 +124,7 @@ module Azure::ARM::Network
127
124
  options = {
128
125
  middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
129
126
  path_params: {'resourceGroupName' => resource_group_name,'routeTableName' => route_table_name,'routeName' => route_name,'subscriptionId' => @client.subscription_id},
130
- query_params: {'api-version' => @client.api_version},
127
+ query_params: {'api-version' => api_version},
131
128
  headers: request_headers.merge(custom_headers || {}),
132
129
  base_url: request_url
133
130
  }
@@ -250,7 +247,7 @@ module Azure::ARM::Network
250
247
  def list_async(resource_group_name, route_table_name, custom_headers = nil)
251
248
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
252
249
  fail ArgumentError, 'route_table_name is nil' if route_table_name.nil?
253
- fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
250
+ api_version = '2016-09-01'
254
251
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
255
252
 
256
253
 
@@ -266,7 +263,7 @@ module Azure::ARM::Network
266
263
  options = {
267
264
  middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
268
265
  path_params: {'resourceGroupName' => resource_group_name,'routeTableName' => route_table_name,'subscriptionId' => @client.subscription_id},
269
- query_params: {'api-version' => @client.api_version},
266
+ query_params: {'api-version' => api_version},
270
267
  headers: request_headers.merge(custom_headers || {}),
271
268
  base_url: request_url
272
269
  }
@@ -344,7 +341,7 @@ module Azure::ARM::Network
344
341
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
345
342
  fail ArgumentError, 'route_table_name is nil' if route_table_name.nil?
346
343
  fail ArgumentError, 'route_name is nil' if route_name.nil?
347
- fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
344
+ api_version = '2016-09-01'
348
345
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
349
346
 
350
347
 
@@ -360,7 +357,7 @@ module Azure::ARM::Network
360
357
  options = {
361
358
  middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
362
359
  path_params: {'resourceGroupName' => resource_group_name,'routeTableName' => route_table_name,'routeName' => route_name,'subscriptionId' => @client.subscription_id},
363
- query_params: {'api-version' => @client.api_version},
360
+ query_params: {'api-version' => api_version},
364
361
  headers: request_headers.merge(custom_headers || {}),
365
362
  base_url: request_url
366
363
  }
@@ -436,7 +433,7 @@ module Azure::ARM::Network
436
433
  fail ArgumentError, 'route_table_name is nil' if route_table_name.nil?
437
434
  fail ArgumentError, 'route_name is nil' if route_name.nil?
438
435
  fail ArgumentError, 'route_parameters is nil' if route_parameters.nil?
439
- fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
436
+ api_version = '2016-09-01'
440
437
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
441
438
 
442
439
 
@@ -460,7 +457,7 @@ module Azure::ARM::Network
460
457
  options = {
461
458
  middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
462
459
  path_params: {'resourceGroupName' => resource_group_name,'routeTableName' => route_table_name,'routeName' => route_name,'subscriptionId' => @client.subscription_id},
463
- query_params: {'api-version' => @client.api_version},
460
+ query_params: {'api-version' => api_version},
464
461
  body: request_content,
465
462
  headers: request_headers.merge(custom_headers || {}),
466
463
  base_url: request_url
@@ -5,10 +5,7 @@
5
5
 
6
6
  module Azure::ARM::Network
7
7
  #
8
- # The Microsoft Azure Network management API provides a RESTful set of web
9
- # services that interact with Microsoft Azure Networks service to manage your
10
- # network resources. The API has entities that capture the relationship
11
- # between an end user and the Microsoft Azure Networks service.
8
+ # Composite Swagger for Network Client
12
9
  #
13
10
  class SecurityRules
14
11
  include Azure::ARM::Network::Models
@@ -116,7 +113,7 @@ module Azure::ARM::Network
116
113
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
117
114
  fail ArgumentError, 'network_security_group_name is nil' if network_security_group_name.nil?
118
115
  fail ArgumentError, 'security_rule_name is nil' if security_rule_name.nil?
119
- fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
116
+ api_version = '2016-09-01'
120
117
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
121
118
 
122
119
 
@@ -132,7 +129,7 @@ module Azure::ARM::Network
132
129
  options = {
133
130
  middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
134
131
  path_params: {'resourceGroupName' => resource_group_name,'networkSecurityGroupName' => network_security_group_name,'securityRuleName' => security_rule_name,'subscriptionId' => @client.subscription_id},
135
- query_params: {'api-version' => @client.api_version},
132
+ query_params: {'api-version' => api_version},
136
133
  headers: request_headers.merge(custom_headers || {}),
137
134
  base_url: request_url
138
135
  }
@@ -260,7 +257,7 @@ module Azure::ARM::Network
260
257
  def list_async(resource_group_name, network_security_group_name, custom_headers = nil)
261
258
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
262
259
  fail ArgumentError, 'network_security_group_name is nil' if network_security_group_name.nil?
263
- fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
260
+ api_version = '2016-09-01'
264
261
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
265
262
 
266
263
 
@@ -276,7 +273,7 @@ module Azure::ARM::Network
276
273
  options = {
277
274
  middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
278
275
  path_params: {'resourceGroupName' => resource_group_name,'networkSecurityGroupName' => network_security_group_name,'subscriptionId' => @client.subscription_id},
279
- query_params: {'api-version' => @client.api_version},
276
+ query_params: {'api-version' => api_version},
280
277
  headers: request_headers.merge(custom_headers || {}),
281
278
  base_url: request_url
282
279
  }
@@ -357,7 +354,7 @@ module Azure::ARM::Network
357
354
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
358
355
  fail ArgumentError, 'network_security_group_name is nil' if network_security_group_name.nil?
359
356
  fail ArgumentError, 'security_rule_name is nil' if security_rule_name.nil?
360
- fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
357
+ api_version = '2016-09-01'
361
358
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
362
359
 
363
360
 
@@ -373,7 +370,7 @@ module Azure::ARM::Network
373
370
  options = {
374
371
  middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
375
372
  path_params: {'resourceGroupName' => resource_group_name,'networkSecurityGroupName' => network_security_group_name,'securityRuleName' => security_rule_name,'subscriptionId' => @client.subscription_id},
376
- query_params: {'api-version' => @client.api_version},
373
+ query_params: {'api-version' => api_version},
377
374
  headers: request_headers.merge(custom_headers || {}),
378
375
  base_url: request_url
379
376
  }
@@ -452,7 +449,7 @@ module Azure::ARM::Network
452
449
  fail ArgumentError, 'network_security_group_name is nil' if network_security_group_name.nil?
453
450
  fail ArgumentError, 'security_rule_name is nil' if security_rule_name.nil?
454
451
  fail ArgumentError, 'security_rule_parameters is nil' if security_rule_parameters.nil?
455
- fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
452
+ api_version = '2016-09-01'
456
453
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
457
454
 
458
455
 
@@ -476,7 +473,7 @@ module Azure::ARM::Network
476
473
  options = {
477
474
  middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
478
475
  path_params: {'resourceGroupName' => resource_group_name,'networkSecurityGroupName' => network_security_group_name,'securityRuleName' => security_rule_name,'subscriptionId' => @client.subscription_id},
479
- query_params: {'api-version' => @client.api_version},
476
+ query_params: {'api-version' => api_version},
480
477
  body: request_content,
481
478
  headers: request_headers.merge(custom_headers || {}),
482
479
  base_url: request_url
@@ -5,10 +5,7 @@
5
5
 
6
6
  module Azure::ARM::Network
7
7
  #
8
- # The Microsoft Azure Network management API provides a RESTful set of web
9
- # services that interact with Microsoft Azure Networks service to manage your
10
- # network resources. The API has entities that capture the relationship
11
- # between an end user and the Microsoft Azure Networks service.
8
+ # Composite Swagger for Network Client
12
9
  #
13
10
  class Subnets
14
11
  include Azure::ARM::Network::Models
@@ -114,7 +111,7 @@ module Azure::ARM::Network
114
111
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
115
112
  fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil?
116
113
  fail ArgumentError, 'subnet_name is nil' if subnet_name.nil?
117
- fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
114
+ api_version = '2016-09-01'
118
115
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
119
116
 
120
117
 
@@ -130,7 +127,7 @@ module Azure::ARM::Network
130
127
  options = {
131
128
  middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
132
129
  path_params: {'resourceGroupName' => resource_group_name,'virtualNetworkName' => virtual_network_name,'subnetName' => subnet_name,'subscriptionId' => @client.subscription_id},
133
- query_params: {'api-version' => @client.api_version,'$expand' => expand},
130
+ query_params: {'api-version' => api_version,'$expand' => expand},
134
131
  headers: request_headers.merge(custom_headers || {}),
135
132
  base_url: request_url
136
133
  }
@@ -253,7 +250,7 @@ module Azure::ARM::Network
253
250
  def list_async(resource_group_name, virtual_network_name, custom_headers = nil)
254
251
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
255
252
  fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil?
256
- fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
253
+ api_version = '2016-09-01'
257
254
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
258
255
 
259
256
 
@@ -269,7 +266,7 @@ module Azure::ARM::Network
269
266
  options = {
270
267
  middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
271
268
  path_params: {'resourceGroupName' => resource_group_name,'virtualNetworkName' => virtual_network_name,'subscriptionId' => @client.subscription_id},
272
- query_params: {'api-version' => @client.api_version},
269
+ query_params: {'api-version' => api_version},
273
270
  headers: request_headers.merge(custom_headers || {}),
274
271
  base_url: request_url
275
272
  }
@@ -347,7 +344,7 @@ module Azure::ARM::Network
347
344
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
348
345
  fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil?
349
346
  fail ArgumentError, 'subnet_name is nil' if subnet_name.nil?
350
- fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
347
+ api_version = '2016-09-01'
351
348
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
352
349
 
353
350
 
@@ -363,7 +360,7 @@ module Azure::ARM::Network
363
360
  options = {
364
361
  middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
365
362
  path_params: {'resourceGroupName' => resource_group_name,'virtualNetworkName' => virtual_network_name,'subnetName' => subnet_name,'subscriptionId' => @client.subscription_id},
366
- query_params: {'api-version' => @client.api_version},
363
+ query_params: {'api-version' => api_version},
367
364
  headers: request_headers.merge(custom_headers || {}),
368
365
  base_url: request_url
369
366
  }
@@ -439,7 +436,7 @@ module Azure::ARM::Network
439
436
  fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil?
440
437
  fail ArgumentError, 'subnet_name is nil' if subnet_name.nil?
441
438
  fail ArgumentError, 'subnet_parameters is nil' if subnet_parameters.nil?
442
- fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
439
+ api_version = '2016-09-01'
443
440
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
444
441
 
445
442
 
@@ -463,7 +460,7 @@ module Azure::ARM::Network
463
460
  options = {
464
461
  middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
465
462
  path_params: {'resourceGroupName' => resource_group_name,'virtualNetworkName' => virtual_network_name,'subnetName' => subnet_name,'subscriptionId' => @client.subscription_id},
466
- query_params: {'api-version' => @client.api_version},
463
+ query_params: {'api-version' => api_version},
467
464
  body: request_content,
468
465
  headers: request_headers.merge(custom_headers || {}),
469
466
  base_url: request_url
@@ -5,10 +5,7 @@
5
5
 
6
6
  module Azure::ARM::Network
7
7
  #
8
- # The Microsoft Azure Network management API provides a RESTful set of web
9
- # services that interact with Microsoft Azure Networks service to manage your
10
- # network resources. The API has entities that capture the relationship
11
- # between an end user and the Microsoft Azure Networks service.
8
+ # Composite Swagger for Network Client
12
9
  #
13
10
  class Usages
14
11
  include Azure::ARM::Network::Models
@@ -63,7 +60,7 @@ module Azure::ARM::Network
63
60
  #
64
61
  def list_async(location, custom_headers = nil)
65
62
  fail ArgumentError, 'location is nil' if location.nil?
66
- fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
63
+ api_version = '2016-09-01'
67
64
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
68
65
 
69
66
 
@@ -79,7 +76,7 @@ module Azure::ARM::Network
79
76
  options = {
80
77
  middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
81
78
  path_params: {'location' => location,'subscriptionId' => @client.subscription_id},
82
- query_params: {'api-version' => @client.api_version},
79
+ query_params: {'api-version' => api_version},
83
80
  headers: request_headers.merge(custom_headers || {}),
84
81
  base_url: request_url
85
82
  }
@@ -4,5 +4,5 @@
4
4
  # regenerated.
5
5
 
6
6
  module Azure::ARM::Network
7
- VERSION = '0.8.0'
7
+ VERSION = '0.9.0'
8
8
  end
@@ -5,10 +5,7 @@
5
5
 
6
6
  module Azure::ARM::Network
7
7
  #
8
- # The Microsoft Azure Network management API provides a RESTful set of web
9
- # services that interact with Microsoft Azure Networks service to manage your
10
- # network resources. The API has entities that capture the relationship
11
- # between an end user and the Microsoft Azure Networks service.
8
+ # Composite Swagger for Network Client
12
9
  #
13
10
  class VirtualNetworkGatewayConnections
14
11
  include Azure::ARM::Network::Models
@@ -119,7 +116,7 @@ module Azure::ARM::Network
119
116
  def get_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil)
120
117
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
121
118
  fail ArgumentError, 'virtual_network_gateway_connection_name is nil' if virtual_network_gateway_connection_name.nil?
122
- fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
119
+ api_version = '2016-09-01'
123
120
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
124
121
 
125
122
 
@@ -135,7 +132,7 @@ module Azure::ARM::Network
135
132
  options = {
136
133
  middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
137
134
  path_params: {'resourceGroupName' => resource_group_name,'virtualNetworkGatewayConnectionName' => virtual_network_gateway_connection_name,'subscriptionId' => @client.subscription_id},
138
- query_params: {'api-version' => @client.api_version},
135
+ query_params: {'api-version' => api_version},
139
136
  headers: request_headers.merge(custom_headers || {}),
140
137
  base_url: request_url
141
138
  }
@@ -311,7 +308,7 @@ module Azure::ARM::Network
311
308
  def get_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil)
312
309
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
313
310
  fail ArgumentError, 'virtual_network_gateway_connection_name is nil' if virtual_network_gateway_connection_name.nil?
314
- fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
311
+ api_version = '2016-09-01'
315
312
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
316
313
 
317
314
 
@@ -327,7 +324,7 @@ module Azure::ARM::Network
327
324
  options = {
328
325
  middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
329
326
  path_params: {'resourceGroupName' => resource_group_name,'virtualNetworkGatewayConnectionName' => virtual_network_gateway_connection_name,'subscriptionId' => @client.subscription_id},
330
- query_params: {'api-version' => @client.api_version},
327
+ query_params: {'api-version' => api_version},
331
328
  headers: request_headers.merge(custom_headers || {}),
332
329
  base_url: request_url
333
330
  }
@@ -401,7 +398,7 @@ module Azure::ARM::Network
401
398
  #
402
399
  def list_async(resource_group_name, custom_headers = nil)
403
400
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
404
- fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
401
+ api_version = '2016-09-01'
405
402
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
406
403
 
407
404
 
@@ -417,7 +414,7 @@ module Azure::ARM::Network
417
414
  options = {
418
415
  middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
419
416
  path_params: {'resourceGroupName' => resource_group_name,'subscriptionId' => @client.subscription_id},
420
- query_params: {'api-version' => @client.api_version},
417
+ query_params: {'api-version' => api_version},
421
418
  headers: request_headers.merge(custom_headers || {}),
422
419
  base_url: request_url
423
420
  }
@@ -558,7 +555,7 @@ module Azure::ARM::Network
558
555
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
559
556
  fail ArgumentError, 'virtual_network_gateway_connection_name is nil' if virtual_network_gateway_connection_name.nil?
560
557
  fail ArgumentError, 'parameters is nil' if parameters.nil?
561
- fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
558
+ api_version = '2016-09-01'
562
559
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
563
560
 
564
561
 
@@ -582,7 +579,7 @@ module Azure::ARM::Network
582
579
  options = {
583
580
  middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
584
581
  path_params: {'resourceGroupName' => resource_group_name,'virtualNetworkGatewayConnectionName' => virtual_network_gateway_connection_name,'subscriptionId' => @client.subscription_id},
585
- query_params: {'api-version' => @client.api_version},
582
+ query_params: {'api-version' => api_version},
586
583
  body: request_content,
587
584
  headers: request_headers.merge(custom_headers || {}),
588
585
  base_url: request_url
@@ -670,7 +667,7 @@ module Azure::ARM::Network
670
667
  def begin_delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil)
671
668
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
672
669
  fail ArgumentError, 'virtual_network_gateway_connection_name is nil' if virtual_network_gateway_connection_name.nil?
673
- fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
670
+ api_version = '2016-09-01'
674
671
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
675
672
 
676
673
 
@@ -686,7 +683,7 @@ module Azure::ARM::Network
686
683
  options = {
687
684
  middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
688
685
  path_params: {'resourceGroupName' => resource_group_name,'virtualNetworkGatewayConnectionName' => virtual_network_gateway_connection_name,'subscriptionId' => @client.subscription_id},
689
- query_params: {'api-version' => @client.api_version},
686
+ query_params: {'api-version' => api_version},
690
687
  headers: request_headers.merge(custom_headers || {}),
691
688
  base_url: request_url
692
689
  }
@@ -770,7 +767,7 @@ module Azure::ARM::Network
770
767
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
771
768
  fail ArgumentError, 'virtual_network_gateway_connection_name is nil' if virtual_network_gateway_connection_name.nil?
772
769
  fail ArgumentError, 'parameters is nil' if parameters.nil?
773
- fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
770
+ api_version = '2016-09-01'
774
771
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
775
772
 
776
773
 
@@ -794,7 +791,7 @@ module Azure::ARM::Network
794
791
  options = {
795
792
  middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
796
793
  path_params: {'resourceGroupName' => resource_group_name,'virtualNetworkGatewayConnectionName' => virtual_network_gateway_connection_name,'subscriptionId' => @client.subscription_id},
797
- query_params: {'api-version' => @client.api_version},
794
+ query_params: {'api-version' => api_version},
798
795
  body: request_content,
799
796
  headers: request_headers.merge(custom_headers || {}),
800
797
  base_url: request_url
@@ -902,7 +899,7 @@ module Azure::ARM::Network
902
899
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
903
900
  fail ArgumentError, 'virtual_network_gateway_connection_name is nil' if virtual_network_gateway_connection_name.nil?
904
901
  fail ArgumentError, 'parameters is nil' if parameters.nil?
905
- fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
902
+ api_version = '2016-09-01'
906
903
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
907
904
 
908
905
 
@@ -926,7 +923,7 @@ module Azure::ARM::Network
926
923
  options = {
927
924
  middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
928
925
  path_params: {'resourceGroupName' => resource_group_name,'virtualNetworkGatewayConnectionName' => virtual_network_gateway_connection_name,'subscriptionId' => @client.subscription_id},
929
- query_params: {'api-version' => @client.api_version},
926
+ query_params: {'api-version' => api_version},
930
927
  body: request_content,
931
928
  headers: request_headers.merge(custom_headers || {}),
932
929
  base_url: request_url