azure_mgmt_service_bus 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 (119) hide show
  1. checksums.yaml +4 -4
  2. data/lib/2015-08-01/generated/azure_mgmt_service_bus.rb +67 -0
  3. data/lib/{generated → 2015-08-01/generated}/azure_mgmt_service_bus/models/access_rights.rb +1 -1
  4. data/lib/{generated → 2015-08-01/generated}/azure_mgmt_service_bus/models/check_name_availability.rb +1 -1
  5. data/lib/2015-08-01/generated/azure_mgmt_service_bus/models/check_name_availability_result.rb +70 -0
  6. data/lib/2015-08-01/generated/azure_mgmt_service_bus/models/entity_availability_status.rb +19 -0
  7. data/lib/{generated → 2015-08-01/generated}/azure_mgmt_service_bus/models/entity_status.rb +5 -5
  8. data/lib/{generated → 2015-08-01/generated}/azure_mgmt_service_bus/models/message_count_details.rb +8 -8
  9. data/lib/2015-08-01/generated/azure_mgmt_service_bus/models/namespace_create_or_update_parameters.rb +151 -0
  10. data/lib/2015-08-01/generated/azure_mgmt_service_bus/models/namespace_list_result.rb +96 -0
  11. data/lib/2015-08-01/generated/azure_mgmt_service_bus/models/namespace_resource.rb +169 -0
  12. data/lib/2015-08-01/generated/azure_mgmt_service_bus/models/namespace_state.rb +27 -0
  13. data/lib/2015-08-01/generated/azure_mgmt_service_bus/models/namespace_update_parameters.rb +62 -0
  14. data/lib/{generated → 2015-08-01/generated}/azure_mgmt_service_bus/models/operation.rb +1 -1
  15. data/lib/{generated → 2015-08-01/generated}/azure_mgmt_service_bus/models/operation_display.rb +1 -1
  16. data/lib/{generated → 2015-08-01/generated}/azure_mgmt_service_bus/models/operation_list_result.rb +1 -1
  17. data/lib/2015-08-01/generated/azure_mgmt_service_bus/models/policykey.rb +16 -0
  18. data/lib/2015-08-01/generated/azure_mgmt_service_bus/models/queue_create_or_update_parameters.rb +307 -0
  19. data/lib/2015-08-01/generated/azure_mgmt_service_bus/models/queue_list_result.rb +95 -0
  20. data/lib/2015-08-01/generated/azure_mgmt_service_bus/models/queue_resource.rb +318 -0
  21. data/lib/2015-08-01/generated/azure_mgmt_service_bus/models/regenerate_keys_parameters.rb +46 -0
  22. data/lib/2015-08-01/generated/azure_mgmt_service_bus/models/resource.rb +77 -0
  23. data/lib/2015-08-01/generated/azure_mgmt_service_bus/models/resource_list_keys.rb +88 -0
  24. data/lib/2015-08-01/generated/azure_mgmt_service_bus/models/shared_access_authorization_rule_create_or_update_parameters.rb +74 -0
  25. data/lib/2015-08-01/generated/azure_mgmt_service_bus/models/shared_access_authorization_rule_list_result.rb +98 -0
  26. data/lib/2015-08-01/generated/azure_mgmt_service_bus/models/shared_access_authorization_rule_resource.rb +83 -0
  27. data/lib/2015-08-01/generated/azure_mgmt_service_bus/models/sku.rb +66 -0
  28. data/lib/{generated → 2015-08-01/generated}/azure_mgmt_service_bus/models/sku_name.rb +1 -1
  29. data/lib/{generated → 2015-08-01/generated}/azure_mgmt_service_bus/models/sku_tier.rb +1 -1
  30. data/lib/2015-08-01/generated/azure_mgmt_service_bus/models/subscription_create_or_update_parameters.rb +237 -0
  31. data/lib/2015-08-01/generated/azure_mgmt_service_bus/models/subscription_list_result.rb +96 -0
  32. data/lib/2015-08-01/generated/azure_mgmt_service_bus/models/subscription_resource.rb +248 -0
  33. data/lib/2015-08-01/generated/azure_mgmt_service_bus/models/topic_create_or_update_parameters.rb +294 -0
  34. data/lib/2015-08-01/generated/azure_mgmt_service_bus/models/topic_list_result.rb +95 -0
  35. data/lib/2015-08-01/generated/azure_mgmt_service_bus/models/topic_resource.rb +305 -0
  36. data/lib/2015-08-01/generated/azure_mgmt_service_bus/models/tracked_resource.rb +82 -0
  37. data/lib/{generated → 2015-08-01/generated}/azure_mgmt_service_bus/models/unavailable_reason.rb +1 -1
  38. data/lib/2015-08-01/generated/azure_mgmt_service_bus/module_definition.rb +9 -0
  39. data/lib/2015-08-01/generated/azure_mgmt_service_bus/namespaces.rb +1751 -0
  40. data/lib/2015-08-01/generated/azure_mgmt_service_bus/operations.rb +213 -0
  41. data/lib/2015-08-01/generated/azure_mgmt_service_bus/queues.rb +1267 -0
  42. data/lib/2015-08-01/generated/azure_mgmt_service_bus/service_bus_management_client.rb +147 -0
  43. data/lib/2015-08-01/generated/azure_mgmt_service_bus/subscriptions.rb +545 -0
  44. data/lib/2015-08-01/generated/azure_mgmt_service_bus/topics.rb +1267 -0
  45. data/lib/{generated → 2015-08-01/generated}/azure_mgmt_service_bus/version.rb +2 -2
  46. data/lib/2017-04-01/generated/azure_mgmt_service_bus.rb +87 -0
  47. data/lib/{generated → 2017-04-01/generated}/azure_mgmt_service_bus/disaster_recovery_configs.rb +6 -6
  48. data/lib/{generated → 2017-04-01/generated}/azure_mgmt_service_bus/event_hubs.rb +3 -3
  49. data/lib/{generated → 2017-04-01/generated}/azure_mgmt_service_bus/models/access_keys.rb +1 -1
  50. data/lib/2017-04-01/generated/azure_mgmt_service_bus/models/access_rights.rb +17 -0
  51. data/lib/{generated → 2017-04-01/generated}/azure_mgmt_service_bus/models/action.rb +1 -1
  52. data/lib/{generated → 2017-04-01/generated}/azure_mgmt_service_bus/models/arm_disaster_recovery.rb +1 -1
  53. data/lib/{generated → 2017-04-01/generated}/azure_mgmt_service_bus/models/arm_disaster_recovery_list_result.rb +1 -1
  54. data/lib/{generated → 2017-04-01/generated}/azure_mgmt_service_bus/models/authorization_rule_properties.rb +1 -1
  55. data/lib/{generated → 2017-04-01/generated}/azure_mgmt_service_bus/models/capture_description.rb +1 -1
  56. data/lib/2017-04-01/generated/azure_mgmt_service_bus/models/check_name_availability.rb +47 -0
  57. data/lib/{generated → 2017-04-01/generated}/azure_mgmt_service_bus/models/check_name_availability_result.rb +1 -1
  58. data/lib/{generated → 2017-04-01/generated}/azure_mgmt_service_bus/models/correlation_filter.rb +1 -1
  59. data/lib/{generated → 2017-04-01/generated}/azure_mgmt_service_bus/models/destination.rb +1 -1
  60. data/lib/{generated → 2017-04-01/generated}/azure_mgmt_service_bus/models/encoding_capture_description.rb +1 -1
  61. data/lib/2017-04-01/generated/azure_mgmt_service_bus/models/entity_status.rb +23 -0
  62. data/lib/{generated → 2017-04-01/generated}/azure_mgmt_service_bus/models/error_response.rb +1 -1
  63. data/lib/{generated → 2017-04-01/generated}/azure_mgmt_service_bus/models/event_hub_list_result.rb +1 -1
  64. data/lib/{generated → 2017-04-01/generated}/azure_mgmt_service_bus/models/eventhub.rb +1 -1
  65. data/lib/{generated → 2017-04-01/generated}/azure_mgmt_service_bus/models/filter_type.rb +1 -1
  66. data/lib/{generated → 2017-04-01/generated}/azure_mgmt_service_bus/models/key_type.rb +1 -1
  67. data/lib/2017-04-01/generated/azure_mgmt_service_bus/models/message_count_details.rb +91 -0
  68. data/lib/2017-04-01/generated/azure_mgmt_service_bus/models/operation.rb +56 -0
  69. data/lib/2017-04-01/generated/azure_mgmt_service_bus/models/operation_display.rb +68 -0
  70. data/lib/2017-04-01/generated/azure_mgmt_service_bus/models/operation_list_result.rb +99 -0
  71. data/lib/{generated → 2017-04-01/generated}/azure_mgmt_service_bus/models/premium_messaging_regions.rb +1 -1
  72. data/lib/{generated → 2017-04-01/generated}/azure_mgmt_service_bus/models/premium_messaging_regions_list_result.rb +1 -1
  73. data/lib/{generated → 2017-04-01/generated}/azure_mgmt_service_bus/models/premium_messaging_regions_properties.rb +1 -1
  74. data/lib/{generated → 2017-04-01/generated}/azure_mgmt_service_bus/models/provisioning_state_dr.rb +1 -1
  75. data/lib/{generated → 2017-04-01/generated}/azure_mgmt_service_bus/models/regenerate_access_key_parameters.rb +1 -1
  76. data/lib/{generated → 2017-04-01/generated}/azure_mgmt_service_bus/models/resource.rb +1 -1
  77. data/lib/{generated → 2017-04-01/generated}/azure_mgmt_service_bus/models/resource_namespace_patch.rb +1 -1
  78. data/lib/{generated → 2017-04-01/generated}/azure_mgmt_service_bus/models/role_disaster_recovery.rb +1 -1
  79. data/lib/{generated → 2017-04-01/generated}/azure_mgmt_service_bus/models/rule.rb +1 -1
  80. data/lib/{generated → 2017-04-01/generated}/azure_mgmt_service_bus/models/rule_list_result.rb +1 -1
  81. data/lib/{generated → 2017-04-01/generated}/azure_mgmt_service_bus/models/sbauthorization_rule.rb +1 -1
  82. data/lib/{generated → 2017-04-01/generated}/azure_mgmt_service_bus/models/sbauthorization_rule_list_result.rb +1 -1
  83. data/lib/{generated → 2017-04-01/generated}/azure_mgmt_service_bus/models/sbnamespace.rb +1 -1
  84. data/lib/{generated → 2017-04-01/generated}/azure_mgmt_service_bus/models/sbnamespace_list_result.rb +1 -1
  85. data/lib/{generated → 2017-04-01/generated}/azure_mgmt_service_bus/models/sbnamespace_update_parameters.rb +1 -1
  86. data/lib/{generated → 2017-04-01/generated}/azure_mgmt_service_bus/models/sbqueue.rb +1 -1
  87. data/lib/{generated → 2017-04-01/generated}/azure_mgmt_service_bus/models/sbqueue_list_result.rb +1 -1
  88. data/lib/{generated → 2017-04-01/generated}/azure_mgmt_service_bus/models/sbsku.rb +1 -1
  89. data/lib/{generated → 2017-04-01/generated}/azure_mgmt_service_bus/models/sbsubscription.rb +1 -1
  90. data/lib/{generated → 2017-04-01/generated}/azure_mgmt_service_bus/models/sbsubscription_list_result.rb +1 -1
  91. data/lib/{generated → 2017-04-01/generated}/azure_mgmt_service_bus/models/sbtopic.rb +1 -1
  92. data/lib/{generated → 2017-04-01/generated}/azure_mgmt_service_bus/models/sbtopic_list_result.rb +1 -1
  93. data/lib/2017-04-01/generated/azure_mgmt_service_bus/models/sku_name.rb +17 -0
  94. data/lib/2017-04-01/generated/azure_mgmt_service_bus/models/sku_tier.rb +17 -0
  95. data/lib/{generated → 2017-04-01/generated}/azure_mgmt_service_bus/models/sql_filter.rb +1 -1
  96. data/lib/{generated → 2017-04-01/generated}/azure_mgmt_service_bus/models/sql_rule_action.rb +1 -1
  97. data/lib/{generated → 2017-04-01/generated}/azure_mgmt_service_bus/models/tracked_resource.rb +1 -1
  98. data/lib/2017-04-01/generated/azure_mgmt_service_bus/models/unavailable_reason.rb +20 -0
  99. data/lib/2017-04-01/generated/azure_mgmt_service_bus/module_definition.rb +9 -0
  100. data/lib/{generated → 2017-04-01/generated}/azure_mgmt_service_bus/namespaces.rb +23 -23
  101. data/lib/{generated → 2017-04-01/generated}/azure_mgmt_service_bus/operations.rb +3 -3
  102. data/lib/{generated → 2017-04-01/generated}/azure_mgmt_service_bus/premium_messaging_regions_operations.rb +3 -3
  103. data/lib/{generated → 2017-04-01/generated}/azure_mgmt_service_bus/queues.rb +14 -14
  104. data/lib/{generated → 2017-04-01/generated}/azure_mgmt_service_bus/regions.rb +3 -3
  105. data/lib/{generated → 2017-04-01/generated}/azure_mgmt_service_bus/rules.rb +6 -6
  106. data/lib/{generated → 2017-04-01/generated}/azure_mgmt_service_bus/service_bus_management_client.rb +3 -3
  107. data/lib/{generated → 2017-04-01/generated}/azure_mgmt_service_bus/subscriptions.rb +6 -6
  108. data/lib/{generated → 2017-04-01/generated}/azure_mgmt_service_bus/topics.rb +14 -14
  109. data/lib/{generated/azure_mgmt_service_bus/module_definition.rb → 2017-04-01/generated/azure_mgmt_service_bus/version.rb} +3 -3
  110. data/lib/azure_mgmt_service_bus.rb +3 -1
  111. data/lib/module_definition.rb +7 -0
  112. data/lib/profiles/common/configurable.rb +73 -0
  113. data/lib/profiles/common/default.rb +68 -0
  114. data/lib/profiles/latest/modules/servicebus_profile_module.rb +260 -0
  115. data/lib/profiles/latest/servicebus_latest_profile_client.rb +33 -0
  116. data/lib/profiles/latest/servicebus_module_definition.rb +9 -0
  117. data/lib/version.rb +7 -0
  118. metadata +117 -66
  119. data/lib/generated/azure_mgmt_service_bus.rb +0 -87
@@ -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::ARM::ServiceBus
7
- VERSION = '0.14.0'
6
+ module Azure::ServiceBus::Mgmt::V2015_08_01
7
+ VERSION = '0.15.0'
8
8
  end
@@ -0,0 +1,87 @@
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
+ require 'uri'
7
+ require 'cgi'
8
+ require 'date'
9
+ require 'json'
10
+ require 'base64'
11
+ require 'erb'
12
+ require 'securerandom'
13
+ require 'time'
14
+ require 'timeliness'
15
+ require 'faraday'
16
+ require 'faraday-cookie_jar'
17
+ require 'concurrent'
18
+ require 'ms_rest'
19
+ require '2017-04-01/generated/azure_mgmt_service_bus/module_definition'
20
+ require 'ms_rest_azure'
21
+
22
+ module Azure::ServiceBus::Mgmt::V2017_04_01
23
+ autoload :Operations, '2017-04-01/generated/azure_mgmt_service_bus/operations.rb'
24
+ autoload :Namespaces, '2017-04-01/generated/azure_mgmt_service_bus/namespaces.rb'
25
+ autoload :DisasterRecoveryConfigs, '2017-04-01/generated/azure_mgmt_service_bus/disaster_recovery_configs.rb'
26
+ autoload :Queues, '2017-04-01/generated/azure_mgmt_service_bus/queues.rb'
27
+ autoload :Topics, '2017-04-01/generated/azure_mgmt_service_bus/topics.rb'
28
+ autoload :Subscriptions, '2017-04-01/generated/azure_mgmt_service_bus/subscriptions.rb'
29
+ autoload :Rules, '2017-04-01/generated/azure_mgmt_service_bus/rules.rb'
30
+ autoload :Regions, '2017-04-01/generated/azure_mgmt_service_bus/regions.rb'
31
+ autoload :PremiumMessagingRegionsOperations, '2017-04-01/generated/azure_mgmt_service_bus/premium_messaging_regions_operations.rb'
32
+ autoload :EventHubs, '2017-04-01/generated/azure_mgmt_service_bus/event_hubs.rb'
33
+ autoload :ServiceBusManagementClient, '2017-04-01/generated/azure_mgmt_service_bus/service_bus_management_client.rb'
34
+
35
+ module Models
36
+ autoload :CheckNameAvailabilityResult, '2017-04-01/generated/azure_mgmt_service_bus/models/check_name_availability_result.rb'
37
+ autoload :SBQueueListResult, '2017-04-01/generated/azure_mgmt_service_bus/models/sbqueue_list_result.rb'
38
+ autoload :Resource, '2017-04-01/generated/azure_mgmt_service_bus/models/resource.rb'
39
+ autoload :PremiumMessagingRegionsListResult, '2017-04-01/generated/azure_mgmt_service_bus/models/premium_messaging_regions_list_result.rb'
40
+ autoload :SBSku, '2017-04-01/generated/azure_mgmt_service_bus/models/sbsku.rb'
41
+ autoload :SBTopicListResult, '2017-04-01/generated/azure_mgmt_service_bus/models/sbtopic_list_result.rb'
42
+ autoload :SBNamespaceListResult, '2017-04-01/generated/azure_mgmt_service_bus/models/sbnamespace_list_result.rb'
43
+ autoload :PremiumMessagingRegionsProperties, '2017-04-01/generated/azure_mgmt_service_bus/models/premium_messaging_regions_properties.rb'
44
+ autoload :CaptureDescription, '2017-04-01/generated/azure_mgmt_service_bus/models/capture_description.rb'
45
+ autoload :SBSubscriptionListResult, '2017-04-01/generated/azure_mgmt_service_bus/models/sbsubscription_list_result.rb'
46
+ autoload :AuthorizationRuleProperties, '2017-04-01/generated/azure_mgmt_service_bus/models/authorization_rule_properties.rb'
47
+ autoload :CheckNameAvailability, '2017-04-01/generated/azure_mgmt_service_bus/models/check_name_availability.rb'
48
+ autoload :RegenerateAccessKeyParameters, '2017-04-01/generated/azure_mgmt_service_bus/models/regenerate_access_key_parameters.rb'
49
+ autoload :RuleListResult, '2017-04-01/generated/azure_mgmt_service_bus/models/rule_list_result.rb'
50
+ autoload :Destination, '2017-04-01/generated/azure_mgmt_service_bus/models/destination.rb'
51
+ autoload :OperationDisplay, '2017-04-01/generated/azure_mgmt_service_bus/models/operation_display.rb'
52
+ autoload :ArmDisasterRecoveryListResult, '2017-04-01/generated/azure_mgmt_service_bus/models/arm_disaster_recovery_list_result.rb'
53
+ autoload :Operation, '2017-04-01/generated/azure_mgmt_service_bus/models/operation.rb'
54
+ autoload :SBAuthorizationRuleListResult, '2017-04-01/generated/azure_mgmt_service_bus/models/sbauthorization_rule_list_result.rb'
55
+ autoload :OperationListResult, '2017-04-01/generated/azure_mgmt_service_bus/models/operation_list_result.rb'
56
+ autoload :MessageCountDetails, '2017-04-01/generated/azure_mgmt_service_bus/models/message_count_details.rb'
57
+ autoload :ErrorResponse, '2017-04-01/generated/azure_mgmt_service_bus/models/error_response.rb'
58
+ autoload :EventHubListResult, '2017-04-01/generated/azure_mgmt_service_bus/models/event_hub_list_result.rb'
59
+ autoload :Action, '2017-04-01/generated/azure_mgmt_service_bus/models/action.rb'
60
+ autoload :SqlFilter, '2017-04-01/generated/azure_mgmt_service_bus/models/sql_filter.rb'
61
+ autoload :AccessKeys, '2017-04-01/generated/azure_mgmt_service_bus/models/access_keys.rb'
62
+ autoload :CorrelationFilter, '2017-04-01/generated/azure_mgmt_service_bus/models/correlation_filter.rb'
63
+ autoload :TrackedResource, '2017-04-01/generated/azure_mgmt_service_bus/models/tracked_resource.rb'
64
+ autoload :ResourceNamespacePatch, '2017-04-01/generated/azure_mgmt_service_bus/models/resource_namespace_patch.rb'
65
+ autoload :SBNamespace, '2017-04-01/generated/azure_mgmt_service_bus/models/sbnamespace.rb'
66
+ autoload :SBNamespaceUpdateParameters, '2017-04-01/generated/azure_mgmt_service_bus/models/sbnamespace_update_parameters.rb'
67
+ autoload :SBAuthorizationRule, '2017-04-01/generated/azure_mgmt_service_bus/models/sbauthorization_rule.rb'
68
+ autoload :SBQueue, '2017-04-01/generated/azure_mgmt_service_bus/models/sbqueue.rb'
69
+ autoload :SBTopic, '2017-04-01/generated/azure_mgmt_service_bus/models/sbtopic.rb'
70
+ autoload :SBSubscription, '2017-04-01/generated/azure_mgmt_service_bus/models/sbsubscription.rb'
71
+ autoload :Rule, '2017-04-01/generated/azure_mgmt_service_bus/models/rule.rb'
72
+ autoload :SqlRuleAction, '2017-04-01/generated/azure_mgmt_service_bus/models/sql_rule_action.rb'
73
+ autoload :PremiumMessagingRegions, '2017-04-01/generated/azure_mgmt_service_bus/models/premium_messaging_regions.rb'
74
+ autoload :Eventhub, '2017-04-01/generated/azure_mgmt_service_bus/models/eventhub.rb'
75
+ autoload :ArmDisasterRecovery, '2017-04-01/generated/azure_mgmt_service_bus/models/arm_disaster_recovery.rb'
76
+ autoload :SkuName, '2017-04-01/generated/azure_mgmt_service_bus/models/sku_name.rb'
77
+ autoload :SkuTier, '2017-04-01/generated/azure_mgmt_service_bus/models/sku_tier.rb'
78
+ autoload :AccessRights, '2017-04-01/generated/azure_mgmt_service_bus/models/access_rights.rb'
79
+ autoload :KeyType, '2017-04-01/generated/azure_mgmt_service_bus/models/key_type.rb'
80
+ autoload :EntityStatus, '2017-04-01/generated/azure_mgmt_service_bus/models/entity_status.rb'
81
+ autoload :UnavailableReason, '2017-04-01/generated/azure_mgmt_service_bus/models/unavailable_reason.rb'
82
+ autoload :FilterType, '2017-04-01/generated/azure_mgmt_service_bus/models/filter_type.rb'
83
+ autoload :EncodingCaptureDescription, '2017-04-01/generated/azure_mgmt_service_bus/models/encoding_capture_description.rb'
84
+ autoload :ProvisioningStateDR, '2017-04-01/generated/azure_mgmt_service_bus/models/provisioning_state_dr.rb'
85
+ autoload :RoleDisasterRecovery, '2017-04-01/generated/azure_mgmt_service_bus/models/role_disaster_recovery.rb'
86
+ end
87
+ 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::ServiceBus
6
+ module Azure::ServiceBus::Mgmt::V2017_04_01
7
7
  #
8
8
  # Azure Service Bus client
9
9
  #
@@ -102,7 +102,7 @@ module Azure::ARM::ServiceBus
102
102
  if status_code == 200
103
103
  begin
104
104
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
105
- result_mapper = Azure::ARM::ServiceBus::Models::ArmDisasterRecoveryListResult.mapper()
105
+ result_mapper = Azure::ServiceBus::Mgmt::V2017_04_01::Models::ArmDisasterRecoveryListResult.mapper()
106
106
  result.body = @client.deserialize(result_mapper, parsed_response)
107
107
  rescue Exception => e
108
108
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -184,7 +184,7 @@ module Azure::ARM::ServiceBus
184
184
  request_headers['Content-Type'] = 'application/json; charset=utf-8'
185
185
 
186
186
  # Serialize Request
187
- request_mapper = Azure::ARM::ServiceBus::Models::ArmDisasterRecovery.mapper()
187
+ request_mapper = Azure::ServiceBus::Mgmt::V2017_04_01::Models::ArmDisasterRecovery.mapper()
188
188
  request_content = @client.serialize(request_mapper, parameters)
189
189
  request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
190
190
 
@@ -216,7 +216,7 @@ module Azure::ARM::ServiceBus
216
216
  if status_code == 200
217
217
  begin
218
218
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
219
- result_mapper = Azure::ARM::ServiceBus::Models::ArmDisasterRecovery.mapper()
219
+ result_mapper = Azure::ServiceBus::Mgmt::V2017_04_01::Models::ArmDisasterRecovery.mapper()
220
220
  result.body = @client.deserialize(result_mapper, parsed_response)
221
221
  rescue Exception => e
222
222
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -404,7 +404,7 @@ module Azure::ARM::ServiceBus
404
404
  if status_code == 200
405
405
  begin
406
406
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
407
- result_mapper = Azure::ARM::ServiceBus::Models::ArmDisasterRecovery.mapper()
407
+ result_mapper = Azure::ServiceBus::Mgmt::V2017_04_01::Models::ArmDisasterRecovery.mapper()
408
408
  result.body = @client.deserialize(result_mapper, parsed_response)
409
409
  rescue Exception => e
410
410
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -671,7 +671,7 @@ module Azure::ARM::ServiceBus
671
671
  if status_code == 200
672
672
  begin
673
673
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
674
- result_mapper = Azure::ARM::ServiceBus::Models::ArmDisasterRecoveryListResult.mapper()
674
+ result_mapper = Azure::ServiceBus::Mgmt::V2017_04_01::Models::ArmDisasterRecoveryListResult.mapper()
675
675
  result.body = @client.deserialize(result_mapper, parsed_response)
676
676
  rescue Exception => e
677
677
  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::ServiceBus
6
+ module Azure::ServiceBus::Mgmt::V2017_04_01
7
7
  #
8
8
  # Azure Service Bus client
9
9
  #
@@ -102,7 +102,7 @@ module Azure::ARM::ServiceBus
102
102
  if status_code == 200
103
103
  begin
104
104
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
105
- result_mapper = Azure::ARM::ServiceBus::Models::EventHubListResult.mapper()
105
+ result_mapper = Azure::ServiceBus::Mgmt::V2017_04_01::Models::EventHubListResult.mapper()
106
106
  result.body = @client.deserialize(result_mapper, parsed_response)
107
107
  rescue Exception => e
108
108
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -189,7 +189,7 @@ module Azure::ARM::ServiceBus
189
189
  if status_code == 200
190
190
  begin
191
191
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
192
- result_mapper = Azure::ARM::ServiceBus::Models::EventHubListResult.mapper()
192
+ result_mapper = Azure::ServiceBus::Mgmt::V2017_04_01::Models::EventHubListResult.mapper()
193
193
  result.body = @client.deserialize(result_mapper, parsed_response)
194
194
  rescue Exception => e
195
195
  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::ServiceBus
6
+ module Azure::ServiceBus::Mgmt::V2017_04_01
7
7
  module Models
8
8
  #
9
9
  # Namespace/ServiceBus Connection String
@@ -0,0 +1,17 @@
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::ServiceBus::Mgmt::V2017_04_01
7
+ module Models
8
+ #
9
+ # Defines values for AccessRights
10
+ #
11
+ module AccessRights
12
+ Manage = "Manage"
13
+ Send = "Send"
14
+ Listen = "Listen"
15
+ end
16
+ end
17
+ 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::ServiceBus
6
+ module Azure::ServiceBus::Mgmt::V2017_04_01
7
7
  module Models
8
8
  #
9
9
  # Represents the filter actions which are allowed for the transformation of
@@ -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::ServiceBus
6
+ module Azure::ServiceBus::Mgmt::V2017_04_01
7
7
  module Models
8
8
  #
9
9
  # Single item in List or Get Alias(Disaster Recovery configuration)
@@ -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::ServiceBus
6
+ module Azure::ServiceBus::Mgmt::V2017_04_01
7
7
  module Models
8
8
  #
9
9
  # The result of the List Alias(Disaster Recovery configuration) operation.
@@ -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::ServiceBus
6
+ module Azure::ServiceBus::Mgmt::V2017_04_01
7
7
  module Models
8
8
  #
9
9
  # AuthorizationRule properties.
@@ -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::ServiceBus
6
+ module Azure::ServiceBus::Mgmt::V2017_04_01
7
7
  module Models
8
8
  #
9
9
  # Properties to configure capture description for eventhub
@@ -0,0 +1,47 @@
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::ServiceBus::Mgmt::V2017_04_01
7
+ module Models
8
+ #
9
+ # Description of a Check Name availability request properties.
10
+ #
11
+ class CheckNameAvailability
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] The Name to check the namespce name availability and
16
+ # The namespace name can contain only letters, numbers, and hyphens. The
17
+ # namespace must start with a letter, and it must end with a letter or
18
+ # number.
19
+ attr_accessor :name
20
+
21
+
22
+ #
23
+ # Mapper for CheckNameAvailability class as Ruby Hash.
24
+ # This will be used for serialization/deserialization.
25
+ #
26
+ def self.mapper()
27
+ {
28
+ required: false,
29
+ serialized_name: 'CheckNameAvailability',
30
+ type: {
31
+ name: 'Composite',
32
+ class_name: 'CheckNameAvailability',
33
+ model_properties: {
34
+ name: {
35
+ required: true,
36
+ serialized_name: 'name',
37
+ type: {
38
+ name: 'String'
39
+ }
40
+ }
41
+ }
42
+ }
43
+ }
44
+ end
45
+ end
46
+ end
47
+ 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::ServiceBus
6
+ module Azure::ServiceBus::Mgmt::V2017_04_01
7
7
  module Models
8
8
  #
9
9
  # Description of a Check Name availability request properties.
@@ -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::ServiceBus
6
+ module Azure::ServiceBus::Mgmt::V2017_04_01
7
7
  module Models
8
8
  #
9
9
  # Represents the correlation filter expression.
@@ -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::ServiceBus
6
+ module Azure::ServiceBus::Mgmt::V2017_04_01
7
7
  module Models
8
8
  #
9
9
  # Capture storage details for capture description
@@ -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::ServiceBus
6
+ module Azure::ServiceBus::Mgmt::V2017_04_01
7
7
  module Models
8
8
  #
9
9
  # Defines values for EncodingCaptureDescription
@@ -0,0 +1,23 @@
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::ServiceBus::Mgmt::V2017_04_01
7
+ module Models
8
+ #
9
+ # Defines values for EntityStatus
10
+ #
11
+ module EntityStatus
12
+ Active = "Active"
13
+ Disabled = "Disabled"
14
+ Restoring = "Restoring"
15
+ SendDisabled = "SendDisabled"
16
+ ReceiveDisabled = "ReceiveDisabled"
17
+ Creating = "Creating"
18
+ Deleting = "Deleting"
19
+ Renaming = "Renaming"
20
+ Unknown = "Unknown"
21
+ end
22
+ end
23
+ 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::ServiceBus
6
+ module Azure::ServiceBus::Mgmt::V2017_04_01
7
7
  module Models
8
8
  #
9
9
  # Error reponse indicates ServiceBus service is not able to process the
@@ -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::ServiceBus
6
+ module Azure::ServiceBus::Mgmt::V2017_04_01
7
7
  module Models
8
8
  #
9
9
  # The result of the List EventHubs operation.
@@ -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::ServiceBus
6
+ module Azure::ServiceBus::Mgmt::V2017_04_01
7
7
  module Models
8
8
  #
9
9
  # Single item in List or Get Event Hub operation
@@ -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::ServiceBus
6
+ module Azure::ServiceBus::Mgmt::V2017_04_01
7
7
  module Models
8
8
  #
9
9
  # Defines values for FilterType
@@ -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::ServiceBus
6
+ module Azure::ServiceBus::Mgmt::V2017_04_01
7
7
  module Models
8
8
  #
9
9
  # Defines values for KeyType
@@ -0,0 +1,91 @@
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::ServiceBus::Mgmt::V2017_04_01
7
+ module Models
8
+ #
9
+ # Message Count Details.
10
+ #
11
+ class MessageCountDetails
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [Integer] Number of active messages in the queue, topic, or
16
+ # subscription.
17
+ attr_accessor :active_message_count
18
+
19
+ # @return [Integer] Number of messages that are dead lettered.
20
+ attr_accessor :dead_letter_message_count
21
+
22
+ # @return [Integer] Number of scheduled messages.
23
+ attr_accessor :scheduled_message_count
24
+
25
+ # @return [Integer] Number of messages transferred to another queue,
26
+ # topic, or subscription.
27
+ attr_accessor :transfer_message_count
28
+
29
+ # @return [Integer] Number of messages transferred into dead letters.
30
+ attr_accessor :transfer_dead_letter_message_count
31
+
32
+
33
+ #
34
+ # Mapper for MessageCountDetails class as Ruby Hash.
35
+ # This will be used for serialization/deserialization.
36
+ #
37
+ def self.mapper()
38
+ {
39
+ required: false,
40
+ serialized_name: 'MessageCountDetails',
41
+ type: {
42
+ name: 'Composite',
43
+ class_name: 'MessageCountDetails',
44
+ model_properties: {
45
+ active_message_count: {
46
+ required: false,
47
+ read_only: true,
48
+ serialized_name: 'activeMessageCount',
49
+ type: {
50
+ name: 'Number'
51
+ }
52
+ },
53
+ dead_letter_message_count: {
54
+ required: false,
55
+ read_only: true,
56
+ serialized_name: 'deadLetterMessageCount',
57
+ type: {
58
+ name: 'Number'
59
+ }
60
+ },
61
+ scheduled_message_count: {
62
+ required: false,
63
+ read_only: true,
64
+ serialized_name: 'scheduledMessageCount',
65
+ type: {
66
+ name: 'Number'
67
+ }
68
+ },
69
+ transfer_message_count: {
70
+ required: false,
71
+ read_only: true,
72
+ serialized_name: 'transferMessageCount',
73
+ type: {
74
+ name: 'Number'
75
+ }
76
+ },
77
+ transfer_dead_letter_message_count: {
78
+ required: false,
79
+ read_only: true,
80
+ serialized_name: 'transferDeadLetterMessageCount',
81
+ type: {
82
+ name: 'Number'
83
+ }
84
+ }
85
+ }
86
+ }
87
+ }
88
+ end
89
+ end
90
+ end
91
+ end