azure_mgmt_service_bus 0.16.0 → 0.17.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (22) hide show
  1. checksums.yaml +4 -4
  2. data/lib/2015-08-01/generated/azure_mgmt_service_bus/models/topic_create_or_update_parameters.rb +0 -12
  3. data/lib/2015-08-01/generated/azure_mgmt_service_bus/models/topic_resource.rb +0 -12
  4. data/lib/2015-08-01/generated/azure_mgmt_service_bus/queues.rb +111 -0
  5. data/lib/2015-08-01/generated/azure_mgmt_service_bus/service_bus_management_client.rb +7 -6
  6. data/lib/2015-08-01/generated/azure_mgmt_service_bus/topics.rb +111 -0
  7. data/lib/2017-04-01/generated/azure_mgmt_service_bus.rb +20 -17
  8. data/lib/2017-04-01/generated/azure_mgmt_service_bus/migration_configs.rb +777 -0
  9. data/lib/2017-04-01/generated/azure_mgmt_service_bus/models/arm_disaster_recovery.rb +12 -0
  10. data/lib/2017-04-01/generated/azure_mgmt_service_bus/models/correlation_filter.rb +19 -0
  11. data/lib/2017-04-01/generated/azure_mgmt_service_bus/models/migration_config_list_result.rb +100 -0
  12. data/lib/2017-04-01/generated/azure_mgmt_service_bus/models/migration_config_properties.rb +109 -0
  13. data/lib/2017-04-01/generated/azure_mgmt_service_bus/models/sbqueue.rb +12 -0
  14. data/lib/2017-04-01/generated/azure_mgmt_service_bus/queues.rb +36 -8
  15. data/lib/2017-04-01/generated/azure_mgmt_service_bus/rules.rb +36 -8
  16. data/lib/2017-04-01/generated/azure_mgmt_service_bus/service_bus_management_client.rb +11 -6
  17. data/lib/2017-04-01/generated/azure_mgmt_service_bus/subscriptions.rb +36 -8
  18. data/lib/2017-04-01/generated/azure_mgmt_service_bus/topics.rb +36 -8
  19. data/lib/azure_mgmt_service_bus.rb +1 -1
  20. data/lib/profiles/latest/modules/servicebus_profile_module.rb +64 -54
  21. data/lib/version.rb +1 -1
  22. metadata +8 -5
@@ -25,15 +25,16 @@ module Azure::ServiceBus::Mgmt::V2017_04_01
25
25
  # @return [String] Client API version.
26
26
  attr_reader :api_version
27
27
 
28
- # @return [String] Gets or sets the preferred language for the response.
28
+ # @return [String] The preferred language for the response.
29
29
  attr_accessor :accept_language
30
30
 
31
- # @return [Integer] Gets or sets the retry timeout in seconds for Long
32
- # Running Operations. Default value is 30.
31
+ # @return [Integer] The retry timeout in seconds for Long Running
32
+ # Operations. Default value is 30.
33
33
  attr_accessor :long_running_operation_retry_timeout
34
34
 
35
- # @return [Boolean] When set to true a unique x-ms-client-request-id value
36
- # is generated and included in each request. Default is true.
35
+ # @return [Boolean] Whether a unique x-ms-client-request-id should be
36
+ # generated. When set to true a unique x-ms-client-request-id value is
37
+ # generated and included in each request. Default is true.
37
38
  attr_accessor :generate_client_request_id
38
39
 
39
40
  # @return [Operations] operations
@@ -45,6 +46,9 @@ module Azure::ServiceBus::Mgmt::V2017_04_01
45
46
  # @return [DisasterRecoveryConfigs] disaster_recovery_configs
46
47
  attr_reader :disaster_recovery_configs
47
48
 
49
+ # @return [MigrationConfigs] migration_configs
50
+ attr_reader :migration_configs
51
+
48
52
  # @return [Queues] queues
49
53
  attr_reader :queues
50
54
 
@@ -83,6 +87,7 @@ module Azure::ServiceBus::Mgmt::V2017_04_01
83
87
  @operations = Operations.new(self)
84
88
  @namespaces = Namespaces.new(self)
85
89
  @disaster_recovery_configs = DisasterRecoveryConfigs.new(self)
90
+ @migration_configs = MigrationConfigs.new(self)
86
91
  @queues = Queues.new(self)
87
92
  @topics = Topics.new(self)
88
93
  @subscriptions = Subscriptions.new(self)
@@ -162,7 +167,7 @@ module Azure::ServiceBus::Mgmt::V2017_04_01
162
167
  #
163
168
  def add_telemetry
164
169
  sdk_information = 'azure_mgmt_service_bus'
165
- sdk_information = "#{sdk_information}/0.16.0"
170
+ sdk_information = "#{sdk_information}/0.17.0"
166
171
  add_user_agent_information(sdk_information)
167
172
  end
168
173
  end
@@ -28,13 +28,19 @@ module Azure::ServiceBus::Mgmt::V2017_04_01
28
28
  # Azure subscription.
29
29
  # @param namespace_name [String] The namespace name
30
30
  # @param topic_name [String] The topic name.
31
+ # @param skip [Integer] Skip is only used if a previous operation returned a
32
+ # partial result. If a previous response contains a nextLink element, the value
33
+ # of the nextLink element will include a skip parameter that specifies a
34
+ # starting point to use for subsequent calls.
35
+ # @param top [Integer] May be used to limit the number of results to the most
36
+ # recent N usageDetails.
31
37
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
32
38
  # will be added to the HTTP request.
33
39
  #
34
40
  # @return [Array<SBSubscription>] operation results.
35
41
  #
36
- def list_by_topic(resource_group_name, namespace_name, topic_name, custom_headers:nil)
37
- first_page = list_by_topic_as_lazy(resource_group_name, namespace_name, topic_name, custom_headers:custom_headers)
42
+ def list_by_topic(resource_group_name, namespace_name, topic_name, skip:nil, top:nil, custom_headers:nil)
43
+ first_page = list_by_topic_as_lazy(resource_group_name, namespace_name, topic_name, skip:skip, top:top, custom_headers:custom_headers)
38
44
  first_page.get_all_items
39
45
  end
40
46
 
@@ -45,13 +51,19 @@ module Azure::ServiceBus::Mgmt::V2017_04_01
45
51
  # Azure subscription.
46
52
  # @param namespace_name [String] The namespace name
47
53
  # @param topic_name [String] The topic name.
54
+ # @param skip [Integer] Skip is only used if a previous operation returned a
55
+ # partial result. If a previous response contains a nextLink element, the value
56
+ # of the nextLink element will include a skip parameter that specifies a
57
+ # starting point to use for subsequent calls.
58
+ # @param top [Integer] May be used to limit the number of results to the most
59
+ # recent N usageDetails.
48
60
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
49
61
  # will be added to the HTTP request.
50
62
  #
51
63
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
52
64
  #
53
- def list_by_topic_with_http_info(resource_group_name, namespace_name, topic_name, custom_headers:nil)
54
- list_by_topic_async(resource_group_name, namespace_name, topic_name, custom_headers:custom_headers).value!
65
+ def list_by_topic_with_http_info(resource_group_name, namespace_name, topic_name, skip:nil, top:nil, custom_headers:nil)
66
+ list_by_topic_async(resource_group_name, namespace_name, topic_name, skip:skip, top:top, custom_headers:custom_headers).value!
55
67
  end
56
68
 
57
69
  #
@@ -61,12 +73,18 @@ module Azure::ServiceBus::Mgmt::V2017_04_01
61
73
  # Azure subscription.
62
74
  # @param namespace_name [String] The namespace name
63
75
  # @param topic_name [String] The topic name.
76
+ # @param skip [Integer] Skip is only used if a previous operation returned a
77
+ # partial result. If a previous response contains a nextLink element, the value
78
+ # of the nextLink element will include a skip parameter that specifies a
79
+ # starting point to use for subsequent calls.
80
+ # @param top [Integer] May be used to limit the number of results to the most
81
+ # recent N usageDetails.
64
82
  # @param [Hash{String => String}] A hash of custom headers that will be added
65
83
  # to the HTTP request.
66
84
  #
67
85
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
68
86
  #
69
- def list_by_topic_async(resource_group_name, namespace_name, topic_name, custom_headers:nil)
87
+ def list_by_topic_async(resource_group_name, namespace_name, topic_name, skip:nil, top:nil, custom_headers:nil)
70
88
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
71
89
  fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
72
90
  fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
@@ -77,6 +95,10 @@ module Azure::ServiceBus::Mgmt::V2017_04_01
77
95
  fail ArgumentError, "'topic_name' should satisfy the constraint - 'MinLength': '1'" if !topic_name.nil? && topic_name.length < 1
78
96
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
79
97
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
98
+ fail ArgumentError, "'skip' should satisfy the constraint - 'InclusiveMaximum': '1000'" if !skip.nil? && skip > 1000
99
+ fail ArgumentError, "'skip' should satisfy the constraint - 'InclusiveMinimum': '0'" if !skip.nil? && skip < 0
100
+ fail ArgumentError, "'top' should satisfy the constraint - 'InclusiveMaximum': '1000'" if !top.nil? && top > 1000
101
+ fail ArgumentError, "'top' should satisfy the constraint - 'InclusiveMinimum': '1'" if !top.nil? && top < 1
80
102
 
81
103
 
82
104
  request_headers = {}
@@ -92,7 +114,7 @@ module Azure::ServiceBus::Mgmt::V2017_04_01
92
114
  options = {
93
115
  middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
94
116
  path_params: {'resourceGroupName' => resource_group_name,'namespaceName' => namespace_name,'topicName' => topic_name,'subscriptionId' => @client.subscription_id},
95
- query_params: {'api-version' => @client.api_version},
117
+ query_params: {'api-version' => @client.api_version,'$skip' => skip,'$top' => top},
96
118
  headers: request_headers.merge(custom_headers || {}),
97
119
  base_url: request_url
98
120
  }
@@ -553,14 +575,20 @@ module Azure::ServiceBus::Mgmt::V2017_04_01
553
575
  # Azure subscription.
554
576
  # @param namespace_name [String] The namespace name
555
577
  # @param topic_name [String] The topic name.
578
+ # @param skip [Integer] Skip is only used if a previous operation returned a
579
+ # partial result. If a previous response contains a nextLink element, the value
580
+ # of the nextLink element will include a skip parameter that specifies a
581
+ # starting point to use for subsequent calls.
582
+ # @param top [Integer] May be used to limit the number of results to the most
583
+ # recent N usageDetails.
556
584
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
557
585
  # will be added to the HTTP request.
558
586
  #
559
587
  # @return [SBSubscriptionListResult] which provide lazy access to pages of the
560
588
  # response.
561
589
  #
562
- def list_by_topic_as_lazy(resource_group_name, namespace_name, topic_name, custom_headers:nil)
563
- response = list_by_topic_async(resource_group_name, namespace_name, topic_name, custom_headers:custom_headers).value!
590
+ def list_by_topic_as_lazy(resource_group_name, namespace_name, topic_name, skip:nil, top:nil, custom_headers:nil)
591
+ response = list_by_topic_async(resource_group_name, namespace_name, topic_name, skip:skip, top:top, custom_headers:custom_headers).value!
564
592
  unless response.nil?
565
593
  page = response.body
566
594
  page.next_method = Proc.new do |next_page_link|
@@ -27,13 +27,19 @@ module Azure::ServiceBus::Mgmt::V2017_04_01
27
27
  # @param resource_group_name [String] Name of the Resource group within the
28
28
  # Azure subscription.
29
29
  # @param namespace_name [String] The namespace name
30
+ # @param skip [Integer] Skip is only used if a previous operation returned a
31
+ # partial result. If a previous response contains a nextLink element, the value
32
+ # of the nextLink element will include a skip parameter that specifies a
33
+ # starting point to use for subsequent calls.
34
+ # @param top [Integer] May be used to limit the number of results to the most
35
+ # recent N usageDetails.
30
36
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
31
37
  # will be added to the HTTP request.
32
38
  #
33
39
  # @return [Array<SBTopic>] operation results.
34
40
  #
35
- def list_by_namespace(resource_group_name, namespace_name, custom_headers:nil)
36
- first_page = list_by_namespace_as_lazy(resource_group_name, namespace_name, custom_headers:custom_headers)
41
+ def list_by_namespace(resource_group_name, namespace_name, skip:nil, top:nil, custom_headers:nil)
42
+ first_page = list_by_namespace_as_lazy(resource_group_name, namespace_name, skip:skip, top:top, custom_headers:custom_headers)
37
43
  first_page.get_all_items
38
44
  end
39
45
 
@@ -43,13 +49,19 @@ module Azure::ServiceBus::Mgmt::V2017_04_01
43
49
  # @param resource_group_name [String] Name of the Resource group within the
44
50
  # Azure subscription.
45
51
  # @param namespace_name [String] The namespace name
52
+ # @param skip [Integer] Skip is only used if a previous operation returned a
53
+ # partial result. If a previous response contains a nextLink element, the value
54
+ # of the nextLink element will include a skip parameter that specifies a
55
+ # starting point to use for subsequent calls.
56
+ # @param top [Integer] May be used to limit the number of results to the most
57
+ # recent N usageDetails.
46
58
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
47
59
  # will be added to the HTTP request.
48
60
  #
49
61
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
50
62
  #
51
- def list_by_namespace_with_http_info(resource_group_name, namespace_name, custom_headers:nil)
52
- list_by_namespace_async(resource_group_name, namespace_name, custom_headers:custom_headers).value!
63
+ def list_by_namespace_with_http_info(resource_group_name, namespace_name, skip:nil, top:nil, custom_headers:nil)
64
+ list_by_namespace_async(resource_group_name, namespace_name, skip:skip, top:top, custom_headers:custom_headers).value!
53
65
  end
54
66
 
55
67
  #
@@ -58,12 +70,18 @@ module Azure::ServiceBus::Mgmt::V2017_04_01
58
70
  # @param resource_group_name [String] Name of the Resource group within the
59
71
  # Azure subscription.
60
72
  # @param namespace_name [String] The namespace name
73
+ # @param skip [Integer] Skip is only used if a previous operation returned a
74
+ # partial result. If a previous response contains a nextLink element, the value
75
+ # of the nextLink element will include a skip parameter that specifies a
76
+ # starting point to use for subsequent calls.
77
+ # @param top [Integer] May be used to limit the number of results to the most
78
+ # recent N usageDetails.
61
79
  # @param [Hash{String => String}] A hash of custom headers that will be added
62
80
  # to the HTTP request.
63
81
  #
64
82
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
65
83
  #
66
- def list_by_namespace_async(resource_group_name, namespace_name, custom_headers:nil)
84
+ def list_by_namespace_async(resource_group_name, namespace_name, skip:nil, top:nil, custom_headers:nil)
67
85
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
68
86
  fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
69
87
  fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
@@ -72,6 +90,10 @@ module Azure::ServiceBus::Mgmt::V2017_04_01
72
90
  fail ArgumentError, "'namespace_name' should satisfy the constraint - 'MinLength': '6'" if !namespace_name.nil? && namespace_name.length < 6
73
91
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
74
92
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
93
+ fail ArgumentError, "'skip' should satisfy the constraint - 'InclusiveMaximum': '1000'" if !skip.nil? && skip > 1000
94
+ fail ArgumentError, "'skip' should satisfy the constraint - 'InclusiveMinimum': '0'" if !skip.nil? && skip < 0
95
+ fail ArgumentError, "'top' should satisfy the constraint - 'InclusiveMaximum': '1000'" if !top.nil? && top > 1000
96
+ fail ArgumentError, "'top' should satisfy the constraint - 'InclusiveMinimum': '1'" if !top.nil? && top < 1
75
97
 
76
98
 
77
99
  request_headers = {}
@@ -87,7 +109,7 @@ module Azure::ServiceBus::Mgmt::V2017_04_01
87
109
  options = {
88
110
  middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
89
111
  path_params: {'resourceGroupName' => resource_group_name,'namespaceName' => namespace_name,'subscriptionId' => @client.subscription_id},
90
- query_params: {'api-version' => @client.api_version},
112
+ query_params: {'api-version' => @client.api_version,'$skip' => skip,'$top' => top},
91
113
  headers: request_headers.merge(custom_headers || {}),
92
114
  base_url: request_url
93
115
  }
@@ -1282,14 +1304,20 @@ module Azure::ServiceBus::Mgmt::V2017_04_01
1282
1304
  # @param resource_group_name [String] Name of the Resource group within the
1283
1305
  # Azure subscription.
1284
1306
  # @param namespace_name [String] The namespace name
1307
+ # @param skip [Integer] Skip is only used if a previous operation returned a
1308
+ # partial result. If a previous response contains a nextLink element, the value
1309
+ # of the nextLink element will include a skip parameter that specifies a
1310
+ # starting point to use for subsequent calls.
1311
+ # @param top [Integer] May be used to limit the number of results to the most
1312
+ # recent N usageDetails.
1285
1313
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
1286
1314
  # will be added to the HTTP request.
1287
1315
  #
1288
1316
  # @return [SBTopicListResult] which provide lazy access to pages of the
1289
1317
  # response.
1290
1318
  #
1291
- def list_by_namespace_as_lazy(resource_group_name, namespace_name, custom_headers:nil)
1292
- response = list_by_namespace_async(resource_group_name, namespace_name, custom_headers:custom_headers).value!
1319
+ def list_by_namespace_as_lazy(resource_group_name, namespace_name, skip:nil, top:nil, custom_headers:nil)
1320
+ response = list_by_namespace_async(resource_group_name, namespace_name, skip:skip, top:top, custom_headers:custom_headers).value!
1293
1321
  unless response.nil?
1294
1322
  page = response.body
1295
1323
  page.next_method = Proc.new do |next_page_link|
@@ -2,6 +2,6 @@
2
2
  # Copyright (c) Microsoft Corporation. All rights reserved.
3
3
  # Licensed under the MIT License. See License.txt in the project root for license information.
4
4
 
5
- require '2015-08-01/generated/azure_mgmt_service_bus'
6
5
  require '2017-04-01/generated/azure_mgmt_service_bus'
6
+ require '2015-08-01/generated/azure_mgmt_service_bus'
7
7
  require 'profiles/latest/servicebus_latest_profile_client'
@@ -9,6 +9,7 @@ module Azure::ServiceBus::Profiles::Latest
9
9
  Operations = Azure::ServiceBus::Mgmt::V2017_04_01::Operations
10
10
  Namespaces = Azure::ServiceBus::Mgmt::V2017_04_01::Namespaces
11
11
  DisasterRecoveryConfigs = Azure::ServiceBus::Mgmt::V2017_04_01::DisasterRecoveryConfigs
12
+ MigrationConfigs = Azure::ServiceBus::Mgmt::V2017_04_01::MigrationConfigs
12
13
  Queues = Azure::ServiceBus::Mgmt::V2017_04_01::Queues
13
14
  Topics = Azure::ServiceBus::Mgmt::V2017_04_01::Topics
14
15
  Subscriptions = Azure::ServiceBus::Mgmt::V2017_04_01::Subscriptions
@@ -18,33 +19,34 @@ module Azure::ServiceBus::Profiles::Latest
18
19
  EventHubs = Azure::ServiceBus::Mgmt::V2017_04_01::EventHubs
19
20
 
20
21
  module Models
21
- CheckNameAvailabilityResult = Azure::ServiceBus::Mgmt::V2017_04_01::Models::CheckNameAvailabilityResult
22
+ OperationDisplay = Azure::ServiceBus::Mgmt::V2017_04_01::Models::OperationDisplay
22
23
  SBQueueListResult = Azure::ServiceBus::Mgmt::V2017_04_01::Models::SBQueueListResult
23
- Resource = Azure::ServiceBus::Mgmt::V2017_04_01::Models::Resource
24
- PremiumMessagingRegionsListResult = Azure::ServiceBus::Mgmt::V2017_04_01::Models::PremiumMessagingRegionsListResult
25
- SBSku = Azure::ServiceBus::Mgmt::V2017_04_01::Models::SBSku
24
+ Destination = Azure::ServiceBus::Mgmt::V2017_04_01::Models::Destination
26
25
  SBTopicListResult = Azure::ServiceBus::Mgmt::V2017_04_01::Models::SBTopicListResult
27
- SBNamespaceListResult = Azure::ServiceBus::Mgmt::V2017_04_01::Models::SBNamespaceListResult
28
- PremiumMessagingRegionsProperties = Azure::ServiceBus::Mgmt::V2017_04_01::Models::PremiumMessagingRegionsProperties
29
- CaptureDescription = Azure::ServiceBus::Mgmt::V2017_04_01::Models::CaptureDescription
26
+ MigrationConfigListResult = Azure::ServiceBus::Mgmt::V2017_04_01::Models::MigrationConfigListResult
27
+ PremiumMessagingRegionsListResult = Azure::ServiceBus::Mgmt::V2017_04_01::Models::PremiumMessagingRegionsListResult
28
+ ArmDisasterRecoveryListResult = Azure::ServiceBus::Mgmt::V2017_04_01::Models::ArmDisasterRecoveryListResult
30
29
  SBSubscriptionListResult = Azure::ServiceBus::Mgmt::V2017_04_01::Models::SBSubscriptionListResult
31
- AuthorizationRuleProperties = Azure::ServiceBus::Mgmt::V2017_04_01::Models::AuthorizationRuleProperties
30
+ SBAuthorizationRuleListResult = Azure::ServiceBus::Mgmt::V2017_04_01::Models::SBAuthorizationRuleListResult
32
31
  CheckNameAvailability = Azure::ServiceBus::Mgmt::V2017_04_01::Models::CheckNameAvailability
33
- RegenerateAccessKeyParameters = Azure::ServiceBus::Mgmt::V2017_04_01::Models::RegenerateAccessKeyParameters
34
- RuleListResult = Azure::ServiceBus::Mgmt::V2017_04_01::Models::RuleListResult
35
- Destination = Azure::ServiceBus::Mgmt::V2017_04_01::Models::Destination
36
- OperationDisplay = Azure::ServiceBus::Mgmt::V2017_04_01::Models::OperationDisplay
37
- ArmDisasterRecoveryListResult = Azure::ServiceBus::Mgmt::V2017_04_01::Models::ArmDisasterRecoveryListResult
32
+ AccessKeys = Azure::ServiceBus::Mgmt::V2017_04_01::Models::AccessKeys
33
+ CheckNameAvailabilityResult = Azure::ServiceBus::Mgmt::V2017_04_01::Models::CheckNameAvailabilityResult
34
+ MessageCountDetails = Azure::ServiceBus::Mgmt::V2017_04_01::Models::MessageCountDetails
35
+ PremiumMessagingRegionsProperties = Azure::ServiceBus::Mgmt::V2017_04_01::Models::PremiumMessagingRegionsProperties
36
+ Resource = Azure::ServiceBus::Mgmt::V2017_04_01::Models::Resource
38
37
  Operation = Azure::ServiceBus::Mgmt::V2017_04_01::Models::Operation
39
- SBAuthorizationRuleListResult = Azure::ServiceBus::Mgmt::V2017_04_01::Models::SBAuthorizationRuleListResult
38
+ SBNamespaceListResult = Azure::ServiceBus::Mgmt::V2017_04_01::Models::SBNamespaceListResult
40
39
  OperationListResult = Azure::ServiceBus::Mgmt::V2017_04_01::Models::OperationListResult
41
- MessageCountDetails = Azure::ServiceBus::Mgmt::V2017_04_01::Models::MessageCountDetails
40
+ AuthorizationRuleProperties = Azure::ServiceBus::Mgmt::V2017_04_01::Models::AuthorizationRuleProperties
42
41
  ErrorResponse = Azure::ServiceBus::Mgmt::V2017_04_01::Models::ErrorResponse
43
- EventHubListResult = Azure::ServiceBus::Mgmt::V2017_04_01::Models::EventHubListResult
42
+ CaptureDescription = Azure::ServiceBus::Mgmt::V2017_04_01::Models::CaptureDescription
44
43
  Action = Azure::ServiceBus::Mgmt::V2017_04_01::Models::Action
44
+ EventHubListResult = Azure::ServiceBus::Mgmt::V2017_04_01::Models::EventHubListResult
45
45
  SqlFilter = Azure::ServiceBus::Mgmt::V2017_04_01::Models::SqlFilter
46
- AccessKeys = Azure::ServiceBus::Mgmt::V2017_04_01::Models::AccessKeys
46
+ SBSku = Azure::ServiceBus::Mgmt::V2017_04_01::Models::SBSku
47
47
  CorrelationFilter = Azure::ServiceBus::Mgmt::V2017_04_01::Models::CorrelationFilter
48
+ RegenerateAccessKeyParameters = Azure::ServiceBus::Mgmt::V2017_04_01::Models::RegenerateAccessKeyParameters
49
+ RuleListResult = Azure::ServiceBus::Mgmt::V2017_04_01::Models::RuleListResult
48
50
  TrackedResource = Azure::ServiceBus::Mgmt::V2017_04_01::Models::TrackedResource
49
51
  ResourceNamespacePatch = Azure::ServiceBus::Mgmt::V2017_04_01::Models::ResourceNamespacePatch
50
52
  SBNamespace = Azure::ServiceBus::Mgmt::V2017_04_01::Models::SBNamespace
@@ -58,6 +60,7 @@ module Azure::ServiceBus::Profiles::Latest
58
60
  PremiumMessagingRegions = Azure::ServiceBus::Mgmt::V2017_04_01::Models::PremiumMessagingRegions
59
61
  Eventhub = Azure::ServiceBus::Mgmt::V2017_04_01::Models::Eventhub
60
62
  ArmDisasterRecovery = Azure::ServiceBus::Mgmt::V2017_04_01::Models::ArmDisasterRecovery
63
+ MigrationConfigProperties = Azure::ServiceBus::Mgmt::V2017_04_01::Models::MigrationConfigProperties
61
64
  SkuName = Azure::ServiceBus::Mgmt::V2017_04_01::Models::SkuName
62
65
  SkuTier = Azure::ServiceBus::Mgmt::V2017_04_01::Models::SkuTier
63
66
  AccessRights = Azure::ServiceBus::Mgmt::V2017_04_01::Models::AccessRights
@@ -74,7 +77,7 @@ module Azure::ServiceBus::Profiles::Latest
74
77
  # ServiceBusManagementClass
75
78
  #
76
79
  class ServiceBusManagementClass
77
- attr_reader :operations, :namespaces, :disaster_recovery_configs, :queues, :topics, :subscriptions, :rules, :regions, :premium_messaging_regions_operations, :event_hubs, :configurable, :base_url, :options, :model_classes
80
+ attr_reader :operations, :namespaces, :disaster_recovery_configs, :migration_configs, :queues, :topics, :subscriptions, :rules, :regions, :premium_messaging_regions_operations, :event_hubs, :configurable, :base_url, :options, :model_classes
78
81
 
79
82
  def initialize(options = {})
80
83
  if options.is_a?(Hash) && options.length == 0
@@ -97,6 +100,7 @@ module Azure::ServiceBus::Profiles::Latest
97
100
  @operations = @client_0.operations
98
101
  @namespaces = @client_0.namespaces
99
102
  @disaster_recovery_configs = @client_0.disaster_recovery_configs
103
+ @migration_configs = @client_0.migration_configs
100
104
  @queues = @client_0.queues
101
105
  @topics = @client_0.topics
102
106
  @subscriptions = @client_0.subscriptions
@@ -124,87 +128,90 @@ module Azure::ServiceBus::Profiles::Latest
124
128
  end
125
129
 
126
130
  class ModelClasses
127
- def check_name_availability_result
128
- Azure::ServiceBus::Mgmt::V2017_04_01::Models::CheckNameAvailabilityResult
131
+ def operation_display
132
+ Azure::ServiceBus::Mgmt::V2017_04_01::Models::OperationDisplay
129
133
  end
130
134
  def sbqueue_list_result
131
135
  Azure::ServiceBus::Mgmt::V2017_04_01::Models::SBQueueListResult
132
136
  end
133
- def resource
134
- Azure::ServiceBus::Mgmt::V2017_04_01::Models::Resource
135
- end
136
- def premium_messaging_regions_list_result
137
- Azure::ServiceBus::Mgmt::V2017_04_01::Models::PremiumMessagingRegionsListResult
138
- end
139
- def sbsku
140
- Azure::ServiceBus::Mgmt::V2017_04_01::Models::SBSku
137
+ def destination
138
+ Azure::ServiceBus::Mgmt::V2017_04_01::Models::Destination
141
139
  end
142
140
  def sbtopic_list_result
143
141
  Azure::ServiceBus::Mgmt::V2017_04_01::Models::SBTopicListResult
144
142
  end
145
- def sbnamespace_list_result
146
- Azure::ServiceBus::Mgmt::V2017_04_01::Models::SBNamespaceListResult
143
+ def migration_config_list_result
144
+ Azure::ServiceBus::Mgmt::V2017_04_01::Models::MigrationConfigListResult
147
145
  end
148
- def premium_messaging_regions_properties
149
- Azure::ServiceBus::Mgmt::V2017_04_01::Models::PremiumMessagingRegionsProperties
146
+ def premium_messaging_regions_list_result
147
+ Azure::ServiceBus::Mgmt::V2017_04_01::Models::PremiumMessagingRegionsListResult
150
148
  end
151
- def capture_description
152
- Azure::ServiceBus::Mgmt::V2017_04_01::Models::CaptureDescription
149
+ def arm_disaster_recovery_list_result
150
+ Azure::ServiceBus::Mgmt::V2017_04_01::Models::ArmDisasterRecoveryListResult
153
151
  end
154
152
  def sbsubscription_list_result
155
153
  Azure::ServiceBus::Mgmt::V2017_04_01::Models::SBSubscriptionListResult
156
154
  end
157
- def authorization_rule_properties
158
- Azure::ServiceBus::Mgmt::V2017_04_01::Models::AuthorizationRuleProperties
155
+ def sbauthorization_rule_list_result
156
+ Azure::ServiceBus::Mgmt::V2017_04_01::Models::SBAuthorizationRuleListResult
159
157
  end
160
158
  def check_name_availability
161
159
  Azure::ServiceBus::Mgmt::V2017_04_01::Models::CheckNameAvailability
162
160
  end
163
- def regenerate_access_key_parameters
164
- Azure::ServiceBus::Mgmt::V2017_04_01::Models::RegenerateAccessKeyParameters
161
+ def access_keys
162
+ Azure::ServiceBus::Mgmt::V2017_04_01::Models::AccessKeys
165
163
  end
166
- def rule_list_result
167
- Azure::ServiceBus::Mgmt::V2017_04_01::Models::RuleListResult
164
+ def check_name_availability_result
165
+ Azure::ServiceBus::Mgmt::V2017_04_01::Models::CheckNameAvailabilityResult
168
166
  end
169
- def destination
170
- Azure::ServiceBus::Mgmt::V2017_04_01::Models::Destination
167
+ def message_count_details
168
+ Azure::ServiceBus::Mgmt::V2017_04_01::Models::MessageCountDetails
171
169
  end
172
- def operation_display
173
- Azure::ServiceBus::Mgmt::V2017_04_01::Models::OperationDisplay
170
+ def premium_messaging_regions_properties
171
+ Azure::ServiceBus::Mgmt::V2017_04_01::Models::PremiumMessagingRegionsProperties
174
172
  end
175
- def arm_disaster_recovery_list_result
176
- Azure::ServiceBus::Mgmt::V2017_04_01::Models::ArmDisasterRecoveryListResult
173
+ def resource
174
+ Azure::ServiceBus::Mgmt::V2017_04_01::Models::Resource
177
175
  end
178
176
  def operation
179
177
  Azure::ServiceBus::Mgmt::V2017_04_01::Models::Operation
180
178
  end
181
- def sbauthorization_rule_list_result
182
- Azure::ServiceBus::Mgmt::V2017_04_01::Models::SBAuthorizationRuleListResult
179
+ def sbnamespace_list_result
180
+ Azure::ServiceBus::Mgmt::V2017_04_01::Models::SBNamespaceListResult
183
181
  end
184
182
  def operation_list_result
185
183
  Azure::ServiceBus::Mgmt::V2017_04_01::Models::OperationListResult
186
184
  end
187
- def message_count_details
188
- Azure::ServiceBus::Mgmt::V2017_04_01::Models::MessageCountDetails
185
+ def authorization_rule_properties
186
+ Azure::ServiceBus::Mgmt::V2017_04_01::Models::AuthorizationRuleProperties
189
187
  end
190
188
  def error_response
191
189
  Azure::ServiceBus::Mgmt::V2017_04_01::Models::ErrorResponse
192
190
  end
193
- def event_hub_list_result
194
- Azure::ServiceBus::Mgmt::V2017_04_01::Models::EventHubListResult
191
+ def capture_description
192
+ Azure::ServiceBus::Mgmt::V2017_04_01::Models::CaptureDescription
195
193
  end
196
194
  def action
197
195
  Azure::ServiceBus::Mgmt::V2017_04_01::Models::Action
198
196
  end
197
+ def event_hub_list_result
198
+ Azure::ServiceBus::Mgmt::V2017_04_01::Models::EventHubListResult
199
+ end
199
200
  def sql_filter
200
201
  Azure::ServiceBus::Mgmt::V2017_04_01::Models::SqlFilter
201
202
  end
202
- def access_keys
203
- Azure::ServiceBus::Mgmt::V2017_04_01::Models::AccessKeys
203
+ def sbsku
204
+ Azure::ServiceBus::Mgmt::V2017_04_01::Models::SBSku
204
205
  end
205
206
  def correlation_filter
206
207
  Azure::ServiceBus::Mgmt::V2017_04_01::Models::CorrelationFilter
207
208
  end
209
+ def regenerate_access_key_parameters
210
+ Azure::ServiceBus::Mgmt::V2017_04_01::Models::RegenerateAccessKeyParameters
211
+ end
212
+ def rule_list_result
213
+ Azure::ServiceBus::Mgmt::V2017_04_01::Models::RuleListResult
214
+ end
208
215
  def tracked_resource
209
216
  Azure::ServiceBus::Mgmt::V2017_04_01::Models::TrackedResource
210
217
  end
@@ -244,6 +251,9 @@ module Azure::ServiceBus::Profiles::Latest
244
251
  def arm_disaster_recovery
245
252
  Azure::ServiceBus::Mgmt::V2017_04_01::Models::ArmDisasterRecovery
246
253
  end
254
+ def migration_config_properties
255
+ Azure::ServiceBus::Mgmt::V2017_04_01::Models::MigrationConfigProperties
256
+ end
247
257
  def sku_name
248
258
  Azure::ServiceBus::Mgmt::V2017_04_01::Models::SkuName
249
259
  end