azure_mgmt_automation 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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0e24504d3567382e96de8c753c8a241c9e6cd1e7
|
4
|
+
data.tar.gz: f8957de430c0c815a18bc4655a73e67888778017
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 67afbb83aa31957fb6e05f3188fc0247bc89590ce659e613ce76150728e01517285eef6e7dee04573cbaecbe424cfa66cb8282679e6d1507ebb75149ba534519
|
7
|
+
data.tar.gz: dcc594b19b9656dc03f422259f2fa213a0db1ef59d6c01be272466e2e0feddc70f91a4c3f3fc38ca43ad8559387820f63fc7649cfe742cf442b60c4caa8c4139
|
@@ -252,7 +252,7 @@ module Azure::Automation::Mgmt::V2015_10_31
|
|
252
252
|
#
|
253
253
|
def add_telemetry
|
254
254
|
sdk_information = 'azure_mgmt_automation'
|
255
|
-
sdk_information = "#{sdk_information}/0.17.
|
255
|
+
sdk_information = "#{sdk_information}/0.17.1"
|
256
256
|
add_user_agent_information(sdk_information)
|
257
257
|
end
|
258
258
|
end
|
@@ -22,6 +22,15 @@ module Azure::Automation::Mgmt::V2015_10_31
|
|
22
22
|
attr_accessor :type
|
23
23
|
|
24
24
|
|
25
|
+
# @return [String] the name of the resource group of the resource.
|
26
|
+
def resource_group
|
27
|
+
unless self.id.nil?
|
28
|
+
groups = self.id.match(/.+\/resourceGroups\/([^\/]+)\/.+/)
|
29
|
+
groups.captures[0].strip if groups
|
30
|
+
end
|
31
|
+
end
|
32
|
+
|
33
|
+
|
25
34
|
#
|
26
35
|
# Mapper for Resource class as Ruby Hash.
|
27
36
|
# 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_automation
|
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
|