azure_mgmt_service_bus 0.8.0 → 0.9.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ca343fc691549dcba38f5e9e35bc34f63d7328f6
4
- data.tar.gz: fb55cd85bd72d66d0410ac61b70754203f43955a
3
+ metadata.gz: 8fb308dd4ae58c7f424e1249561fd494458c9ab0
4
+ data.tar.gz: 41be6cfc793ea94710a5b7ab28296f85373b0c21
5
5
  SHA512:
6
- metadata.gz: 0523dd17464d1bc1c962b7a3ac79e5a2dd1b568d7bf441f9c1b2a4aac1056a7d0701283d3d4ee63c6afcbe7e84d447eda9e8da627b0f9aeff812e9eb42aad493
7
- data.tar.gz: 4f45b6353b3ea04ca9b071801cd7d06ac5c94fa6b772e839fca7d0ebce4bc58a13c0ab5d8352947a3c475a033a8616531a74b42b10f444bff6e42579e779b142
6
+ metadata.gz: 45b9b94cde48a245228ce557b2c4729aaa04884367bff557932a98d153eddb287b52c49d806c2ac039417a43b29e463055ad180426dd3eb5363bb9adcbb88cfb
7
+ data.tar.gz: 3e32f4a47649f7dc4dd809a775f445eb02ecebd589cbe7c397e363b3c7c34f8ac5dc5a543c4d0accd23b9834fcd7e7f99218a0a3d3376862ab22ea766c408296
@@ -27,20 +27,20 @@ module Azure::ARM::ServiceBus
27
27
  autoload :ServiceBusManagementClient, 'generated/azure_mgmt_service_bus/service_bus_management_client.rb'
28
28
 
29
29
  module Models
30
- autoload :QueueCreateOrUpdateParameters, 'generated/azure_mgmt_service_bus/models/queue_create_or_update_parameters.rb'
31
30
  autoload :MessageCountDetails, 'generated/azure_mgmt_service_bus/models/message_count_details.rb'
32
- autoload :Sku, 'generated/azure_mgmt_service_bus/models/sku.rb'
33
- autoload :QueueListResult, 'generated/azure_mgmt_service_bus/models/queue_list_result.rb'
31
+ autoload :QueueCreateOrUpdateParameters, 'generated/azure_mgmt_service_bus/models/queue_create_or_update_parameters.rb'
34
32
  autoload :NamespaceCreateOrUpdateParameters, 'generated/azure_mgmt_service_bus/models/namespace_create_or_update_parameters.rb'
35
- autoload :SharedAccessAuthorizationRuleCreateOrUpdateParameters, 'generated/azure_mgmt_service_bus/models/shared_access_authorization_rule_create_or_update_parameters.rb'
33
+ autoload :Sku, 'generated/azure_mgmt_service_bus/models/sku.rb'
36
34
  autoload :NamespaceListResult, 'generated/azure_mgmt_service_bus/models/namespace_list_result.rb'
37
- autoload :SubscriptionListResult, 'generated/azure_mgmt_service_bus/models/subscription_list_result.rb'
35
+ autoload :SharedAccessAuthorizationRuleCreateOrUpdateParameters, 'generated/azure_mgmt_service_bus/models/shared_access_authorization_rule_create_or_update_parameters.rb'
36
+ autoload :TopicListResult, 'generated/azure_mgmt_service_bus/models/topic_list_result.rb'
37
+ autoload :SharedAccessAuthorizationRuleListResult, 'generated/azure_mgmt_service_bus/models/shared_access_authorization_rule_list_result.rb'
38
38
  autoload :RegenerateKeysParameters, 'generated/azure_mgmt_service_bus/models/regenerate_keys_parameters.rb'
39
- autoload :SubscriptionCreateOrUpdateParameters, 'generated/azure_mgmt_service_bus/models/subscription_create_or_update_parameters.rb'
39
+ autoload :QueueListResult, 'generated/azure_mgmt_service_bus/models/queue_list_result.rb'
40
40
  autoload :ResourceListKeys, 'generated/azure_mgmt_service_bus/models/resource_list_keys.rb'
41
41
  autoload :TopicCreateOrUpdateParameters, 'generated/azure_mgmt_service_bus/models/topic_create_or_update_parameters.rb'
42
- autoload :SharedAccessAuthorizationRuleListResult, 'generated/azure_mgmt_service_bus/models/shared_access_authorization_rule_list_result.rb'
43
- autoload :TopicListResult, 'generated/azure_mgmt_service_bus/models/topic_list_result.rb'
42
+ autoload :SubscriptionCreateOrUpdateParameters, 'generated/azure_mgmt_service_bus/models/subscription_create_or_update_parameters.rb'
43
+ autoload :SubscriptionListResult, 'generated/azure_mgmt_service_bus/models/subscription_list_result.rb'
44
44
  autoload :NamespaceResource, 'generated/azure_mgmt_service_bus/models/namespace_resource.rb'
45
45
  autoload :SharedAccessAuthorizationRuleResource, 'generated/azure_mgmt_service_bus/models/shared_access_authorization_rule_resource.rb'
46
46
  autoload :QueueResource, 'generated/azure_mgmt_service_bus/models/queue_resource.rb'
@@ -137,7 +137,7 @@ module Azure::ARM::ServiceBus
137
137
  },
138
138
  lock_duration: {
139
139
  required: false,
140
- serialized_name: 'properties.lockDuration ',
140
+ serialized_name: 'properties.lockDuration',
141
141
  type: {
142
142
  name: 'String'
143
143
  }
@@ -158,7 +158,7 @@ module Azure::ARM::ServiceBus
158
158
  },
159
159
  entity_availability_status: {
160
160
  required: false,
161
- serialized_name: 'properties.entityAvailabilityStatus ',
161
+ serialized_name: 'properties.entityAvailabilityStatus',
162
162
  type: {
163
163
  name: 'Enum',
164
164
  module: 'EntityAvailabilityStatus'
@@ -180,7 +180,7 @@ module Azure::ARM::ServiceBus
180
180
  },
181
181
  duplicate_detection_history_time_window: {
182
182
  required: false,
183
- serialized_name: 'properties.duplicateDetectionHistoryTimeWindow ',
183
+ serialized_name: 'properties.duplicateDetectionHistoryTimeWindow',
184
184
  type: {
185
185
  name: 'String'
186
186
  }
@@ -222,7 +222,7 @@ module Azure::ARM::ServiceBus
222
222
  },
223
223
  max_delivery_count: {
224
224
  required: false,
225
- serialized_name: 'properties.maxDeliveryCount ',
225
+ serialized_name: 'properties.maxDeliveryCount',
226
226
  type: {
227
227
  name: 'Number'
228
228
  }
@@ -236,7 +236,7 @@ module Azure::ARM::ServiceBus
236
236
  },
237
237
  message_count: {
238
238
  required: false,
239
- serialized_name: 'properties.messageCount ',
239
+ serialized_name: 'properties.messageCount',
240
240
  type: {
241
241
  name: 'Number'
242
242
  }
@@ -265,7 +265,7 @@ module Azure::ARM::ServiceBus
265
265
  },
266
266
  size_in_bytes: {
267
267
  required: false,
268
- serialized_name: 'properties.sizeInBytes ',
268
+ serialized_name: 'properties.sizeInBytes',
269
269
  type: {
270
270
  name: 'Number'
271
271
  }
@@ -162,7 +162,7 @@ module Azure::ARM::ServiceBus
162
162
  },
163
163
  lock_duration: {
164
164
  required: false,
165
- serialized_name: 'properties.lockDuration ',
165
+ serialized_name: 'properties.lockDuration',
166
166
  type: {
167
167
  name: 'String'
168
168
  }
@@ -183,7 +183,7 @@ module Azure::ARM::ServiceBus
183
183
  },
184
184
  entity_availability_status: {
185
185
  required: false,
186
- serialized_name: 'properties.entityAvailabilityStatus ',
186
+ serialized_name: 'properties.entityAvailabilityStatus',
187
187
  type: {
188
188
  name: 'Enum',
189
189
  module: 'EntityAvailabilityStatus'
@@ -205,7 +205,7 @@ module Azure::ARM::ServiceBus
205
205
  },
206
206
  duplicate_detection_history_time_window: {
207
207
  required: false,
208
- serialized_name: 'properties.duplicateDetectionHistoryTimeWindow ',
208
+ serialized_name: 'properties.duplicateDetectionHistoryTimeWindow',
209
209
  type: {
210
210
  name: 'String'
211
211
  }
@@ -247,7 +247,7 @@ module Azure::ARM::ServiceBus
247
247
  },
248
248
  max_delivery_count: {
249
249
  required: false,
250
- serialized_name: 'properties.maxDeliveryCount ',
250
+ serialized_name: 'properties.maxDeliveryCount',
251
251
  type: {
252
252
  name: 'Number'
253
253
  }
@@ -261,7 +261,7 @@ module Azure::ARM::ServiceBus
261
261
  },
262
262
  message_count: {
263
263
  required: false,
264
- serialized_name: 'properties.messageCount ',
264
+ serialized_name: 'properties.messageCount',
265
265
  type: {
266
266
  name: 'Number'
267
267
  }
@@ -290,7 +290,7 @@ module Azure::ARM::ServiceBus
290
290
  },
291
291
  size_in_bytes: {
292
292
  required: false,
293
- serialized_name: 'properties.sizeInBytes ',
293
+ serialized_name: 'properties.sizeInBytes',
294
294
  type: {
295
295
  name: 'Number'
296
296
  }
@@ -145,7 +145,7 @@ module Azure::ARM::ServiceBus
145
145
  },
146
146
  entity_availability_status: {
147
147
  required: false,
148
- serialized_name: 'properties.entityAvailabilityStatus ',
148
+ serialized_name: 'properties.entityAvailabilityStatus',
149
149
  type: {
150
150
  name: 'Enum',
151
151
  module: 'EntityAvailabilityStatus'
@@ -175,7 +175,7 @@ module Azure::ARM::ServiceBus
175
175
  },
176
176
  duplicate_detection_history_time_window: {
177
177
  required: false,
178
- serialized_name: 'properties.duplicateDetectionHistoryTimeWindow ',
178
+ serialized_name: 'properties.duplicateDetectionHistoryTimeWindow',
179
179
  type: {
180
180
  name: 'String'
181
181
  }
@@ -170,7 +170,7 @@ module Azure::ARM::ServiceBus
170
170
  },
171
171
  entity_availability_status: {
172
172
  required: false,
173
- serialized_name: 'properties.entityAvailabilityStatus ',
173
+ serialized_name: 'properties.entityAvailabilityStatus',
174
174
  type: {
175
175
  name: 'Enum',
176
176
  module: 'EntityAvailabilityStatus'
@@ -200,7 +200,7 @@ module Azure::ARM::ServiceBus
200
200
  },
201
201
  duplicate_detection_history_time_window: {
202
202
  required: false,
203
- serialized_name: 'properties.duplicateDetectionHistoryTimeWindow ',
203
+ serialized_name: 'properties.duplicateDetectionHistoryTimeWindow',
204
204
  type: {
205
205
  name: 'String'
206
206
  }
@@ -54,12 +54,11 @@ module Azure::ARM::ServiceBus
54
54
  # @param base_url [String] the base URI of the service.
55
55
  # @param options [Array] filters to be applied to the HTTP requests.
56
56
  #
57
- def initialize(credentials, base_url = nil, options = nil)
57
+ def initialize(credentials = nil, base_url = nil, options = nil)
58
58
  super(credentials, options)
59
59
  @base_url = base_url || 'https://management.azure.com'
60
60
 
61
- fail ArgumentError, 'credentials is nil' if credentials.nil?
62
- fail ArgumentError, 'invalid type of credentials input parameter' unless credentials.is_a?(MsRest::ServiceClientCredentials)
61
+ fail ArgumentError, 'invalid type of credentials input parameter' unless credentials.is_a?(MsRest::ServiceClientCredentials) unless credentials.nil?
63
62
  @credentials = credentials
64
63
 
65
64
  @namespaces = Namespaces.new(self)
@@ -75,7 +74,7 @@ module Azure::ARM::ServiceBus
75
74
 
76
75
  #
77
76
  # Makes a request and returns the body of the response.
78
- # @param method [Symbol] with any of the following values :get, :put, :post, :patch, :delete.
77
+ # @param method [Symbol] with any of the following values :get, :put, :post, :patch, :delete.
79
78
  # @param path [String] the path, relative to {base_url}.
80
79
  # @param options [Hash{String=>String}] specifying any request options like :body.
81
80
  # @return [Hash{String=>String}] containing the body of the response.
@@ -136,7 +135,7 @@ module Azure::ARM::ServiceBus
136
135
  def add_telemetry
137
136
  sdk_information = 'azure_mgmt_service_bus'
138
137
  if defined? Azure::ARM::ServiceBus::VERSION
139
- sdk_information = "#{sdk_information}/#{Azure::ARM::ServiceBus::VERSION}"
138
+ sdk_information = "#{sdk_information}/#{Azure::ARM::ServiceBus::VERSION}"
140
139
  end
141
140
  add_user_agent_information(sdk_information)
142
141
  end
@@ -4,5 +4,5 @@
4
4
  # regenerated.
5
5
 
6
6
  module Azure::ARM::ServiceBus
7
- VERSION = '0.8.0'
7
+ VERSION = '0.9.0'
8
8
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: azure_mgmt_service_bus
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.0
4
+ version: 0.9.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Microsoft Corporation
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-11-16 00:00:00.000000000 Z
11
+ date: 2017-02-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -72,14 +72,14 @@ dependencies:
72
72
  requirements:
73
73
  - - "~>"
74
74
  - !ruby/object:Gem::Version
75
- version: 0.6.2
75
+ version: 0.7.0
76
76
  type: :runtime
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
80
  - - "~>"
81
81
  - !ruby/object:Gem::Version
82
- version: 0.6.2
82
+ version: 0.7.0
83
83
  description: Microsoft Azure Service Bus Management Client Library for Ruby
84
84
  email: azrubyteam@microsoft.com
85
85
  executables: []