azure_mgmt_devtestlabs 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
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 03443eae5fbb994daca9fd20a99a8e47d0dba534
|
|
4
|
+
data.tar.gz: 9a97cde48904833b6ae09a059fa0b8e07dd1f684
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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.
|
|
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.
|
data/lib/version.rb
CHANGED
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.
|
|
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-
|
|
11
|
+
date: 2018-09-14 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|