azure_mgmt_key_vault 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: 5ccf461eca96d9d2f26aea598734a145f4adc578
4
- data.tar.gz: 0fe5aba24502d5adfa683e5ed7df852ce190b73a
3
+ metadata.gz: 4c2ef91f83a9df16106d7b139a80577062ad083e
4
+ data.tar.gz: 34f8e7e0d02f941b72c95d97632851e82bec501d
5
5
  SHA512:
6
- metadata.gz: 2cee9a41848193ca0a3136d5d0343f49c1b77ed88b5725642d905df099c8875a61a516263277bae07b6fc4cd4229f7e8251abd5dc43b3cbb3c0a1edddeefd727
7
- data.tar.gz: 97e29d54dac9bdad51c6ae6cd461b03cab3b89dffe40c2d7caa22fb51935b30938f70ade847223d2bf09487d831154da62fd61c09d248bdabb0c2a1f9f7399b3
6
+ metadata.gz: c6c89b13a1aea40c6d90fe6a40a2537621ed775a6b0e7cc3081470b2713bb3fef66520fd6a317108c2c0a64c5953b454745583c857cbfef20677dd8fa96c6b4d
7
+ data.tar.gz: c9a88f5acadb6fe26f5967541d369b30bd2c03060b070969dfd5019525920fd4cf665ce5fb8ee9a813542cddd1281dc25daa343fa4b14acab5ca0cddd8cee2c6
@@ -126,7 +126,7 @@ module Azure::KeyVault::Mgmt::V2015_06_01
126
126
  #
127
127
  def add_telemetry
128
128
  sdk_information = 'azure_mgmt_key_vault'
129
- sdk_information = "#{sdk_information}/0.17.0"
129
+ sdk_information = "#{sdk_information}/0.17.1"
130
130
  add_user_agent_information(sdk_information)
131
131
  end
132
132
  end
@@ -31,6 +31,15 @@ module Azure::KeyVault::Mgmt::V2015_06_01
31
31
  attr_accessor :tags
32
32
 
33
33
 
34
+ # @return [String] the name of the resource group of the resource.
35
+ def resource_group
36
+ unless self.id.nil?
37
+ groups = self.id.match(/.+\/resourceGroups\/([^\/]+)\/.+/)
38
+ groups.captures[0].strip if groups
39
+ end
40
+ end
41
+
42
+
34
43
  #
35
44
  # Mapper for Resource class as Ruby Hash.
36
45
  # This will be used for serialization/deserialization.
@@ -130,7 +130,7 @@ module Azure::KeyVault::Mgmt::V2016_10_01
130
130
  #
131
131
  def add_telemetry
132
132
  sdk_information = 'azure_mgmt_key_vault'
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
@@ -31,6 +31,15 @@ module Azure::KeyVault::Mgmt::V2016_10_01
31
31
  attr_accessor :tags
32
32
 
33
33
 
34
+ # @return [String] the name of the resource group of the resource.
35
+ def resource_group
36
+ unless self.id.nil?
37
+ groups = self.id.match(/.+\/resourceGroups\/([^\/]+)\/.+/)
38
+ groups.captures[0].strip if groups
39
+ end
40
+ end
41
+
42
+
34
43
  #
35
44
  # Mapper for Resource class as Ruby Hash.
36
45
  # This will be used for serialization/deserialization.
@@ -130,7 +130,7 @@ module Azure::KeyVault::Mgmt::V2018_02_14
130
130
  #
131
131
  def add_telemetry
132
132
  sdk_information = 'azure_mgmt_key_vault'
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
@@ -31,6 +31,15 @@ module Azure::KeyVault::Mgmt::V2018_02_14
31
31
  attr_accessor :tags
32
32
 
33
33
 
34
+ # @return [String] the name of the resource group of the resource.
35
+ def resource_group
36
+ unless self.id.nil?
37
+ groups = self.id.match(/.+\/resourceGroups\/([^\/]+)\/.+/)
38
+ groups.captures[0].strip if groups
39
+ end
40
+ end
41
+
42
+
34
43
  #
35
44
  # Mapper for Resource class as Ruby Hash.
36
45
  # 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::KeyVault::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_key_vault
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