azure_mgmt_devtestlabs 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
2
  SHA1:
3
- metadata.gz: 4f657c1fef5e3902c676c64bea0dc98b7f7f39f1
4
- data.tar.gz: 7914267c9e9c2c11a1f777c4a38ff84010a6a92e
3
+ metadata.gz: 03443eae5fbb994daca9fd20a99a8e47d0dba534
4
+ data.tar.gz: 9a97cde48904833b6ae09a059fa0b8e07dd1f684
5
5
  SHA512:
6
- metadata.gz: 43061b3af2509c7d14b0fb33f5aff3f6d6e51c7b59a7bfecde397f63baf24aa2fd445d17f8467f60075e66e4437eb63eab5586af03607d3f075e14367ec3da4f
7
- data.tar.gz: 4a988747c4b0c5d151973a736f51285050016ffe15fb549e9073aeca92dbd34418f929756caed78ab49567a4be3dba1b947a0aa61789e59c7672ccd7feb7a991
6
+ metadata.gz: e12a2c2c2dcc2e9193431faab60818182b067645eebed672df55f7bce4f56cad54a6c980042a17e0e37aec82b7403297da0abc04eee2b46f64eebffae5877adc
7
+ data.tar.gz: 598b6c48102dc11cce686a3bd3a1f87c983e7335ba1293eee6350a841fb94c2917154a57b37835794ad7bcbb4db402674f41a3d4d7ede8a73b0d164f83b18c9c
@@ -212,7 +212,7 @@ module Azure::DevTestLabs::Mgmt::V2016_05_15
212
212
  #
213
213
  def add_telemetry
214
214
  sdk_information = 'azure_mgmt_devtestlabs'
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
@@ -28,6 +28,15 @@ module Azure::DevTestLabs::Mgmt::V2016_05_15
28
28
  attr_accessor :tags
29
29
 
30
30
 
31
+ # @return [String] the name of the resource group of the resource.
32
+ def resource_group
33
+ unless self.id.nil?
34
+ groups = self.id.match(/.+\/resourceGroups\/([^\/]+)\/.+/)
35
+ groups.captures[0].strip if groups
36
+ end
37
+ end
38
+
39
+
31
40
  #
32
41
  # Mapper for Resource class as Ruby Hash.
33
42
  # This will be used for serialization/deserialization.
@@ -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::DevTestLabs::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_devtestlabs
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