azure_mgmt_relay 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 +5 -5
- data/lib/2016-07-01/generated/azure_mgmt_relay/models/resource.rb +9 -0
- data/lib/2016-07-01/generated/azure_mgmt_relay/relay_management_client.rb +1 -1
- data/lib/2017-04-01/generated/azure_mgmt_relay/models/resource.rb +9 -0
- data/lib/2017-04-01/generated/azure_mgmt_relay/relay_management_client.rb +1 -1
- data/lib/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 1769243dec7669ec9111f3aa51f4c737c8e3ecc6af438178629bd4d1a401e6c3
|
4
|
+
data.tar.gz: 588ea59a9eb6e2860e2944b3d662140582c87c1a9bd750f55ba5c6992434af33
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5bcc0c13c32eb2404d4cc68d1d93dc089a57ef86d2223e5a6e54a2d3ab5600018876fb4d0a8e79bd76e07caebccc4bb4bb2d452cce77d837ddda27ae7d106e1a
|
7
|
+
data.tar.gz: 490677dde9ac56e50ad9e7d490e14d9b9f0a1e2df384de9d5392267143f58eca32d543d91261c92a2de5dbf72f34780c10341bd9a10da79662489a1e9e10ac8c
|
@@ -22,6 +22,15 @@ module Azure::Relay::Mgmt::V2016_07_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.
|
@@ -138,7 +138,7 @@ module Azure::Relay::Mgmt::V2016_07_01
|
|
138
138
|
#
|
139
139
|
def add_telemetry
|
140
140
|
sdk_information = 'azure_mgmt_relay'
|
141
|
-
sdk_information = "#{sdk_information}/0.17.
|
141
|
+
sdk_information = "#{sdk_information}/0.17.1"
|
142
142
|
add_user_agent_information(sdk_information)
|
143
143
|
end
|
144
144
|
end
|
@@ -22,6 +22,15 @@ module Azure::Relay::Mgmt::V2017_04_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.
|
@@ -138,7 +138,7 @@ module Azure::Relay::Mgmt::V2017_04_01
|
|
138
138
|
#
|
139
139
|
def add_telemetry
|
140
140
|
sdk_information = 'azure_mgmt_relay'
|
141
|
-
sdk_information = "#{sdk_information}/0.17.
|
141
|
+
sdk_information = "#{sdk_information}/0.17.1"
|
142
142
|
add_user_agent_information(sdk_information)
|
143
143
|
end
|
144
144
|
end
|
data/lib/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: azure_mgmt_relay
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.17.
|
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-
|
11
|
+
date: 2018-09-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -183,7 +183,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
183
183
|
version: '0'
|
184
184
|
requirements: []
|
185
185
|
rubyforge_project:
|
186
|
-
rubygems_version: 2.
|
186
|
+
rubygems_version: 2.7.6
|
187
187
|
signing_key:
|
188
188
|
specification_version: 4
|
189
189
|
summary: Official Ruby client library to consume Microsoft Azure Relay.
|