azure_mgmt_recovery_services_site_recovery 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: 8dffba0a79530c8537070d6f77cc2f9f6a6f2a93
4
- data.tar.gz: 3a5fa12f18daf24aa9490eb72c566777151415f6
2
+ SHA256:
3
+ metadata.gz: 1c4057584841cd4489256736e856fef197b012fe5f7b5d40112fc091b9b28708
4
+ data.tar.gz: cf94a3423408fb7c0b3bc854aadf3ba98fb1590cd367f8613d94601db55b958c
5
5
  SHA512:
6
- metadata.gz: 78882c31e0f9c27aac0728cb45580a768b9b5e864bb815ce3f4e279c127841044331476617f30f1e93c6ac58b0e2233a37439c572a50602dc41fac53e0e6f80b
7
- data.tar.gz: 44b85bf2adc42e69ae55d0ffe6066cbd3044274a8747b3d5712535b05408290150f3fbfb9be2e9ed694749c94465a42a3e861e3996fb950a8679d3c9c0f8cd41
6
+ metadata.gz: 94a68a89b685417bfddcbe44e748d45a0547844269c727f6ede9cb6fabbee2f595ebc65f79a9739ad97824e8914c2a9fabca45cda6e04773293052cd939d8e0c
7
+ data.tar.gz: 75a964edf6fa1d69059fd4a78a5d04e7249d12e1e4ce646fdbde197246e7e5365bf561357935b38e70903f936ad9f85451c57c1002069d0bb8c3ed7004e1141b
@@ -25,6 +25,15 @@ module Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10
25
25
  attr_accessor :location
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.
@@ -212,7 +212,7 @@ module Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10
212
212
  #
213
213
  def add_telemetry
214
214
  sdk_information = 'azure_mgmt_recovery_services_site_recovery'
215
- sdk_information = "#{sdk_information}/0.17.0"
215
+ sdk_information = "#{sdk_information}/0.17.1"
216
216
  add_user_agent_information(sdk_information)
217
217
  end
218
218
  end
@@ -25,6 +25,15 @@ module Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10
25
25
  attr_accessor :location
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.
@@ -216,7 +216,7 @@ module Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10
216
216
  #
217
217
  def add_telemetry
218
218
  sdk_information = 'azure_mgmt_recovery_services_site_recovery'
219
- sdk_information = "#{sdk_information}/0.17.0"
219
+ sdk_information = "#{sdk_information}/0.17.1"
220
220
  add_user_agent_information(sdk_information)
221
221
  end
222
222
  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::RecoveryServicesSiteRecovery::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_site_recovery
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
@@ -835,7 +835,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
835
835
  version: '0'
836
836
  requirements: []
837
837
  rubyforge_project:
838
- rubygems_version: 2.5.1
838
+ rubygems_version: 2.7.6
839
839
  signing_key:
840
840
  specification_version: 4
841
841
  summary: Official Ruby client library to consume Microsoft Azure Recovery Services