azure_mgmt_resources 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
- SHA1:
3
- metadata.gz: 8b9434a6912a245ced32d8fa7d675d8b6ac27068
4
- data.tar.gz: 57ebf665a5049fa14197de05c4fc727fa10dfa05
2
+ SHA256:
3
+ metadata.gz: 26bebc782a20b5211b94097eb454dcc5179bad48684a2f0e0029cb70cc52e020
4
+ data.tar.gz: 0743afadeb7a7806f7551482298ee617069e4655f540d772233f37d269faf0ab
5
5
  SHA512:
6
- metadata.gz: cc01920bd43af6b3c40f9e8084a1e66286ceb8a1ff43bdfc8d943b5d5427cc08d67502970e726d9332e771bdc9d8614ac2066152defdd06472cc7facfc4abe94
7
- data.tar.gz: 2e5d2f3011c6825290b7a75350d661d70160a386ecfccd1da9d17ce3fc1d3c074a5ef81828fc57163da8b24dc2fcf5733bf05793113981b7b62e4c5bf0a910f7
6
+ metadata.gz: 8ce1ba8582253966e36183118057a730ffc67cb8433f9bb3684abe6b731c71c84dc5d39f4e024f28ed33e0ac18aed4a1f3bf3974940cfcb06da3352ed0c64910
7
+ data.tar.gz: 0fed843f2818423117230ef7889e19e294d3ca460e4c3428c5110c58041cbf4cda594c1bd6261d3d97703718e40006f4163790c2ab7b544150fa32d19c936e7c
@@ -29,6 +29,15 @@ module Azure::Resources::Mgmt::V2016_02_01
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.
@@ -144,7 +144,7 @@ module Azure::Resources::Mgmt::V2016_02_01
144
144
  #
145
145
  def add_telemetry
146
146
  sdk_information = 'azure_mgmt_resources'
147
- sdk_information = "#{sdk_information}/0.17.0"
147
+ sdk_information = "#{sdk_information}/0.17.1"
148
148
  add_user_agent_information(sdk_information)
149
149
  end
150
150
  end
@@ -29,6 +29,15 @@ module Azure::Resources::Mgmt::V2016_07_01
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.
@@ -146,7 +146,7 @@ module Azure::Resources::Mgmt::V2016_07_01
146
146
  #
147
147
  def add_telemetry
148
148
  sdk_information = 'azure_mgmt_resources'
149
- sdk_information = "#{sdk_information}/0.17.0"
149
+ sdk_information = "#{sdk_information}/0.17.1"
150
150
  add_user_agent_information(sdk_information)
151
151
  end
152
152
  end
@@ -29,6 +29,15 @@ module Azure::Resources::Mgmt::V2016_09_01
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.
@@ -144,7 +144,7 @@ module Azure::Resources::Mgmt::V2016_09_01
144
144
  #
145
145
  def add_telemetry
146
146
  sdk_information = 'azure_mgmt_resources'
147
- sdk_information = "#{sdk_information}/0.17.0"
147
+ sdk_information = "#{sdk_information}/0.17.1"
148
148
  add_user_agent_information(sdk_information)
149
149
  end
150
150
  end
@@ -28,6 +28,15 @@ module Azure::Resources::Mgmt::V2017_05_10
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.
@@ -144,7 +144,7 @@ module Azure::Resources::Mgmt::V2017_05_10
144
144
  #
145
145
  def add_telemetry
146
146
  sdk_information = 'azure_mgmt_resources'
147
- sdk_information = "#{sdk_information}/0.17.0"
147
+ sdk_information = "#{sdk_information}/0.17.1"
148
148
  add_user_agent_information(sdk_information)
149
149
  end
150
150
  end
@@ -28,6 +28,15 @@ module Azure::Resources::Mgmt::V2018_02_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.
@@ -144,7 +144,7 @@ module Azure::Resources::Mgmt::V2018_02_01
144
144
  #
145
145
  def add_telemetry
146
146
  sdk_information = 'azure_mgmt_resources'
147
- sdk_information = "#{sdk_information}/0.17.0"
147
+ sdk_information = "#{sdk_information}/0.17.1"
148
148
  add_user_agent_information(sdk_information)
149
149
  end
150
150
  end
@@ -28,6 +28,15 @@ module Azure::Resources::Mgmt::V2018_05_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.
@@ -144,7 +144,7 @@ module Azure::Resources::Mgmt::V2018_05_01
144
144
  #
145
145
  def add_telemetry
146
146
  sdk_information = 'azure_mgmt_resources'
147
- sdk_information = "#{sdk_information}/0.17.0"
147
+ sdk_information = "#{sdk_information}/0.17.1"
148
148
  add_user_agent_information(sdk_information)
149
149
  end
150
150
  end
@@ -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::Resources::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_resources
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
@@ -462,7 +462,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
462
462
  version: '0'
463
463
  requirements: []
464
464
  rubyforge_project:
465
- rubygems_version: 2.5.1
465
+ rubygems_version: 2.7.6
466
466
  signing_key:
467
467
  specification_version: 4
468
468
  summary: Official ruby client library to consume Microsoft Azure Resource Management