azure_mgmt_datalake_analytics 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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b339c82c6a1653ae86525f6700b58af3cd6176c2
4
- data.tar.gz: a9cd6b4b7c7830c36d0442eaad3391ba92db3c7c
3
+ metadata.gz: 2d7e7ae7b9180954f6288b624aa53787ef26c40d
4
+ data.tar.gz: 37bd980b2a415b95de603000e10c49ecadfc96ef
5
5
  SHA512:
6
- metadata.gz: 7acce4c01c3a49e64b2d4c83f62cea0d3c30f799bb69a1d9286a7d3a78b5943598ee8ead15e87ba895987ddf93ee1460117f16aea50adf90d10a4e103b148a03
7
- data.tar.gz: f36aad78a74228a172f24dea31f24a78389202eafaeadf106e3e6538037090edaa7178c65fa18fb16cd9c330dced52404e4d1f489fd0778a8706213db1d0e69e
6
+ metadata.gz: 21e031222ccf88ff5673087020de0640f909acf3205fda11872008093243e6f36ff1a74e095425155a859f3aa532fc592e87d250c88b5f774601d1a4b5ab1a8d
7
+ data.tar.gz: 478f83ec73afcf60ea5c81e1abd4061fab8b19b1ffd5661521452ddaba1fbda8d932d225d656ec800da61793e13ef023f551fd11188fbccbb8c6ae8344c348c3
@@ -126,7 +126,7 @@ module Azure::DataLakeAnalytics::Mgmt::V2015_10_01_preview
126
126
  #
127
127
  def add_telemetry
128
128
  sdk_information = 'azure_mgmt_datalake_analytics'
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
@@ -150,7 +150,7 @@ module Azure::DataLakeAnalytics::Mgmt::V2016_11_01
150
150
  #
151
151
  def add_telemetry
152
152
  sdk_information = 'azure_mgmt_datalake_analytics'
153
- sdk_information = "#{sdk_information}/0.17.0"
153
+ sdk_information = "#{sdk_information}/0.17.1"
154
154
  add_user_agent_information(sdk_information)
155
155
  end
156
156
  end
@@ -28,6 +28,15 @@ module Azure::DataLakeAnalytics::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.
@@ -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::DataLakeAnalytics::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_analytics
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