azure_mgmt_service_fabric 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
- SHA1:
3
- metadata.gz: d04edc3c99a73df399673a53ad552bc53933f0f9
4
- data.tar.gz: 0b9ee9528c40b8b47d3c094318d6ea06d10f6302
2
+ SHA256:
3
+ metadata.gz: d8932632de8e2b1709d6b6c205690e3f5b7323b9cb0410b908911fececca5780
4
+ data.tar.gz: 9f64fe92cfe27cede6ee952f1d66e6d1b6edb2e5728d12854597572b2afedf90
5
5
  SHA512:
6
- metadata.gz: f10bb9a2081ee83e3c401a8ed015a7ceeb29d9240f1149bb46da2c984a1115fe286aadc9098cd03400ae76d31bc04c01c1805a81c60ad1e2a2c370f3bfa08453
7
- data.tar.gz: a9370a48560c483b53fb415c0af5accfe71551a785885b642b4c8df9a1ca66e1267d781a751a64f004f1689fc7245d441635b508109cecb5347886eaaef67783
6
+ metadata.gz: d6631675e711ed963b191e313b48be0a2ec28d54952eb747b9e6695af17df82bbb1657ed1a13add3a745961985f3a418edcce93b981260a2bce8ac08c09e05e8
7
+ data.tar.gz: e3a04d2e5f2ba6e8f67ab493c22fab654bc06f1a2a1096eb9de70230ddc02048148ec7c1760d893c7abc20fa33fc9a4abac99d539190e3461272c3cc3a772fc5
@@ -28,6 +28,15 @@ module Azure::ServiceFabric::Mgmt::V2016_09_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.
@@ -132,7 +132,7 @@ module Azure::ServiceFabric::Mgmt::V2016_09_01
132
132
  #
133
133
  def add_telemetry
134
134
  sdk_information = 'azure_mgmt_service_fabric'
135
- sdk_information = "#{sdk_information}/0.17.0"
135
+ sdk_information = "#{sdk_information}/0.17.1"
136
136
  add_user_agent_information(sdk_information)
137
137
  end
138
138
  end
@@ -28,6 +28,15 @@ module Azure::ServiceFabric::Mgmt::V2017_07_01_preview
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.
@@ -141,7 +141,7 @@ module Azure::ServiceFabric::Mgmt::V2017_07_01_preview
141
141
  #
142
142
  def add_telemetry
143
143
  sdk_information = 'azure_mgmt_service_fabric'
144
- sdk_information = "#{sdk_information}/0.17.0"
144
+ sdk_information = "#{sdk_information}/0.17.1"
145
145
  add_user_agent_information(sdk_information)
146
146
  end
147
147
  end
@@ -28,6 +28,15 @@ module Azure::ServiceFabric::Mgmt::V2018_02_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.
@@ -134,7 +134,7 @@ module Azure::ServiceFabric::Mgmt::V2018_02_01
134
134
  #
135
135
  def add_telemetry
136
136
  sdk_information = 'azure_mgmt_service_fabric'
137
- sdk_information = "#{sdk_information}/0.17.0"
137
+ sdk_information = "#{sdk_information}/0.17.1"
138
138
  add_user_agent_information(sdk_information)
139
139
  end
140
140
  end
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::ServiceFabric::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_service_fabric
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
@@ -253,7 +253,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
253
253
  version: '0'
254
254
  requirements: []
255
255
  rubyforge_project:
256
- rubygems_version: 2.5.1
256
+ rubygems_version: 2.7.6
257
257
  signing_key:
258
258
  specification_version: 4
259
259
  summary: Official Ruby client library to consume Microsoft Azure Service Fabric.