azure_mgmt_service_bus 0.17.0 → 0.17.1

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 55c37bd0b0451342829fa9bb39a1f985a4d6d9d5
4
- data.tar.gz: caee3d7785e6e9f5c0f54a0a686dda3e0bfa21e9
2
+ SHA256:
3
+ metadata.gz: 5df829c287d827233113ce08355d39a65d7813b0f2e01d45ba94761b961eaf9d
4
+ data.tar.gz: 98164bcc2a24996e9a44c279916b0050495b34ec7b6c2d8de7ef20b038ad7bc0
5
5
  SHA512:
6
- metadata.gz: 90daa3527ff95d2cff8480fff380253965e9bdeb1ec85a817ab68050281af2e31fd48ad310530c5ba4995bb4a32c3ea68829aa0a640edf43a96e422bbf25b4cc
7
- data.tar.gz: 09e198adef9278c02bcbcc3671cd7c12a4371abb654171809239d9544b02a501cfcbf8172dc668c2c1286d187df7809db10afda87cc3cd504b09eca1c175bca8
6
+ metadata.gz: 6bc9fb5e02683fcfe623c91405b16849b57cd7f94b9a8c3cc4510cff5144c7ed9bea5cbe252341f54d84605441d6f7bdfcdaafcb02a9e3d571c3836484b3fe20
7
+ data.tar.gz: bd4bd5bb16ec875bbd0fc9098db73aa7c63788529c47249833ac1896bd3fd8d8e8c7e738fb6fc5b1866490b1c4287c43440ce5e98231e4105f01df2ab608389c
@@ -25,6 +25,15 @@ module Azure::ServiceBus::Mgmt::V2015_08_01
25
25
  attr_accessor :type
26
26
 
27
27
 
28
+ # @return [String] the name of the resource group of the resource.
29
+ def resource_group
30
+ unless self.id.nil?
31
+ groups = self.id.match(/.+\/resourceGroups\/([^\/]+)\/.+/)
32
+ groups.captures[0].strip if groups
33
+ end
34
+ end
35
+
36
+
28
37
  #
29
38
  # Mapper for Resource class as Ruby Hash.
30
39
  # This will be used for serialization/deserialization.
@@ -142,7 +142,7 @@ module Azure::ServiceBus::Mgmt::V2015_08_01
142
142
  #
143
143
  def add_telemetry
144
144
  sdk_information = 'azure_mgmt_service_bus'
145
- sdk_information = "#{sdk_information}/0.17.0"
145
+ sdk_information = "#{sdk_information}/0.17.1"
146
146
  add_user_agent_information(sdk_information)
147
147
  end
148
148
  end
@@ -22,6 +22,15 @@ module Azure::ServiceBus::Mgmt::V2017_04_01
22
22
  attr_accessor :type
23
23
 
24
24
 
25
+ # @return [String] the name of the resource group of the resource.
26
+ def resource_group
27
+ unless self.id.nil?
28
+ groups = self.id.match(/.+\/resourceGroups\/([^\/]+)\/.+/)
29
+ groups.captures[0].strip if groups
30
+ end
31
+ end
32
+
33
+
25
34
  #
26
35
  # Mapper for Resource class as Ruby Hash.
27
36
  # This will be used for serialization/deserialization.
@@ -167,7 +167,7 @@ module Azure::ServiceBus::Mgmt::V2017_04_01
167
167
  #
168
168
  def add_telemetry
169
169
  sdk_information = 'azure_mgmt_service_bus'
170
- sdk_information = "#{sdk_information}/0.17.0"
170
+ sdk_information = "#{sdk_information}/0.17.1"
171
171
  add_user_agent_information(sdk_information)
172
172
  end
173
173
  end
@@ -3,5 +3,5 @@
3
3
  # Licensed under the MIT License. See License.txt in the project root for license information.
4
4
 
5
5
  module Azure::ServiceBus::Mgmt
6
- VERSION = '0.17.0'
6
+ VERSION = '0.17.1'
7
7
  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.17.0
4
+ version: 0.17.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Microsoft Corporation
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-07-31 00:00:00.000000000 Z
11
+ date: 2018-09-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -227,7 +227,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
227
227
  version: '0'
228
228
  requirements: []
229
229
  rubyforge_project:
230
- rubygems_version: 2.5.1
230
+ rubygems_version: 2.7.6
231
231
  signing_key:
232
232
  specification_version: 4
233
233
  summary: Official Ruby client library to consume Microsoft Azure Service Bus Management