azure_mgmt_datalake_store 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: 7b688297308e1fa8a0a2f8e8d65f29170b645160
4
- data.tar.gz: 98794cb303327263454596bda4be66422455a051
3
+ metadata.gz: 3df3e9ddf34536decff322dbdb4d4651252962f4
4
+ data.tar.gz: 8085df3fb21941609e8dab7e3f3a975c72c195a8
5
5
  SHA512:
6
- metadata.gz: 7dd662eb3a2e4e7c9b0ee1eb6c9a7553845dd41299cb399ace7c12cbbeed55a3bbce66df68b2ef0cdecd85877f469e140a8f1137224a7ae48a4d1b16b923cefd
7
- data.tar.gz: bd251850b2760d6453f5b70e86f796a3d48ec46bdcf6cd9d9a165011c24fe73c85f5103098f0c517215cbe9e2d08b71b0d6b74d5ac1074df72cb62e389db75a7
6
+ metadata.gz: 089e8537565235ecf9b564f1c5a289dbec7a26ac86b210410e26360230b847d26659d323f075fbf32de49d078ddf59d7e6ebc926aa5f1183759a8f560121939d
7
+ data.tar.gz: 01e48f0399f06ace5208f3b98cfd79484957f2ec52a80157776265a5732190267e4d1510bdbd9a288b1a483966fee73727802a75d345ca65d0e89c604c5b8f95
@@ -126,7 +126,7 @@ module Azure::DataLakeStore::Mgmt::V2015_10_01_preview
126
126
  #
127
127
  def add_telemetry
128
128
  sdk_information = 'azure_mgmt_datalake_store'
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
@@ -146,7 +146,7 @@ module Azure::DataLakeStore::Mgmt::V2016_11_01
146
146
  #
147
147
  def add_telemetry
148
148
  sdk_information = 'azure_mgmt_datalake_store'
149
- sdk_information = "#{sdk_information}/0.17.0"
149
+ sdk_information = "#{sdk_information}/0.17.1"
150
150
  add_user_agent_information(sdk_information)
151
151
  end
152
152
  end
@@ -28,6 +28,15 @@ module Azure::DataLakeStore::Mgmt::V2016_11_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
@@ -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::DataLakeStore::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_datalake_store
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