azure_mgmt_batch 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
2
  SHA1:
3
- metadata.gz: 054c7f371c5349327b83a2a53d30490e618d44a1
4
- data.tar.gz: 92e99a1bf810ad40709fe6dbf180139d4325ba15
3
+ metadata.gz: 71a43fd2bac70574d3d047e44c0fb2e9d756c3a9
4
+ data.tar.gz: 96e00001b16ec9b7c0d781571abd08dead21ce46
5
5
  SHA512:
6
- metadata.gz: 79f64fb3990062eab8116dfb1db747b24e455f79743dc3a087c6e7cc0bccc1b1ea81ac8d78648b9edf0f5177c19697575b6f71c53f0c1482b09df54c54735932
7
- data.tar.gz: 7359b30d08345c6f4aacafb640ed5faeed09da732c4c29031208e4eb934c341991f12db90b2ee60e7c8f6d5af8b3d7cb2b3136725da055842a2b6bdbd5024384
6
+ metadata.gz: 82905bea42d387c97d60abfeb7f46640e65a8103f3113d04224a25fd50a49300ffadb317d627756042878dbe3ce97efbedeb229c2e564b3c7962f8aa63619e46
7
+ data.tar.gz: 5842a1ea7e419111abcf64f3816468f0785e5b0aaf02c2e24ff3c220c13f752b59a5f6dc75d995ff90929690b5f9acf18746288981367480a219a2048338c101
@@ -137,7 +137,7 @@ module Azure::Batch::Mgmt::V2015_12_01
137
137
  #
138
138
  def add_telemetry
139
139
  sdk_information = 'azure_mgmt_batch'
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
@@ -28,6 +28,15 @@ module Azure::Batch::Mgmt::V2015_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.
@@ -137,7 +137,7 @@ module Azure::Batch::Mgmt::V2017_01_01
137
137
  #
138
138
  def add_telemetry
139
139
  sdk_information = 'azure_mgmt_batch'
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
@@ -28,6 +28,15 @@ module Azure::Batch::Mgmt::V2017_01_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.
@@ -141,7 +141,7 @@ module Azure::Batch::Mgmt::V2017_05_01
141
141
  #
142
142
  def add_telemetry
143
143
  sdk_information = 'azure_mgmt_batch'
144
- sdk_information = "#{sdk_information}/0.17.0"
144
+ sdk_information = "#{sdk_information}/0.17.1"
145
145
  add_user_agent_information(sdk_information)
146
146
  end
147
147
  end
@@ -28,6 +28,15 @@ module Azure::Batch::Mgmt::V2017_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.
@@ -149,7 +149,7 @@ module Azure::Batch::Mgmt::V2017_09_01
149
149
  #
150
150
  def add_telemetry
151
151
  sdk_information = 'azure_mgmt_batch'
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
@@ -28,6 +28,15 @@ module Azure::Batch::Mgmt::V2017_09_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::Batch::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_batch
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