azure_mgmt_relay 0.14.0 → 0.15.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (77) hide show
  1. checksums.yaml +4 -4
  2. data/lib/2016-07-01/generated/azure_mgmt_relay.rb +55 -0
  3. data/lib/2016-07-01/generated/azure_mgmt_relay/hybrid_connections.rb +1269 -0
  4. data/lib/{generated → 2016-07-01/generated}/azure_mgmt_relay/models/access_rights.rb +1 -1
  5. data/lib/2016-07-01/generated/azure_mgmt_relay/models/authorization_rule.rb +78 -0
  6. data/lib/2016-07-01/generated/azure_mgmt_relay/models/authorization_rule_keys.rb +88 -0
  7. data/lib/2016-07-01/generated/azure_mgmt_relay/models/authorization_rule_list_result.rb +96 -0
  8. data/lib/2016-07-01/generated/azure_mgmt_relay/models/check_name_availability.rb +47 -0
  9. data/lib/2016-07-01/generated/azure_mgmt_relay/models/check_name_availability_result.rb +71 -0
  10. data/lib/{generated → 2016-07-01/generated}/azure_mgmt_relay/models/error_response.rb +1 -1
  11. data/lib/2016-07-01/generated/azure_mgmt_relay/models/hybrid_connection.rb +120 -0
  12. data/lib/2016-07-01/generated/azure_mgmt_relay/models/hybrid_connection_list_result.rb +95 -0
  13. data/lib/2016-07-01/generated/azure_mgmt_relay/models/operation.rb +56 -0
  14. data/lib/2016-07-01/generated/azure_mgmt_relay/models/operation_display.rb +68 -0
  15. data/lib/2016-07-01/generated/azure_mgmt_relay/models/operation_list_result.rb +99 -0
  16. data/lib/2016-07-01/generated/azure_mgmt_relay/models/policy_key.rb +16 -0
  17. data/lib/2016-07-01/generated/azure_mgmt_relay/models/regenerate_keys_parameters.rb +45 -0
  18. data/lib/2016-07-01/generated/azure_mgmt_relay/models/relay_namespace.rb +148 -0
  19. data/lib/2016-07-01/generated/azure_mgmt_relay/models/relay_namespace_list_result.rb +95 -0
  20. data/lib/2016-07-01/generated/azure_mgmt_relay/models/relay_namespace_update_parameter.rb +64 -0
  21. data/lib/{generated → 2016-07-01/generated}/azure_mgmt_relay/models/relaytype.rb +1 -1
  22. data/lib/2016-07-01/generated/azure_mgmt_relay/models/resource.rb +67 -0
  23. data/lib/2016-07-01/generated/azure_mgmt_relay/models/sku.rb +59 -0
  24. data/lib/2016-07-01/generated/azure_mgmt_relay/models/tracked_resource.rb +85 -0
  25. data/lib/{generated → 2016-07-01/generated}/azure_mgmt_relay/models/unavailable_reason.rb +1 -1
  26. data/lib/2016-07-01/generated/azure_mgmt_relay/models/wcf_relay.rb +149 -0
  27. data/lib/2016-07-01/generated/azure_mgmt_relay/models/wcf_relays_list_result.rb +95 -0
  28. data/lib/2016-07-01/generated/azure_mgmt_relay/module_definition.rb +9 -0
  29. data/lib/2016-07-01/generated/azure_mgmt_relay/namespaces.rb +1725 -0
  30. data/lib/2016-07-01/generated/azure_mgmt_relay/operations.rb +214 -0
  31. data/lib/2016-07-01/generated/azure_mgmt_relay/relay_management_client.rb +143 -0
  32. data/lib/{generated → 2016-07-01/generated}/azure_mgmt_relay/version.rb +2 -2
  33. data/lib/2016-07-01/generated/azure_mgmt_relay/wcfrelays.rb +1263 -0
  34. data/lib/{generated → 2017-04-01/generated}/azure_mgmt_relay.rb +34 -34
  35. data/lib/{generated → 2017-04-01/generated}/azure_mgmt_relay/hybrid_connections.rb +14 -14
  36. data/lib/{generated → 2017-04-01/generated}/azure_mgmt_relay/models/access_keys.rb +1 -1
  37. data/lib/2017-04-01/generated/azure_mgmt_relay/models/access_rights.rb +17 -0
  38. data/lib/{generated → 2017-04-01/generated}/azure_mgmt_relay/models/authorization_rule.rb +1 -1
  39. data/lib/{generated → 2017-04-01/generated}/azure_mgmt_relay/models/authorization_rule_list_result.rb +1 -1
  40. data/lib/{generated → 2017-04-01/generated}/azure_mgmt_relay/models/check_name_availability.rb +1 -1
  41. data/lib/{generated → 2017-04-01/generated}/azure_mgmt_relay/models/check_name_availability_result.rb +1 -1
  42. data/lib/2017-04-01/generated/azure_mgmt_relay/models/error_response.rb +55 -0
  43. data/lib/{generated → 2017-04-01/generated}/azure_mgmt_relay/models/hybrid_connection.rb +1 -1
  44. data/lib/{generated → 2017-04-01/generated}/azure_mgmt_relay/models/hybrid_connection_list_result.rb +1 -1
  45. data/lib/{generated → 2017-04-01/generated}/azure_mgmt_relay/models/key_type.rb +1 -1
  46. data/lib/{generated → 2017-04-01/generated}/azure_mgmt_relay/models/operation.rb +1 -1
  47. data/lib/{generated → 2017-04-01/generated}/azure_mgmt_relay/models/operation_display.rb +1 -1
  48. data/lib/{generated → 2017-04-01/generated}/azure_mgmt_relay/models/operation_list_result.rb +1 -1
  49. data/lib/{generated → 2017-04-01/generated}/azure_mgmt_relay/models/provisioning_state_enum.rb +1 -1
  50. data/lib/{generated → 2017-04-01/generated}/azure_mgmt_relay/models/regenerate_access_key_parameters.rb +1 -1
  51. data/lib/{generated → 2017-04-01/generated}/azure_mgmt_relay/models/relay_namespace.rb +1 -1
  52. data/lib/{generated → 2017-04-01/generated}/azure_mgmt_relay/models/relay_namespace_list_result.rb +1 -1
  53. data/lib/{generated → 2017-04-01/generated}/azure_mgmt_relay/models/relay_update_parameters.rb +1 -1
  54. data/lib/2017-04-01/generated/azure_mgmt_relay/models/relaytype.rb +16 -0
  55. data/lib/{generated → 2017-04-01/generated}/azure_mgmt_relay/models/resource.rb +1 -1
  56. data/lib/{generated → 2017-04-01/generated}/azure_mgmt_relay/models/resource_namespace_patch.rb +1 -1
  57. data/lib/{generated → 2017-04-01/generated}/azure_mgmt_relay/models/sku.rb +1 -1
  58. data/lib/{generated → 2017-04-01/generated}/azure_mgmt_relay/models/sku_tier.rb +1 -1
  59. data/lib/{generated → 2017-04-01/generated}/azure_mgmt_relay/models/tracked_resource.rb +1 -1
  60. data/lib/2017-04-01/generated/azure_mgmt_relay/models/unavailable_reason.rb +20 -0
  61. data/lib/{generated → 2017-04-01/generated}/azure_mgmt_relay/models/wcf_relay.rb +1 -1
  62. data/lib/{generated → 2017-04-01/generated}/azure_mgmt_relay/models/wcf_relays_list_result.rb +1 -1
  63. data/lib/2017-04-01/generated/azure_mgmt_relay/module_definition.rb +9 -0
  64. data/lib/{generated → 2017-04-01/generated}/azure_mgmt_relay/namespaces.rb +23 -23
  65. data/lib/{generated → 2017-04-01/generated}/azure_mgmt_relay/operations.rb +3 -3
  66. data/lib/{generated → 2017-04-01/generated}/azure_mgmt_relay/relay_management_client.rb +3 -3
  67. data/lib/{generated/azure_mgmt_relay/module_definition.rb → 2017-04-01/generated/azure_mgmt_relay/version.rb} +3 -3
  68. data/lib/{generated → 2017-04-01/generated}/azure_mgmt_relay/wcfrelays.rb +14 -14
  69. data/lib/azure_mgmt_relay.rb +3 -4
  70. data/lib/module_definition.rb +7 -0
  71. data/lib/profiles/common/configurable.rb +73 -0
  72. data/lib/profiles/common/default.rb +68 -0
  73. data/lib/profiles/latest/modules/relay_profile_module.rb +156 -0
  74. data/lib/profiles/latest/relay_latest_profile_client.rb +33 -0
  75. data/lib/profiles/latest/relay_module_definition.rb +9 -0
  76. data/lib/version.rb +7 -0
  77. metadata +76 -37
@@ -3,7 +3,7 @@
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
6
- module Azure::ARM::Relay
6
+ module Azure::Relay::Mgmt::V2017_04_01
7
7
  module Models
8
8
  #
9
9
  # The resource definition.
@@ -3,7 +3,7 @@
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
6
- module Azure::ARM::Relay
6
+ module Azure::Relay::Mgmt::V2017_04_01
7
7
  module Models
8
8
  #
9
9
  # Definition of resource.
@@ -3,7 +3,7 @@
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
6
- module Azure::ARM::Relay
6
+ module Azure::Relay::Mgmt::V2017_04_01
7
7
  module Models
8
8
  #
9
9
  # SKU of the namespace.
@@ -3,7 +3,7 @@
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
6
- module Azure::ARM::Relay
6
+ module Azure::Relay::Mgmt::V2017_04_01
7
7
  module Models
8
8
  #
9
9
  # Defines values for SkuTier
@@ -3,7 +3,7 @@
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
6
- module Azure::ARM::Relay
6
+ module Azure::Relay::Mgmt::V2017_04_01
7
7
  module Models
8
8
  #
9
9
  # Definition of resource.
@@ -0,0 +1,20 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::Relay::Mgmt::V2017_04_01
7
+ module Models
8
+ #
9
+ # Defines values for UnavailableReason
10
+ #
11
+ module UnavailableReason
12
+ None = "None"
13
+ InvalidName = "InvalidName"
14
+ SubscriptionIsDisabled = "SubscriptionIsDisabled"
15
+ NameInUse = "NameInUse"
16
+ NameInLockdown = "NameInLockdown"
17
+ TooManyNamespaceInCurrentSubscription = "TooManyNamespaceInCurrentSubscription"
18
+ end
19
+ end
20
+ end
@@ -3,7 +3,7 @@
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
6
- module Azure::ARM::Relay
6
+ module Azure::Relay::Mgmt::V2017_04_01
7
7
  module Models
8
8
  #
9
9
  # Description of the WCF relay resource.
@@ -3,7 +3,7 @@
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
6
- module Azure::ARM::Relay
6
+ module Azure::Relay::Mgmt::V2017_04_01
7
7
  module Models
8
8
  #
9
9
  # The response of the list WCF relay operation.
@@ -0,0 +1,9 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure end
7
+ module Azure::Relay end
8
+ module Azure::Relay::Mgmt end
9
+ module Azure::Relay::Mgmt::V2017_04_01 end
@@ -3,7 +3,7 @@
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
6
- module Azure::ARM::Relay
6
+ module Azure::Relay::Mgmt::V2017_04_01
7
7
  #
8
8
  # Use these API to manage Azure Relay resources through Azure Resource
9
9
  # Manager.
@@ -76,7 +76,7 @@ module Azure::ARM::Relay
76
76
  request_headers['Content-Type'] = 'application/json; charset=utf-8'
77
77
 
78
78
  # Serialize Request
79
- request_mapper = Azure::ARM::Relay::Models::CheckNameAvailability.mapper()
79
+ request_mapper = Azure::Relay::Mgmt::V2017_04_01::Models::CheckNameAvailability.mapper()
80
80
  request_content = @client.serialize(request_mapper, parameters)
81
81
  request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
82
82
 
@@ -108,7 +108,7 @@ module Azure::ARM::Relay
108
108
  if status_code == 200
109
109
  begin
110
110
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
111
- result_mapper = Azure::ARM::Relay::Models::CheckNameAvailabilityResult.mapper()
111
+ result_mapper = Azure::Relay::Mgmt::V2017_04_01::Models::CheckNameAvailabilityResult.mapper()
112
112
  result.body = @client.deserialize(result_mapper, parsed_response)
113
113
  rescue Exception => e
114
114
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -194,7 +194,7 @@ module Azure::ARM::Relay
194
194
  if status_code == 200
195
195
  begin
196
196
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
197
- result_mapper = Azure::ARM::Relay::Models::RelayNamespaceListResult.mapper()
197
+ result_mapper = Azure::Relay::Mgmt::V2017_04_01::Models::RelayNamespaceListResult.mapper()
198
198
  result.body = @client.deserialize(result_mapper, parsed_response)
199
199
  rescue Exception => e
200
200
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -284,7 +284,7 @@ module Azure::ARM::Relay
284
284
  if status_code == 200
285
285
  begin
286
286
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
287
- result_mapper = Azure::ARM::Relay::Models::RelayNamespaceListResult.mapper()
287
+ result_mapper = Azure::Relay::Mgmt::V2017_04_01::Models::RelayNamespaceListResult.mapper()
288
288
  result.body = @client.deserialize(result_mapper, parsed_response)
289
289
  rescue Exception => e
290
290
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -334,7 +334,7 @@ module Azure::ARM::Relay
334
334
  promise = promise.then do |response|
335
335
  # Defining deserialization method.
336
336
  deserialize_method = lambda do |parsed_response|
337
- result_mapper = Azure::ARM::Relay::Models::RelayNamespace.mapper()
337
+ result_mapper = Azure::Relay::Mgmt::V2017_04_01::Models::RelayNamespace.mapper()
338
338
  parsed_response = @client.deserialize(result_mapper, parsed_response)
339
339
  end
340
340
 
@@ -467,7 +467,7 @@ module Azure::ARM::Relay
467
467
  if status_code == 200
468
468
  begin
469
469
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
470
- result_mapper = Azure::ARM::Relay::Models::RelayNamespace.mapper()
470
+ result_mapper = Azure::Relay::Mgmt::V2017_04_01::Models::RelayNamespace.mapper()
471
471
  result.body = @client.deserialize(result_mapper, parsed_response)
472
472
  rescue Exception => e
473
473
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -548,7 +548,7 @@ module Azure::ARM::Relay
548
548
  request_headers['Content-Type'] = 'application/json; charset=utf-8'
549
549
 
550
550
  # Serialize Request
551
- request_mapper = Azure::ARM::Relay::Models::RelayUpdateParameters.mapper()
551
+ request_mapper = Azure::Relay::Mgmt::V2017_04_01::Models::RelayUpdateParameters.mapper()
552
552
  request_content = @client.serialize(request_mapper, parameters)
553
553
  request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
554
554
 
@@ -580,7 +580,7 @@ module Azure::ARM::Relay
580
580
  if status_code == 200
581
581
  begin
582
582
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
583
- result_mapper = Azure::ARM::Relay::Models::RelayNamespace.mapper()
583
+ result_mapper = Azure::Relay::Mgmt::V2017_04_01::Models::RelayNamespace.mapper()
584
584
  result.body = @client.deserialize(result_mapper, parsed_response)
585
585
  rescue Exception => e
586
586
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -590,7 +590,7 @@ module Azure::ARM::Relay
590
590
  if status_code == 201
591
591
  begin
592
592
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
593
- result_mapper = Azure::ARM::Relay::Models::RelayNamespace.mapper()
593
+ result_mapper = Azure::Relay::Mgmt::V2017_04_01::Models::RelayNamespace.mapper()
594
594
  result.body = @client.deserialize(result_mapper, parsed_response)
595
595
  rescue Exception => e
596
596
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -684,7 +684,7 @@ module Azure::ARM::Relay
684
684
  if status_code == 200
685
685
  begin
686
686
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
687
- result_mapper = Azure::ARM::Relay::Models::AuthorizationRuleListResult.mapper()
687
+ result_mapper = Azure::Relay::Mgmt::V2017_04_01::Models::AuthorizationRuleListResult.mapper()
688
688
  result.body = @client.deserialize(result_mapper, parsed_response)
689
689
  rescue Exception => e
690
690
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -763,7 +763,7 @@ module Azure::ARM::Relay
763
763
  request_headers['Content-Type'] = 'application/json; charset=utf-8'
764
764
 
765
765
  # Serialize Request
766
- request_mapper = Azure::ARM::Relay::Models::AuthorizationRule.mapper()
766
+ request_mapper = Azure::Relay::Mgmt::V2017_04_01::Models::AuthorizationRule.mapper()
767
767
  request_content = @client.serialize(request_mapper, parameters)
768
768
  request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
769
769
 
@@ -795,7 +795,7 @@ module Azure::ARM::Relay
795
795
  if status_code == 200
796
796
  begin
797
797
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
798
- result_mapper = Azure::ARM::Relay::Models::AuthorizationRule.mapper()
798
+ result_mapper = Azure::Relay::Mgmt::V2017_04_01::Models::AuthorizationRule.mapper()
799
799
  result.body = @client.deserialize(result_mapper, parsed_response)
800
800
  rescue Exception => e
801
801
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -980,7 +980,7 @@ module Azure::ARM::Relay
980
980
  if status_code == 200
981
981
  begin
982
982
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
983
- result_mapper = Azure::ARM::Relay::Models::AuthorizationRule.mapper()
983
+ result_mapper = Azure::Relay::Mgmt::V2017_04_01::Models::AuthorizationRule.mapper()
984
984
  result.body = @client.deserialize(result_mapper, parsed_response)
985
985
  rescue Exception => e
986
986
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -1078,7 +1078,7 @@ module Azure::ARM::Relay
1078
1078
  if status_code == 200
1079
1079
  begin
1080
1080
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
1081
- result_mapper = Azure::ARM::Relay::Models::AccessKeys.mapper()
1081
+ result_mapper = Azure::Relay::Mgmt::V2017_04_01::Models::AccessKeys.mapper()
1082
1082
  result.body = @client.deserialize(result_mapper, parsed_response)
1083
1083
  rescue Exception => e
1084
1084
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -1160,7 +1160,7 @@ module Azure::ARM::Relay
1160
1160
  request_headers['Content-Type'] = 'application/json; charset=utf-8'
1161
1161
 
1162
1162
  # Serialize Request
1163
- request_mapper = Azure::ARM::Relay::Models::RegenerateAccessKeyParameters.mapper()
1163
+ request_mapper = Azure::Relay::Mgmt::V2017_04_01::Models::RegenerateAccessKeyParameters.mapper()
1164
1164
  request_content = @client.serialize(request_mapper, parameters)
1165
1165
  request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
1166
1166
 
@@ -1192,7 +1192,7 @@ module Azure::ARM::Relay
1192
1192
  if status_code == 200
1193
1193
  begin
1194
1194
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
1195
- result_mapper = Azure::ARM::Relay::Models::AccessKeys.mapper()
1195
+ result_mapper = Azure::Relay::Mgmt::V2017_04_01::Models::AccessKeys.mapper()
1196
1196
  result.body = @client.deserialize(result_mapper, parsed_response)
1197
1197
  rescue Exception => e
1198
1198
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -1270,7 +1270,7 @@ module Azure::ARM::Relay
1270
1270
  request_headers['Content-Type'] = 'application/json; charset=utf-8'
1271
1271
 
1272
1272
  # Serialize Request
1273
- request_mapper = Azure::ARM::Relay::Models::RelayNamespace.mapper()
1273
+ request_mapper = Azure::Relay::Mgmt::V2017_04_01::Models::RelayNamespace.mapper()
1274
1274
  request_content = @client.serialize(request_mapper, parameters)
1275
1275
  request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
1276
1276
 
@@ -1302,7 +1302,7 @@ module Azure::ARM::Relay
1302
1302
  if status_code == 200
1303
1303
  begin
1304
1304
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
1305
- result_mapper = Azure::ARM::Relay::Models::RelayNamespace.mapper()
1305
+ result_mapper = Azure::Relay::Mgmt::V2017_04_01::Models::RelayNamespace.mapper()
1306
1306
  result.body = @client.deserialize(result_mapper, parsed_response)
1307
1307
  rescue Exception => e
1308
1308
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -1312,7 +1312,7 @@ module Azure::ARM::Relay
1312
1312
  if status_code == 201
1313
1313
  begin
1314
1314
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
1315
- result_mapper = Azure::ARM::Relay::Models::RelayNamespace.mapper()
1315
+ result_mapper = Azure::Relay::Mgmt::V2017_04_01::Models::RelayNamespace.mapper()
1316
1316
  result.body = @client.deserialize(result_mapper, parsed_response)
1317
1317
  rescue Exception => e
1318
1318
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -1488,7 +1488,7 @@ module Azure::ARM::Relay
1488
1488
  if status_code == 200
1489
1489
  begin
1490
1490
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
1491
- result_mapper = Azure::ARM::Relay::Models::RelayNamespaceListResult.mapper()
1491
+ result_mapper = Azure::Relay::Mgmt::V2017_04_01::Models::RelayNamespaceListResult.mapper()
1492
1492
  result.body = @client.deserialize(result_mapper, parsed_response)
1493
1493
  rescue Exception => e
1494
1494
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -1575,7 +1575,7 @@ module Azure::ARM::Relay
1575
1575
  if status_code == 200
1576
1576
  begin
1577
1577
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
1578
- result_mapper = Azure::ARM::Relay::Models::RelayNamespaceListResult.mapper()
1578
+ result_mapper = Azure::Relay::Mgmt::V2017_04_01::Models::RelayNamespaceListResult.mapper()
1579
1579
  result.body = @client.deserialize(result_mapper, parsed_response)
1580
1580
  rescue Exception => e
1581
1581
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -1662,7 +1662,7 @@ module Azure::ARM::Relay
1662
1662
  if status_code == 200
1663
1663
  begin
1664
1664
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
1665
- result_mapper = Azure::ARM::Relay::Models::AuthorizationRuleListResult.mapper()
1665
+ result_mapper = Azure::Relay::Mgmt::V2017_04_01::Models::AuthorizationRuleListResult.mapper()
1666
1666
  result.body = @client.deserialize(result_mapper, parsed_response)
1667
1667
  rescue Exception => e
1668
1668
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -3,7 +3,7 @@
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
6
- module Azure::ARM::Relay
6
+ module Azure::Relay::Mgmt::V2017_04_01
7
7
  #
8
8
  # Use these API to manage Azure Relay resources through Azure Resource
9
9
  # Manager.
@@ -90,7 +90,7 @@ module Azure::ARM::Relay
90
90
  if status_code == 200
91
91
  begin
92
92
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
93
- result_mapper = Azure::ARM::Relay::Models::OperationListResult.mapper()
93
+ result_mapper = Azure::Relay::Mgmt::V2017_04_01::Models::OperationListResult.mapper()
94
94
  result.body = @client.deserialize(result_mapper, parsed_response)
95
95
  rescue Exception => e
96
96
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -177,7 +177,7 @@ module Azure::ARM::Relay
177
177
  if status_code == 200
178
178
  begin
179
179
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
180
- result_mapper = Azure::ARM::Relay::Models::OperationListResult.mapper()
180
+ result_mapper = Azure::Relay::Mgmt::V2017_04_01::Models::OperationListResult.mapper()
181
181
  result.body = @client.deserialize(result_mapper, parsed_response)
182
182
  rescue Exception => e
183
183
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -3,7 +3,7 @@
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
6
- module Azure::ARM::Relay
6
+ module Azure::Relay::Mgmt::V2017_04_01
7
7
  #
8
8
  # A service client - single point of access to the REST API.
9
9
  #
@@ -134,8 +134,8 @@ module Azure::ARM::Relay
134
134
  #
135
135
  def add_telemetry
136
136
  sdk_information = 'azure_mgmt_relay'
137
- if defined? Azure::ARM::Relay::VERSION
138
- sdk_information = "#{sdk_information}/#{Azure::ARM::Relay::VERSION}"
137
+ if defined? Azure::Relay::Mgmt::V2017_04_01::VERSION
138
+ sdk_information = "#{sdk_information}/#{Azure::Relay::Mgmt::V2017_04_01::VERSION}"
139
139
  end
140
140
  add_user_agent_information(sdk_information)
141
141
  end
@@ -3,6 +3,6 @@
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
6
- module Azure end
7
- module Azure::ARM end
8
- module Azure::ARM::Relay end
6
+ module Azure::Relay::Mgmt::V2017_04_01
7
+ VERSION = '0.15.0'
8
+ end
@@ -3,7 +3,7 @@
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
6
- module Azure::ARM::Relay
6
+ module Azure::Relay::Mgmt::V2017_04_01
7
7
  #
8
8
  # Use these API to manage Azure Relay resources through Azure Resource
9
9
  # Manager.
@@ -103,7 +103,7 @@ module Azure::ARM::Relay
103
103
  if status_code == 200
104
104
  begin
105
105
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
106
- result_mapper = Azure::ARM::Relay::Models::WcfRelaysListResult.mapper()
106
+ result_mapper = Azure::Relay::Mgmt::V2017_04_01::Models::WcfRelaysListResult.mapper()
107
107
  result.body = @client.deserialize(result_mapper, parsed_response)
108
108
  rescue Exception => e
109
109
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -182,7 +182,7 @@ module Azure::ARM::Relay
182
182
  request_headers['Content-Type'] = 'application/json; charset=utf-8'
183
183
 
184
184
  # Serialize Request
185
- request_mapper = Azure::ARM::Relay::Models::WcfRelay.mapper()
185
+ request_mapper = Azure::Relay::Mgmt::V2017_04_01::Models::WcfRelay.mapper()
186
186
  request_content = @client.serialize(request_mapper, parameters)
187
187
  request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
188
188
 
@@ -214,7 +214,7 @@ module Azure::ARM::Relay
214
214
  if status_code == 200
215
215
  begin
216
216
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
217
- result_mapper = Azure::ARM::Relay::Models::WcfRelay.mapper()
217
+ result_mapper = Azure::Relay::Mgmt::V2017_04_01::Models::WcfRelay.mapper()
218
218
  result.body = @client.deserialize(result_mapper, parsed_response)
219
219
  rescue Exception => e
220
220
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -399,7 +399,7 @@ module Azure::ARM::Relay
399
399
  if status_code == 200
400
400
  begin
401
401
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
402
- result_mapper = Azure::ARM::Relay::Models::WcfRelay.mapper()
402
+ result_mapper = Azure::Relay::Mgmt::V2017_04_01::Models::WcfRelay.mapper()
403
403
  result.body = @client.deserialize(result_mapper, parsed_response)
404
404
  rescue Exception => e
405
405
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -497,7 +497,7 @@ module Azure::ARM::Relay
497
497
  if status_code == 200
498
498
  begin
499
499
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
500
- result_mapper = Azure::ARM::Relay::Models::AuthorizationRuleListResult.mapper()
500
+ result_mapper = Azure::Relay::Mgmt::V2017_04_01::Models::AuthorizationRuleListResult.mapper()
501
501
  result.body = @client.deserialize(result_mapper, parsed_response)
502
502
  rescue Exception => e
503
503
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -580,7 +580,7 @@ module Azure::ARM::Relay
580
580
  request_headers['Content-Type'] = 'application/json; charset=utf-8'
581
581
 
582
582
  # Serialize Request
583
- request_mapper = Azure::ARM::Relay::Models::AuthorizationRule.mapper()
583
+ request_mapper = Azure::Relay::Mgmt::V2017_04_01::Models::AuthorizationRule.mapper()
584
584
  request_content = @client.serialize(request_mapper, parameters)
585
585
  request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
586
586
 
@@ -612,7 +612,7 @@ module Azure::ARM::Relay
612
612
  if status_code == 200
613
613
  begin
614
614
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
615
- result_mapper = Azure::ARM::Relay::Models::AuthorizationRule.mapper()
615
+ result_mapper = Azure::Relay::Mgmt::V2017_04_01::Models::AuthorizationRule.mapper()
616
616
  result.body = @client.deserialize(result_mapper, parsed_response)
617
617
  rescue Exception => e
618
618
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -805,7 +805,7 @@ module Azure::ARM::Relay
805
805
  if status_code == 200
806
806
  begin
807
807
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
808
- result_mapper = Azure::ARM::Relay::Models::AuthorizationRule.mapper()
808
+ result_mapper = Azure::Relay::Mgmt::V2017_04_01::Models::AuthorizationRule.mapper()
809
809
  result.body = @client.deserialize(result_mapper, parsed_response)
810
810
  rescue Exception => e
811
811
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -907,7 +907,7 @@ module Azure::ARM::Relay
907
907
  if status_code == 200
908
908
  begin
909
909
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
910
- result_mapper = Azure::ARM::Relay::Models::AccessKeys.mapper()
910
+ result_mapper = Azure::Relay::Mgmt::V2017_04_01::Models::AccessKeys.mapper()
911
911
  result.body = @client.deserialize(result_mapper, parsed_response)
912
912
  rescue Exception => e
913
913
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -993,7 +993,7 @@ module Azure::ARM::Relay
993
993
  request_headers['Content-Type'] = 'application/json; charset=utf-8'
994
994
 
995
995
  # Serialize Request
996
- request_mapper = Azure::ARM::Relay::Models::RegenerateAccessKeyParameters.mapper()
996
+ request_mapper = Azure::Relay::Mgmt::V2017_04_01::Models::RegenerateAccessKeyParameters.mapper()
997
997
  request_content = @client.serialize(request_mapper, parameters)
998
998
  request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
999
999
 
@@ -1025,7 +1025,7 @@ module Azure::ARM::Relay
1025
1025
  if status_code == 200
1026
1026
  begin
1027
1027
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
1028
- result_mapper = Azure::ARM::Relay::Models::AccessKeys.mapper()
1028
+ result_mapper = Azure::Relay::Mgmt::V2017_04_01::Models::AccessKeys.mapper()
1029
1029
  result.body = @client.deserialize(result_mapper, parsed_response)
1030
1030
  rescue Exception => e
1031
1031
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -1112,7 +1112,7 @@ module Azure::ARM::Relay
1112
1112
  if status_code == 200
1113
1113
  begin
1114
1114
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
1115
- result_mapper = Azure::ARM::Relay::Models::WcfRelaysListResult.mapper()
1115
+ result_mapper = Azure::Relay::Mgmt::V2017_04_01::Models::WcfRelaysListResult.mapper()
1116
1116
  result.body = @client.deserialize(result_mapper, parsed_response)
1117
1117
  rescue Exception => e
1118
1118
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -1199,7 +1199,7 @@ module Azure::ARM::Relay
1199
1199
  if status_code == 200
1200
1200
  begin
1201
1201
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
1202
- result_mapper = Azure::ARM::Relay::Models::AuthorizationRuleListResult.mapper()
1202
+ result_mapper = Azure::Relay::Mgmt::V2017_04_01::Models::AuthorizationRuleListResult.mapper()
1203
1203
  result.body = @client.deserialize(result_mapper, parsed_response)
1204
1204
  rescue Exception => e
1205
1205
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)