azure_mgmt_container_registry 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: ead764992939425696839b170ffe8d488e1aa34d
4
- data.tar.gz: 0961d82baccd0d6dfdb821753a3a56cc6bb1bafd
3
+ metadata.gz: 59c670092b507c682d729962edaee952d672f815
4
+ data.tar.gz: 053b8996d7d99e4c125a7a52db06cc0e813986d3
5
5
  SHA512:
6
- metadata.gz: eba0bd17147d09b361522b6bd7b5323d78491261112810a97d70f8c86bbc7c4c163a193c2ffb8a05a22189064d06d6befcc1df11881221a3a82c2b3b2f3e97f8
7
- data.tar.gz: 4930922d2f8c3683b57bbfdcb671922f8a705e8acb24c924273d28e9fbe625244c9034e977727a37fdd5071dc87ece7ec37cd296ed50d0683109998aabe8a8ce
6
+ metadata.gz: 3a60c923ba0dd6ecafc526a8ae43302516462340f019b1e7a63f5991ceefb429ed66bde58e2298367e246d75a9376d50c590ffa79e2a4c4fdfbd5e2882d89931
7
+ data.tar.gz: 962aba6f0c936629be27d358cd00862f08fc1a71060878232f060fe7181be6e41115f137f141fe16fdcc91bae02b4f45ec6b88f0d0fe9dd9ffd39a8d90110538
@@ -124,7 +124,7 @@ module Azure::ContainerRegistry::Mgmt::V2016_06_27_preview
124
124
  #
125
125
  def add_telemetry
126
126
  sdk_information = 'azure_mgmt_container_registry'
127
- sdk_information = "#{sdk_information}/0.17.0"
127
+ sdk_information = "#{sdk_information}/0.17.1"
128
128
  add_user_agent_information(sdk_information)
129
129
  end
130
130
  end
@@ -29,6 +29,15 @@ module Azure::ContainerRegistry::Mgmt::V2016_06_27_preview
29
29
  attr_accessor :tags
30
30
 
31
31
 
32
+ # @return [String] the name of the resource group of the resource.
33
+ def resource_group
34
+ unless self.id.nil?
35
+ groups = self.id.match(/.+\/resourceGroups\/([^\/]+)\/.+/)
36
+ groups.captures[0].strip if groups
37
+ end
38
+ end
39
+
40
+
32
41
  #
33
42
  # Mapper for Resource class as Ruby Hash.
34
43
  # This will be used for serialization/deserialization.
@@ -128,7 +128,7 @@ module Azure::ContainerRegistry::Mgmt::V2017_03_01
128
128
  #
129
129
  def add_telemetry
130
130
  sdk_information = 'azure_mgmt_container_registry'
131
- sdk_information = "#{sdk_information}/0.17.0"
131
+ sdk_information = "#{sdk_information}/0.17.1"
132
132
  add_user_agent_information(sdk_information)
133
133
  end
134
134
  end
@@ -29,6 +29,15 @@ module Azure::ContainerRegistry::Mgmt::V2017_03_01
29
29
  attr_accessor :tags
30
30
 
31
31
 
32
+ # @return [String] the name of the resource group of the resource.
33
+ def resource_group
34
+ unless self.id.nil?
35
+ groups = self.id.match(/.+\/resourceGroups\/([^\/]+)\/.+/)
36
+ groups.captures[0].strip if groups
37
+ end
38
+ end
39
+
40
+
32
41
  #
33
42
  # Mapper for Resource class as Ruby Hash.
34
43
  # This will be used for serialization/deserialization.
@@ -136,7 +136,7 @@ module Azure::ContainerRegistry::Mgmt::V2017_06_01_preview
136
136
  #
137
137
  def add_telemetry
138
138
  sdk_information = 'azure_mgmt_container_registry'
139
- sdk_information = "#{sdk_information}/0.17.0"
139
+ sdk_information = "#{sdk_information}/0.17.1"
140
140
  add_user_agent_information(sdk_information)
141
141
  end
142
142
  end
@@ -29,6 +29,15 @@ module Azure::ContainerRegistry::Mgmt::V2017_06_01_preview
29
29
  attr_accessor :tags
30
30
 
31
31
 
32
+ # @return [String] the name of the resource group of the resource.
33
+ def resource_group
34
+ unless self.id.nil?
35
+ groups = self.id.match(/.+\/resourceGroups\/([^\/]+)\/.+/)
36
+ groups.captures[0].strip if groups
37
+ end
38
+ end
39
+
40
+
32
41
  #
33
42
  # Mapper for Resource class as Ruby Hash.
34
43
  # This will be used for serialization/deserialization.
@@ -136,7 +136,7 @@ module Azure::ContainerRegistry::Mgmt::V2017_10_01
136
136
  #
137
137
  def add_telemetry
138
138
  sdk_information = 'azure_mgmt_container_registry'
139
- sdk_information = "#{sdk_information}/0.17.0"
139
+ sdk_information = "#{sdk_information}/0.17.1"
140
140
  add_user_agent_information(sdk_information)
141
141
  end
142
142
  end
@@ -29,6 +29,15 @@ module Azure::ContainerRegistry::Mgmt::V2017_10_01
29
29
  attr_accessor :tags
30
30
 
31
31
 
32
+ # @return [String] the name of the resource group of the resource.
33
+ def resource_group
34
+ unless self.id.nil?
35
+ groups = self.id.match(/.+\/resourceGroups\/([^\/]+)\/.+/)
36
+ groups.captures[0].strip if groups
37
+ end
38
+ end
39
+
40
+
32
41
  #
33
42
  # Mapper for Resource class as Ruby Hash.
34
43
  # This will be used for serialization/deserialization.
data/lib/version.rb CHANGED
@@ -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::ContainerRegistry::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_registry
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