azure_mgmt_recovery_services_backup 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: b723b492f560f7842bc310c1b90df9b50bc5dcb4
4
- data.tar.gz: 5bc31d51dd01187314c76ee646b6db58f6152b17
2
+ SHA256:
3
+ metadata.gz: e8d93af708d0fa60d4235c603c3492896b9138da20dc751eba37e0df1f725b71
4
+ data.tar.gz: c00ff28a4fa82bc97a91337a765426f48ed8eb3f193ab1bdb7bb5d07ea76bc4f
5
5
  SHA512:
6
- metadata.gz: 876023da82e07388ca6e11c1ed6372666c2d2830fb1de247ee53c0adec57254fa8e9f28956abf0b94235b5428ffd97b2e1229e05e717138c371a52bacbd6d96b
7
- data.tar.gz: ff93abc1a715fe9b657b6f86bb6409fb711ea041aac10c3a857aef1a78f60ee9cef8482b4f19318eddadf582064b0adf29795df310b8f614a0518fbd44a7eaeb
6
+ metadata.gz: ac5cc701d7d9bb73676b329dc18b879bb0578467cffaf475843d636264326cf5550945b9fb8a4077734d9e1c46202a40db498e46868b3528b363a14bae1677f1
7
+ data.tar.gz: d1facd9a7593ef0918ea6ea2f868b662eab5c5c0521c2434d0ba550d19612f7ad6ca34b4795c620c4b1cad6312abf70759ec646f36880c40406591e7cd5d9a53
@@ -37,6 +37,15 @@ module Azure::RecoveryServicesBackup::Mgmt::V2016_06_01
37
37
  attr_accessor :e_tag
38
38
 
39
39
 
40
+ # @return [String] the name of the resource group of the resource.
41
+ def resource_group
42
+ unless self.id.nil?
43
+ groups = self.id.match(/.+\/resourceGroups\/([^\/]+)\/.+/)
44
+ groups.captures[0].strip if groups
45
+ end
46
+ end
47
+
48
+
40
49
  #
41
50
  # Mapper for Resource class as Ruby Hash.
42
51
  # This will be used for serialization/deserialization.
@@ -217,7 +217,7 @@ module Azure::RecoveryServicesBackup::Mgmt::V2016_06_01
217
217
  #
218
218
  def add_telemetry
219
219
  sdk_information = 'azure_mgmt_recovery_services_backup'
220
- sdk_information = "#{sdk_information}/0.17.0"
220
+ sdk_information = "#{sdk_information}/0.17.1"
221
221
  add_user_agent_information(sdk_information)
222
222
  end
223
223
  end
@@ -125,7 +125,7 @@ module Azure::RecoveryServicesBackup::Mgmt::V2016_08_10
125
125
  #
126
126
  def add_telemetry
127
127
  sdk_information = 'azure_mgmt_recovery_services_backup'
128
- sdk_information = "#{sdk_information}/0.17.0"
128
+ sdk_information = "#{sdk_information}/0.17.1"
129
129
  add_user_agent_information(sdk_information)
130
130
  end
131
131
  end
@@ -37,6 +37,15 @@ module Azure::RecoveryServicesBackup::Mgmt::V2016_12_01
37
37
  attr_accessor :e_tag
38
38
 
39
39
 
40
+ # @return [String] the name of the resource group of the resource.
41
+ def resource_group
42
+ unless self.id.nil?
43
+ groups = self.id.match(/.+\/resourceGroups\/([^\/]+)\/.+/)
44
+ groups.captures[0].strip if groups
45
+ end
46
+ end
47
+
48
+
40
49
  #
41
50
  # Mapper for Resource class as Ruby Hash.
42
51
  # This will be used for serialization/deserialization.
@@ -229,7 +229,7 @@ module Azure::RecoveryServicesBackup::Mgmt::V2016_12_01
229
229
  #
230
230
  def add_telemetry
231
231
  sdk_information = 'azure_mgmt_recovery_services_backup'
232
- sdk_information = "#{sdk_information}/0.17.0"
232
+ sdk_information = "#{sdk_information}/0.17.1"
233
233
  add_user_agent_information(sdk_information)
234
234
  end
235
235
  end
@@ -37,6 +37,15 @@ module Azure::RecoveryServicesBackup::Mgmt::V2017_07_01
37
37
  attr_accessor :e_tag
38
38
 
39
39
 
40
+ # @return [String] the name of the resource group of the resource.
41
+ def resource_group
42
+ unless self.id.nil?
43
+ groups = self.id.match(/.+\/resourceGroups\/([^\/]+)\/.+/)
44
+ groups.captures[0].strip if groups
45
+ end
46
+ end
47
+
48
+
40
49
  #
41
50
  # Mapper for Resource class as Ruby Hash.
42
51
  # This will be used for serialization/deserialization.
@@ -168,7 +168,7 @@ module Azure::RecoveryServicesBackup::Mgmt::V2017_07_01
168
168
  #
169
169
  def add_telemetry
170
170
  sdk_information = 'azure_mgmt_recovery_services_backup'
171
- sdk_information = "#{sdk_information}/0.17.0"
171
+ sdk_information = "#{sdk_information}/0.17.1"
172
172
  add_user_agent_information(sdk_information)
173
173
  end
174
174
  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::RecoveryServicesBackup::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_backup
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
@@ -675,7 +675,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
675
675
  version: '0'
676
676
  requirements: []
677
677
  rubyforge_project:
678
- rubygems_version: 2.5.1
678
+ rubygems_version: 2.7.6
679
679
  signing_key:
680
680
  specification_version: 4
681
681
  summary: Official Ruby client library to consume Microsoft Azure Recovery Services