azure_mgmt_marketplace_ordering 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: c12e263a0aaa0d121b24492b3687f92c3f2eb66e
4
- data.tar.gz: 856dfba54a289070d0d6ff96b2d83feddeb390d4
3
+ metadata.gz: 1ca68a3670c5d880611827747453350899a52481
4
+ data.tar.gz: 3a15d9183ae03b61ed3d4ca3a7a8ea174ebacbc9
5
5
  SHA512:
6
- metadata.gz: cc1a82fa54246b7520b65c7151b58fe2496b72097452a92ba869855284414c92920521b3119cdc321f24f422660980fe5a955a5ac3d26d9d1bb80789440a65dd
7
- data.tar.gz: 28011e830a2307420b4f33b60462dc17347a6d2ed018751b6046cf1cba669581ab7d83cd4db0e298163633f29efa8d8219188dade51b4e0cef0556b233800f2b
6
+ metadata.gz: 691d25e0f2c7dec77f25c8677062f7e69b73a2298ab68d0e42c872e87cd90f4bc01e68f41519515ea95da762ecec368c6a5aaa6a0444f274bdcb4b93ab975198
7
+ data.tar.gz: 71d93adc63a0ad88ae126588fa653c9dd00a2311d0af6c1bc1e5a429364b941e4ac460195f79b1c521f8c63097063d13a5f126200bf498238b74e23d162fde78
@@ -129,7 +129,7 @@ module Azure::MarketplaceOrdering::Mgmt::V2015_06_01
129
129
  #
130
130
  def add_telemetry
131
131
  sdk_information = 'azure_mgmt_marketplace_ordering'
132
- sdk_information = "#{sdk_information}/0.17.0"
132
+ sdk_information = "#{sdk_information}/0.17.1"
133
133
  add_user_agent_information(sdk_information)
134
134
  end
135
135
  end
@@ -22,6 +22,15 @@ module Azure::MarketplaceOrdering::Mgmt::V2015_06_01
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.
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::MarketplaceOrdering::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_marketplace_ordering
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