azure_mgmt_stor_simple8000_series 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
- SHA1:
3
- metadata.gz: 482ceae935c257667926ba311cbb99fec5864d1f
4
- data.tar.gz: 3999ef873dc0578c0c4eac24660c1e8fe952fa88
2
+ SHA256:
3
+ metadata.gz: 7f266b8596a1d8290df39271f364ccc71fa358b86fdef85651e50fafbd4cb733
4
+ data.tar.gz: 09d2206cbd5cd397d9d01a5badd698cad2cd33b5c9dd92ce4b427b60d6e0fd44
5
5
  SHA512:
6
- metadata.gz: 2aa2e5545de97887fcc6e43414dbfffd373d27c1e0a843d87509c5f9541a7b69c381b4d651ce7b5c1d9d9c87716dde1f982b3437623e05cd5b328b100f5b0d9c
7
- data.tar.gz: 434ecb3705940255aaf8c2a5abe87452f3b65283103745f7a2259be81f30dd90f04b4e254bfc4eeece51e8848fba5e1a73ea3ca103937fc1e6b715718f32dbc9
6
+ metadata.gz: 7ce0124c76227f77b12929ed381f89a2e9191fe60569fcbc4a30c56764594fb65f3397b934c33e310415a5879f673084ffc7012c2558949fdf7015a04a9da24d
7
+ data.tar.gz: 23e7556f5acd64dad49c02ef36f54b69e12bb8d621feb9df451c7a7dda84042ce723df7ae256f58a82c11bbf21e772ccf0a10a6bb4e6779f177fb5c947d46f8e
@@ -28,6 +28,15 @@ module Azure::StorSimple8000Series::Mgmt::V2017_06_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.
@@ -184,7 +184,7 @@ module Azure::StorSimple8000Series::Mgmt::V2017_06_01
184
184
  #
185
185
  def add_telemetry
186
186
  sdk_information = 'azure_mgmt_stor_simple8000_series'
187
- sdk_information = "#{sdk_information}/0.17.0"
187
+ sdk_information = "#{sdk_information}/0.17.1"
188
188
  add_user_agent_information(sdk_information)
189
189
  end
190
190
  end
@@ -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::StorSimple8000Series::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_stor_simple8000_series
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
@@ -296,7 +296,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
296
296
  version: '0'
297
297
  requirements: []
298
298
  rubyforge_project:
299
- rubygems_version: 2.5.1
299
+ rubygems_version: 2.7.6
300
300
  signing_key:
301
301
  specification_version: 4
302
302
  summary: Official Ruby client library to consume Microsoft Azure Stor Simple 8000