azure_mgmt_consumption 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: e83b2f108f819252ded2c8d6da5e3b884c7d12ab
4
- data.tar.gz: 81da7588ae34e526b917240c37a296f8df911576
3
+ metadata.gz: 95a029836ad37a91c07f8968243cf20547676961
4
+ data.tar.gz: 2fea2294aff7915e52a29c6a378cc50c043c1d3d
5
5
  SHA512:
6
- metadata.gz: 0f9833bf5fd0ac90010c53ad9bb39029d6d4d043d367f31cf7a152be186acfeb82cc68dadc4e2e6e21560be2e11be7fa8f60b112d96d8b1275b112d245c7436d
7
- data.tar.gz: 5898c7639ef5feb818ea36d63dd6ed0115742dad7868b1843bd1957d2ef80914d38fef9d0c3b5ecccafc366709adc293a709c038d10606d8afdb8c07fb54ec52
6
+ metadata.gz: 42fa953cbcaa3a90e0a3fca1d7a63fae82cf29dac226f0369fd4d4045e1c8a627c9c393c5b7e309b88269dd3af2456c2f1412d54749dbf7119e24aeb0ece88bc
7
+ data.tar.gz: cdbcfb368cd480082188a106b7997ba65a43857f51e844c02e3643cc18fc79b08c905f967919cf87712074b56aef88bc210e9b6f64b647c568a8109c4ed75edb
@@ -129,7 +129,7 @@ module Azure::Consumption::Mgmt::V2017_04_24_preview
129
129
  #
130
130
  def add_telemetry
131
131
  sdk_information = 'azure_mgmt_consumption'
132
- sdk_information = "#{sdk_information}/0.17.0"
132
+ sdk_information = "#{sdk_information}/0.17.1"
133
133
  add_user_agent_information(sdk_information)
134
134
  end
135
135
  end
@@ -25,6 +25,15 @@ module Azure::Consumption::Mgmt::V2017_04_24_preview
25
25
  attr_accessor :tags
26
26
 
27
27
 
28
+ # @return [String] the name of the resource group of the resource.
29
+ def resource_group
30
+ unless self.id.nil?
31
+ groups = self.id.match(/.+\/resourceGroups\/([^\/]+)\/.+/)
32
+ groups.captures[0].strip if groups
33
+ end
34
+ end
35
+
36
+
28
37
  #
29
38
  # Mapper for Resource class as Ruby Hash.
30
39
  # This will be used for serialization/deserialization.
@@ -137,7 +137,7 @@ module Azure::Consumption::Mgmt::V2017_11_30
137
137
  #
138
138
  def add_telemetry
139
139
  sdk_information = 'azure_mgmt_consumption'
140
- sdk_information = "#{sdk_information}/0.17.0"
140
+ sdk_information = "#{sdk_information}/0.17.1"
141
141
  add_user_agent_information(sdk_information)
142
142
  end
143
143
  end
@@ -25,6 +25,15 @@ module Azure::Consumption::Mgmt::V2017_11_30
25
25
  attr_accessor :tags
26
26
 
27
27
 
28
+ # @return [String] the name of the resource group of the resource.
29
+ def resource_group
30
+ unless self.id.nil?
31
+ groups = self.id.match(/.+\/resourceGroups\/([^\/]+)\/.+/)
32
+ groups.captures[0].strip if groups
33
+ end
34
+ end
35
+
36
+
28
37
  #
29
38
  # Mapper for Resource class as Ruby Hash.
30
39
  # This will be used for serialization/deserialization.
@@ -132,7 +132,7 @@ module Azure::Consumption::Mgmt::V2017_12_30_preview
132
132
  #
133
133
  def add_telemetry
134
134
  sdk_information = 'azure_mgmt_consumption'
135
- sdk_information = "#{sdk_information}/0.17.0"
135
+ sdk_information = "#{sdk_information}/0.17.1"
136
136
  add_user_agent_information(sdk_information)
137
137
  end
138
138
  end
@@ -149,7 +149,7 @@ module Azure::Consumption::Mgmt::V2018_01_31
149
149
  #
150
150
  def add_telemetry
151
151
  sdk_information = 'azure_mgmt_consumption'
152
- sdk_information = "#{sdk_information}/0.17.0"
152
+ sdk_information = "#{sdk_information}/0.17.1"
153
153
  add_user_agent_information(sdk_information)
154
154
  end
155
155
  end
@@ -25,6 +25,15 @@ module Azure::Consumption::Mgmt::V2018_01_31
25
25
  attr_accessor :tags
26
26
 
27
27
 
28
+ # @return [String] the name of the resource group of the resource.
29
+ def resource_group
30
+ unless self.id.nil?
31
+ groups = self.id.match(/.+\/resourceGroups\/([^\/]+)\/.+/)
32
+ groups.captures[0].strip if groups
33
+ end
34
+ end
35
+
36
+
28
37
  #
29
38
  # Mapper for Resource class as Ruby Hash.
30
39
  # This will be used for serialization/deserialization.
@@ -282,7 +282,7 @@ module Azure::Consumption::Mgmt::V2018_03_31
282
282
  #
283
283
  def add_telemetry
284
284
  sdk_information = 'azure_mgmt_consumption'
285
- sdk_information = "#{sdk_information}/0.17.0"
285
+ sdk_information = "#{sdk_information}/0.17.1"
286
286
  add_user_agent_information(sdk_information)
287
287
  end
288
288
  end
@@ -25,6 +25,15 @@ module Azure::Consumption::Mgmt::V2018_03_31
25
25
  attr_accessor :tags
26
26
 
27
27
 
28
+ # @return [String] the name of the resource group of the resource.
29
+ def resource_group
30
+ unless self.id.nil?
31
+ groups = self.id.match(/.+\/resourceGroups\/([^\/]+)\/.+/)
32
+ groups.captures[0].strip if groups
33
+ end
34
+ end
35
+
36
+
28
37
  #
29
38
  # Mapper for Resource class as Ruby Hash.
30
39
  # This will be used for serialization/deserialization.
@@ -137,7 +137,7 @@ module Azure::Consumption::Mgmt::V2018_05_31
137
137
  #
138
138
  def add_telemetry
139
139
  sdk_information = 'azure_mgmt_consumption'
140
- sdk_information = "#{sdk_information}/0.17.0"
140
+ sdk_information = "#{sdk_information}/0.17.1"
141
141
  add_user_agent_information(sdk_information)
142
142
  end
143
143
  end
@@ -25,6 +25,15 @@ module Azure::Consumption::Mgmt::V2018_05_31
25
25
  attr_accessor :tags
26
26
 
27
27
 
28
+ # @return [String] the name of the resource group of the resource.
29
+ def resource_group
30
+ unless self.id.nil?
31
+ groups = self.id.match(/.+\/resourceGroups\/([^\/]+)\/.+/)
32
+ groups.captures[0].strip if groups
33
+ end
34
+ end
35
+
36
+
28
37
  #
29
38
  # Mapper for Resource class as Ruby Hash.
30
39
  # This will be used for serialization/deserialization.
@@ -169,7 +169,7 @@ module Azure::Consumption::Mgmt::V2018_06_30
169
169
  #
170
170
  def add_telemetry
171
171
  sdk_information = 'azure_mgmt_consumption'
172
- sdk_information = "#{sdk_information}/0.17.0"
172
+ sdk_information = "#{sdk_information}/0.17.1"
173
173
  add_user_agent_information(sdk_information)
174
174
  end
175
175
  end
@@ -25,6 +25,15 @@ module Azure::Consumption::Mgmt::V2018_06_30
25
25
  attr_accessor :tags
26
26
 
27
27
 
28
+ # @return [String] the name of the resource group of the resource.
29
+ def resource_group
30
+ unless self.id.nil?
31
+ groups = self.id.match(/.+\/resourceGroups\/([^\/]+)\/.+/)
32
+ groups.captures[0].strip if groups
33
+ end
34
+ end
35
+
36
+
28
37
  #
29
38
  # Mapper for Resource class as Ruby Hash.
30
39
  # 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::Consumption::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_consumption
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