azure_mgmt_logic 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: c4c528850dab4450d36e081bfbcf891932cd795c
4
- data.tar.gz: 270d426a40229b4a5f92bd4545e642726a95bfc6
3
+ metadata.gz: cf185a21119c4b0f11234780f79b4d95e2adf08e
4
+ data.tar.gz: 1dbf20cd6e7d0e4e8055d9801e5428490d8ebee7
5
5
  SHA512:
6
- metadata.gz: 5e91ee17ab7fc1f013bb3d9e15952b56892117a5693f5625b964cb76153ff4f368fc1636d0f79f4c03ce06a551f5fb397dfe17903ed1365a3927d291845db537
7
- data.tar.gz: ab29684e58cc804ce0e9bf8e251df21dacc5755fcd4fb0d864a33d01ca5dde7625ba4ae024dcb98ae127c0168d841196b1d4356cefd4d395e11720d8f9caa631
6
+ metadata.gz: d7427a56e5a39317a53e3327dc5b585c92407f7bc159475a9a2972992a9b39483e5b2efc5345a01019760afe5fe45627a03c23bf79713da43232e44354adf603
7
+ data.tar.gz: 9135f02014b6295d013b56b3711c60ca92b3ef8864692d0ab76691b215f11379a74c502f309e6d30a7c047a71b25a06811a95f74cf78cab369f87c11b865f03b
@@ -148,7 +148,7 @@ module Azure::Logic::Mgmt::V2015_02_01_preview
148
148
  #
149
149
  def add_telemetry
150
150
  sdk_information = 'azure_mgmt_logic'
151
- sdk_information = "#{sdk_information}/0.17.0"
151
+ sdk_information = "#{sdk_information}/0.17.1"
152
152
  add_user_agent_information(sdk_information)
153
153
  end
154
154
  end
@@ -29,6 +29,15 @@ module Azure::Logic::Mgmt::V2015_02_01_preview
29
29
  attr_accessor :tags
30
30
 
31
31
 
32
+ # @return [String] the name of the resource group of the resource.
33
+ def resource_group
34
+ unless self.id.nil?
35
+ groups = self.id.match(/.+\/resourceGroups\/([^\/]+)\/.+/)
36
+ groups.captures[0].strip if groups
37
+ end
38
+ end
39
+
40
+
32
41
  #
33
42
  # Mapper for Resource class as Ruby Hash.
34
43
  # This will be used for serialization/deserialization.
@@ -440,7 +440,7 @@ module Azure::Logic::Mgmt::V2016_06_01
440
440
  #
441
441
  def add_telemetry
442
442
  sdk_information = 'azure_mgmt_logic'
443
- sdk_information = "#{sdk_information}/0.17.0"
443
+ sdk_information = "#{sdk_information}/0.17.1"
444
444
  add_user_agent_information(sdk_information)
445
445
  end
446
446
  end
@@ -28,6 +28,15 @@ module Azure::Logic::Mgmt::V2016_06_01
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::Logic::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_logic
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