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: 794a84bc41d393a443abd41119bb76a5118a56a5
4
- data.tar.gz: 5317f716cf5f013b1aa9a3fc7333e0b40f35798b
3
+ metadata.gz: 0e24504d3567382e96de8c753c8a241c9e6cd1e7
4
+ data.tar.gz: f8957de430c0c815a18bc4655a73e67888778017
5
5
  SHA512:
6
- metadata.gz: f2c20d3ab412b3327a2b34739e8806e9377337ee80ce8d49d6cba9b2d360c063daa4e394694a7847a187b49112cd9381bd98b9398a0b5df33e991420d430dd44
7
- data.tar.gz: 3785fc4488f904b1e3cfbe3ffb0720c21aef5945da626134409ebd2277cb75f8c77026ed91e734ea8d336314e2c88df3d40d463e98e72399673081ff237a89da
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.0"
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
@@ -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::Automation::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_automation
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