azure_mgmt_signalr 0.17.0 → 0.17.1

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
- SHA1:
3
- metadata.gz: f917152cfeeb47346426552df0cab245ec891fc6
4
- data.tar.gz: 9041d1df251f416fd87ab9dadb605eb0301d32d0
2
+ SHA256:
3
+ metadata.gz: fd2c5b56ce0dee77f92085a00b97ae10ea187f46c20073d7cb90f7d158c2932d
4
+ data.tar.gz: 31e6397bb193006582e610bb7aadefd141e43089ccf591b96809e73c0757ea85
5
5
  SHA512:
6
- metadata.gz: ae1b30d801841210162a32ac40c01cbf0415c1fc135ca9a750869cb016485d496975e4d9886bc9d92de7eab3a6bf773eec40b31993525256f7c73d7ad56f0175
7
- data.tar.gz: a7064d0301203f5469c4b5349ab6a0ac85be0ef2bd18f4b5de9ca779ef032a969f71175e2d909a7f0af5968617029d297eebdf0a25c7d23dd444d3171cb749d3
6
+ metadata.gz: 67c5ed956e1ff048e6f27c8edc08b4da74a87bcb12e5775fb9a8f1ee4cf88b24ac6aaa071f39da6bb5a3bcce951487e1a166f598d3f68cc5fc179bdf96d6e900
7
+ data.tar.gz: e1b88f344f39857e9fe97e4f898eaf9e41c616fa8b7ee6012a13807894e320c59af1a96d661c5f80eeaac484e7f923099467af8ee57f0b32c0881c42510019a7
@@ -23,6 +23,15 @@ module Azure::Signalr::Mgmt::V2018_03_01_preview
23
23
  attr_accessor :type
24
24
 
25
25
 
26
+ # @return [String] the name of the resource group of the resource.
27
+ def resource_group
28
+ unless self.id.nil?
29
+ groups = self.id.match(/.+\/resourceGroups\/([^\/]+)\/.+/)
30
+ groups.captures[0].strip if groups
31
+ end
32
+ end
33
+
34
+
26
35
  #
27
36
  # Mapper for Resource class as Ruby Hash.
28
37
  # This will be used for serialization/deserialization.
@@ -130,7 +130,7 @@ module Azure::Signalr::Mgmt::V2018_03_01_preview
130
130
  #
131
131
  def add_telemetry
132
132
  sdk_information = 'azure_mgmt_signalr'
133
- sdk_information = "#{sdk_information}/0.17.0"
133
+ sdk_information = "#{sdk_information}/0.17.1"
134
134
  add_user_agent_information(sdk_information)
135
135
  end
136
136
  end
data/lib/version.rb CHANGED
@@ -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::Signalr::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_signalr
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
@@ -144,7 +144,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
144
144
  version: '0'
145
145
  requirements: []
146
146
  rubyforge_project:
147
- rubygems_version: 2.5.1
147
+ rubygems_version: 2.7.6
148
148
  signing_key:
149
149
  specification_version: 4
150
150
  summary: Official Ruby client library to consume Microsoft Azure Signalr.