azure_mgmt_traffic_manager 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
- SHA1:
3
- metadata.gz: a51b9521e93c9812d427a81bba7698ad5d41f417
4
- data.tar.gz: 543841d921b3015d3d8ed77f9e5700d94a3ae45c
2
+ SHA256:
3
+ metadata.gz: b8cc244a6d1b9dd7bce2be0f267cc46ef53755c3d6d718ed3ad54ee9a5263c0f
4
+ data.tar.gz: 096ae5c981810f244c240c47c8ff5837df5ee848d16dcf2c8fa028334072badb
5
5
  SHA512:
6
- metadata.gz: 4e03a8291abe168a2974090749a68d029d696ec8b846ba9456c00e33b53a34cf39f9e83f29e321dc503c413d1f98f3caeff9bed36f9f16b439a06f4d7f069fdf
7
- data.tar.gz: 06de4b4a45306a29973742906a89a51a04f071e74925389877cbd5f2eba5d30e3c31b3c7177ace6b664b9b6fdf2094b8801625bee01bd2f3b91e0ee13ecb27b8
6
+ metadata.gz: 31abde3f06d27f9f7819e075f4e74723c360b85d4916fce6a4c45ca27044cdd6ec51c77232b7a68d7869f9c55f29438bdc9a7af6fd0f4ca7af850ad26d6cdadd
7
+ data.tar.gz: de6c38bded9d177c9b6a78ea441414782fcc9b0e3968bbc37ffad2c9b9b6c27a62bc247df2621a78a9cdd773e775c5c9bc1d506f16659324c8450872a5da33a5
@@ -29,6 +29,15 @@ module Azure::TrafficManager::Mgmt::V2015_11_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.
@@ -28,6 +28,15 @@ module Azure::TrafficManager::Mgmt::V2017_03_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.
@@ -24,6 +24,15 @@ module Azure::TrafficManager::Mgmt::V2017_05_01
24
24
  attr_accessor :type
25
25
 
26
26
 
27
+ # @return [String] the name of the resource group of the resource.
28
+ def resource_group
29
+ unless self.id.nil?
30
+ groups = self.id.match(/.+\/resourceGroups\/([^\/]+)\/.+/)
31
+ groups.captures[0].strip if groups
32
+ end
33
+ end
34
+
35
+
27
36
  #
28
37
  # Mapper for Resource class as Ruby Hash.
29
38
  # This will be used for serialization/deserialization.
@@ -24,6 +24,15 @@ module Azure::TrafficManager::Mgmt::V2017_09_01_preview
24
24
  attr_accessor :type
25
25
 
26
26
 
27
+ # @return [String] the name of the resource group of the resource.
28
+ def resource_group
29
+ unless self.id.nil?
30
+ groups = self.id.match(/.+\/resourceGroups\/([^\/]+)\/.+/)
31
+ groups.captures[0].strip if groups
32
+ end
33
+ end
34
+
35
+
27
36
  #
28
37
  # Mapper for Resource class as Ruby Hash.
29
38
  # This will be used for serialization/deserialization.
@@ -24,6 +24,15 @@ module Azure::TrafficManager::Mgmt::V2018_02_01
24
24
  attr_accessor :type
25
25
 
26
26
 
27
+ # @return [String] the name of the resource group of the resource.
28
+ def resource_group
29
+ unless self.id.nil?
30
+ groups = self.id.match(/.+\/resourceGroups\/([^\/]+)\/.+/)
31
+ groups.captures[0].strip if groups
32
+ end
33
+ end
34
+
35
+
27
36
  #
28
37
  # Mapper for Resource class as Ruby Hash.
29
38
  # This will be used for serialization/deserialization.
@@ -134,7 +134,7 @@ module Azure::TrafficManager::Mgmt::V2018_02_01
134
134
  #
135
135
  def add_telemetry
136
136
  sdk_information = 'azure_mgmt_traffic_manager'
137
- sdk_information = "#{sdk_information}/0.17.0"
137
+ sdk_information = "#{sdk_information}/0.17.1"
138
138
  add_user_agent_information(sdk_information)
139
139
  end
140
140
  end
@@ -24,6 +24,15 @@ module Azure::TrafficManager::Mgmt::V2018_03_01
24
24
  attr_accessor :type
25
25
 
26
26
 
27
+ # @return [String] the name of the resource group of the resource.
28
+ def resource_group
29
+ unless self.id.nil?
30
+ groups = self.id.match(/.+\/resourceGroups\/([^\/]+)\/.+/)
31
+ groups.captures[0].strip if groups
32
+ end
33
+ end
34
+
35
+
27
36
  #
28
37
  # Mapper for Resource class as Ruby Hash.
29
38
  # This will be used for serialization/deserialization.
@@ -24,6 +24,15 @@ module Azure::TrafficManager::Mgmt::V2018_04_01
24
24
  attr_accessor :type
25
25
 
26
26
 
27
+ # @return [String] the name of the resource group of the resource.
28
+ def resource_group
29
+ unless self.id.nil?
30
+ groups = self.id.match(/.+\/resourceGroups\/([^\/]+)\/.+/)
31
+ groups.captures[0].strip if groups
32
+ end
33
+ end
34
+
35
+
27
36
  #
28
37
  # Mapper for Resource class as Ruby Hash.
29
38
  # 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::TrafficManager::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_traffic_manager
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
@@ -284,7 +284,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
284
284
  version: '0'
285
285
  requirements: []
286
286
  rubyforge_project:
287
- rubygems_version: 2.5.1
287
+ rubygems_version: 2.7.6
288
288
  signing_key:
289
289
  specification_version: 4
290
290
  summary: Official Ruby client library to consume Microsoft Azure Traffic Management