azure_mgmt_recovery_services 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: 85456461e74c10e0aef33fbea0b5140e8f1d6831
4
- data.tar.gz: b0c1dacb23f814f765e8a4b2818effb0570195aa
2
+ SHA256:
3
+ metadata.gz: cf17304a1650587e5e1304c4eb504fd299ab90362f5e9c46a4474d644e1e1c04
4
+ data.tar.gz: b08fb699d426608bf3139084711538ba5be54bb912f80dd738056f47556ad8d9
5
5
  SHA512:
6
- metadata.gz: da6f68612c8ce8b1cc418de76f0072469f4ae8c069248a58f782e37f033cf65ede35a0966af236d492d9a705b64a4fc51e581591d5a6cc5765866fdf63d47582
7
- data.tar.gz: 282844d1cccc6ea02d7a66c521bf20c0d86c3e3285b32ddeaedb91ac35099d60f6d8206f1332475e8d54ec82262d3763fd3f59715637154bb483e298a4581787
6
+ metadata.gz: 638c620830c72d553a9b90d86011bed86cc4101e11661a160057d96a88da4428f8699ae9517e45e3681bdbafc65c6f5715476f7438d54d44ae86db8d174c5b76
7
+ data.tar.gz: 68e30803d3f2b0ad0d00c6876281ec84c0c0d3cf624443d2b47fd14ae49c661611f146ad39ded3e6c84bdd49610337d5a820b0b23bcfd081f408d1fea88279ff
@@ -27,6 +27,15 @@ module Azure::RecoveryServices::Mgmt::V2016_06_01
27
27
  attr_accessor :e_tag
28
28
 
29
29
 
30
+ # @return [String] the name of the resource group of the resource.
31
+ def resource_group
32
+ unless self.id.nil?
33
+ groups = self.id.match(/.+\/resourceGroups\/([^\/]+)\/.+/)
34
+ groups.captures[0].strip if groups
35
+ end
36
+ end
37
+
38
+
30
39
  #
31
40
  # Mapper for Resource class as Ruby Hash.
32
41
  # This will be used for serialization/deserialization.
@@ -148,7 +148,7 @@ module Azure::RecoveryServices::Mgmt::V2016_06_01
148
148
  #
149
149
  def add_telemetry
150
150
  sdk_information = 'azure_mgmt_recovery_services'
151
- sdk_information = "#{sdk_information}/0.17.0"
151
+ sdk_information = "#{sdk_information}/0.17.1"
152
152
  add_user_agent_information(sdk_information)
153
153
  end
154
154
  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::RecoveryServices::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_recovery_services
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
@@ -162,7 +162,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
162
162
  version: '0'
163
163
  requirements: []
164
164
  rubyforge_project:
165
- rubygems_version: 2.5.1
165
+ rubygems_version: 2.7.6
166
166
  signing_key:
167
167
  specification_version: 4
168
168
  summary: Official Ruby client library to consume Microsoft Azure Recovery services.