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 +4 -4
- data/lib/2015-12-01/generated/azure_mgmt_batch/batch_management_client.rb +1 -1
- data/lib/2015-12-01/generated/azure_mgmt_batch/models/resource.rb +9 -0
- data/lib/2017-01-01/generated/azure_mgmt_batch/batch_management_client.rb +1 -1
- data/lib/2017-01-01/generated/azure_mgmt_batch/models/resource.rb +9 -0
- data/lib/2017-05-01/generated/azure_mgmt_batch/batch_management_client.rb +1 -1
- data/lib/2017-05-01/generated/azure_mgmt_batch/models/resource.rb +9 -0
- data/lib/2017-09-01/generated/azure_mgmt_batch/batch_management_client.rb +1 -1
- data/lib/2017-09-01/generated/azure_mgmt_batch/models/resource.rb +9 -0
- data/lib/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 71a43fd2bac70574d3d047e44c0fb2e9d756c3a9
|
|
4
|
+
data.tar.gz: 96e00001b16ec9b7c0d781571abd08dead21ce46
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
data/lib/version.rb
CHANGED
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.
|
|
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-
|
|
11
|
+
date: 2018-09-14 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|