azure_mgmt_container_instance 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: 34cb2c89a2fb522cb3533b539d5e543e7f1e285a
4
- data.tar.gz: 99dcfda16fec49f876586bb5f714c31d57056cc1
3
+ metadata.gz: 2cfe2d62c7dba107b1d419d64ed38f16058dc4a5
4
+ data.tar.gz: 2296091270ba90d54f638c48c9c66ecc80534be7
5
5
  SHA512:
6
- metadata.gz: 4b5d3f2b56fe47d3abcb6632fa994d99c2c2780d19e536bd12649654c567859287447a72222401b94286c2462226256c863ee34957dcf88785c11386376d2c39
7
- data.tar.gz: eec0082e3152a28a21b2d1df1af00499179ba910708edc3498c8a72615642a67d2320c5b36813449cc03103d0301eef8f28fb04655c6978392401508be0fe34f
6
+ metadata.gz: d0c91f929a439465f938582f6787b83531a1a76176268e152cb8cad2c0aa058917631c5ca1b45d53a98013d08217bff7e783b7daf5a2c2689d1cb14847d57946
7
+ data.tar.gz: 6f7a582e2d731c71b4dd68a6350d1003055b6bec09223ab837cce62be761df38a9152a94b8d4dc37072b73fb4c2af8d5ce5694c1e1e016b477a93a39e86d57e5
@@ -130,7 +130,7 @@ module Azure::ContainerInstance::Mgmt::V2017_08_01_preview
130
130
  #
131
131
  def add_telemetry
132
132
  sdk_information = 'azure_mgmt_container_instance'
133
- sdk_information = "#{sdk_information}/0.17.0"
133
+ sdk_information = "#{sdk_information}/0.17.1"
134
134
  add_user_agent_information(sdk_information)
135
135
  end
136
136
  end
@@ -28,6 +28,15 @@ module Azure::ContainerInstance::Mgmt::V2017_08_01_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.
@@ -134,7 +134,7 @@ module Azure::ContainerInstance::Mgmt::V2017_10_01_preview
134
134
  #
135
135
  def add_telemetry
136
136
  sdk_information = 'azure_mgmt_container_instance'
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
@@ -28,6 +28,15 @@ module Azure::ContainerInstance::Mgmt::V2017_10_01_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.
@@ -138,7 +138,7 @@ module Azure::ContainerInstance::Mgmt::V2017_12_01_preview
138
138
  #
139
139
  def add_telemetry
140
140
  sdk_information = 'azure_mgmt_container_instance'
141
- sdk_information = "#{sdk_information}/0.17.0"
141
+ sdk_information = "#{sdk_information}/0.17.1"
142
142
  add_user_agent_information(sdk_information)
143
143
  end
144
144
  end
@@ -28,6 +28,15 @@ module Azure::ContainerInstance::Mgmt::V2017_12_01_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.
@@ -142,7 +142,7 @@ module Azure::ContainerInstance::Mgmt::V2018_02_01_preview
142
142
  #
143
143
  def add_telemetry
144
144
  sdk_information = 'azure_mgmt_container_instance'
145
- sdk_information = "#{sdk_information}/0.17.0"
145
+ sdk_information = "#{sdk_information}/0.17.1"
146
146
  add_user_agent_information(sdk_information)
147
147
  end
148
148
  end
@@ -28,6 +28,15 @@ module Azure::ContainerInstance::Mgmt::V2018_02_01_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.
@@ -142,7 +142,7 @@ module Azure::ContainerInstance::Mgmt::V2018_04_01
142
142
  #
143
143
  def add_telemetry
144
144
  sdk_information = 'azure_mgmt_container_instance'
145
- sdk_information = "#{sdk_information}/0.17.0"
145
+ sdk_information = "#{sdk_information}/0.17.1"
146
146
  add_user_agent_information(sdk_information)
147
147
  end
148
148
  end
@@ -28,6 +28,15 @@ module Azure::ContainerInstance::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.
@@ -138,7 +138,7 @@ module Azure::ContainerInstance::Mgmt::V2018_06_01
138
138
  #
139
139
  def add_telemetry
140
140
  sdk_information = 'azure_mgmt_container_instance'
141
- sdk_information = "#{sdk_information}/0.17.0"
141
+ sdk_information = "#{sdk_information}/0.17.1"
142
142
  add_user_agent_information(sdk_information)
143
143
  end
144
144
  end
@@ -28,6 +28,15 @@ module Azure::ContainerInstance::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::ContainerInstance::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_container_instance
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