azure_mgmt_dev_spaces 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: dd632df3cb022ab7b79175b265de0fbc1c6d93e3
4
- data.tar.gz: 9ad4941304922ff27f0a1a47ef3a0e39e2b54bde
3
+ metadata.gz: 05893aa0a9a9713febe6c167c158d6f474ee6e78
4
+ data.tar.gz: aea9ee86493d53e4e3581e3298245c57c7f36406
5
5
  SHA512:
6
- metadata.gz: 1f7acbbbb9b62c292cfac77b13b21f962f7974bcc1761b6888579f0554f2d01b61887eecd1dff77f8eeea7e3185ef38e3cfc793798864df6c45d97186c7c457f
7
- data.tar.gz: 7959577f8e16c8063719e221995e8778b34f151e23c4e408c10ed667f7493c9993e440cdf1949f2bd547afd956c51bfbc7f8fe91dad75ccbc215e2ab7218f4ae
6
+ metadata.gz: 6728ed87b0f3dcd206cf5a394df0d9a79a00c46ab9b92b6b18504cffa419798eda295e1e4dd3b1329d40d59b40c4a36ad96ba1a62157b4368cda95dbb0f47cb2
7
+ data.tar.gz: e8aa36195e57711c4b200a49679ef873dd63be9d24b5f7a6137915b4b9683da9da2e1cfc1407c45619c1892952f90d8b5f57bbde6c1959fe70e0f436790e13cc
@@ -128,7 +128,7 @@ module Azure::DevSpaces::Mgmt::V2018_06_01_preview
128
128
  #
129
129
  def add_telemetry
130
130
  sdk_information = 'azure_mgmt_dev_spaces'
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
@@ -22,6 +22,15 @@ module Azure::DevSpaces::Mgmt::V2018_06_01_preview
22
22
  attr_accessor :type
23
23
 
24
24
 
25
+ # @return [String] the name of the resource group of the resource.
26
+ def resource_group
27
+ unless self.id.nil?
28
+ groups = self.id.match(/.+\/resourceGroups\/([^\/]+)\/.+/)
29
+ groups.captures[0].strip if groups
30
+ end
31
+ end
32
+
33
+
25
34
  #
26
35
  # Mapper for Resource class as Ruby Hash.
27
36
  # 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::DevSpaces::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_dev_spaces
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