azure_mgmt_compute 0.18.0 → 0.18.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
2
  SHA1:
3
- metadata.gz: 168feb63aae05cca8b0f2cc58c6e11c20fd00651
4
- data.tar.gz: b7b60fef2a13ffe2c51714a3286826744d2dfe31
3
+ metadata.gz: aca80c9fa38984ed92c4057eddd80680438fd91d
4
+ data.tar.gz: ff38db3a45dcce1549de625d04de824c9380b671
5
5
  SHA512:
6
- metadata.gz: a692494e3436c80b9ce61a47927542484319cfe559bfee0d47728d388f1a26480d9c065f787a49234f223c5ad769c631c1ad71ae2363b96dcd24a49bc5fbd8b0
7
- data.tar.gz: 9195b8b25b2d4a1cf9c22caaeb940304afecc87b38a89141596054e90d33e8877c4d88b78bd31f3e108e3acc7c8ef873aa96b5dd2ab3201d3260f24e9efb0ac2
6
+ metadata.gz: 3b6c7b11fea542fad5af5014c779ca880071df859cbce88c5869cd4b2c2f1d1b036638f531258d9aadf8473bd25299d1e138f77b2e76834eba0919786a5ff45e
7
+ data.tar.gz: 16921d6f2db317ab724a69aee786401841edfcb37ba15fbecc7d6c6daa4749cdd1f60ba14ac440cd992104877472abb6ea1fa759ed125a42a2c7bc9da79ef0f8
@@ -158,7 +158,7 @@ module Azure::Compute::Mgmt::V2015_06_15
158
158
  #
159
159
  def add_telemetry
160
160
  sdk_information = 'azure_mgmt_compute'
161
- sdk_information = "#{sdk_information}/0.18.0"
161
+ sdk_information = "#{sdk_information}/0.18.1"
162
162
  add_user_agent_information(sdk_information)
163
163
  end
164
164
  end
@@ -28,6 +28,15 @@ module Azure::Compute::Mgmt::V2015_06_15
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.
@@ -158,7 +158,7 @@ module Azure::Compute::Mgmt::V2016_03_30
158
158
  #
159
159
  def add_telemetry
160
160
  sdk_information = 'azure_mgmt_compute'
161
- sdk_information = "#{sdk_information}/0.18.0"
161
+ sdk_information = "#{sdk_information}/0.18.1"
162
162
  add_user_agent_information(sdk_information)
163
163
  end
164
164
  end
@@ -28,6 +28,15 @@ module Azure::Compute::Mgmt::V2016_03_30
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.
@@ -170,7 +170,7 @@ module Azure::Compute::Mgmt::V2016_04_30_preview
170
170
  #
171
171
  def add_telemetry
172
172
  sdk_information = 'azure_mgmt_compute'
173
- sdk_information = "#{sdk_information}/0.18.0"
173
+ sdk_information = "#{sdk_information}/0.18.1"
174
174
  add_user_agent_information(sdk_information)
175
175
  end
176
176
  end
@@ -28,6 +28,15 @@ module Azure::Compute::Mgmt::V2016_04_30_preview
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.
@@ -188,7 +188,7 @@ module Azure::Compute::Mgmt::V2017_03_30
188
188
  #
189
189
  def add_telemetry
190
190
  sdk_information = 'azure_mgmt_compute'
191
- sdk_information = "#{sdk_information}/0.18.0"
191
+ sdk_information = "#{sdk_information}/0.18.1"
192
192
  add_user_agent_information(sdk_information)
193
193
  end
194
194
  end
@@ -28,6 +28,15 @@ module Azure::Compute::Mgmt::V2017_03_30
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.
@@ -126,7 +126,7 @@ module Azure::Compute::Mgmt::V2017_09_01
126
126
  #
127
127
  def add_telemetry
128
128
  sdk_information = 'azure_mgmt_compute'
129
- sdk_information = "#{sdk_information}/0.18.0"
129
+ sdk_information = "#{sdk_information}/0.18.1"
130
130
  add_user_agent_information(sdk_information)
131
131
  end
132
132
  end
@@ -184,7 +184,7 @@ module Azure::Compute::Mgmt::V2017_12_01
184
184
  #
185
185
  def add_telemetry
186
186
  sdk_information = 'azure_mgmt_compute'
187
- sdk_information = "#{sdk_information}/0.18.0"
187
+ sdk_information = "#{sdk_information}/0.18.1"
188
188
  add_user_agent_information(sdk_information)
189
189
  end
190
190
  end
@@ -28,6 +28,15 @@ module Azure::Compute::Mgmt::V2017_12_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.
@@ -192,7 +192,7 @@ module Azure::Compute::Mgmt::V2018_04_01
192
192
  #
193
193
  def add_telemetry
194
194
  sdk_information = 'azure_mgmt_compute'
195
- sdk_information = "#{sdk_information}/0.18.0"
195
+ sdk_information = "#{sdk_information}/0.18.1"
196
196
  add_user_agent_information(sdk_information)
197
197
  end
198
198
  end
@@ -28,6 +28,15 @@ module Azure::Compute::Mgmt::V2018_04_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.
@@ -196,7 +196,7 @@ module Azure::Compute::Mgmt::V2018_06_01
196
196
  #
197
197
  def add_telemetry
198
198
  sdk_information = 'azure_mgmt_compute'
199
- sdk_information = "#{sdk_information}/0.18.0"
199
+ sdk_information = "#{sdk_information}/0.18.1"
200
200
  add_user_agent_information(sdk_information)
201
201
  end
202
202
  end
@@ -28,6 +28,15 @@ module Azure::Compute::Mgmt::V2018_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::Compute::Mgmt
6
- VERSION = '0.18.0'
6
+ VERSION = '0.18.1'
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: azure_mgmt_compute
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.18.0
4
+ version: 0.18.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