azure_mgmt_redis 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: 046aef8073b9c7ef09848a281796b9c0adc93c01
4
- data.tar.gz: 1b58f0113851863eef86d56dd44cde5ba2698db9
2
+ SHA256:
3
+ metadata.gz: 86ef08cc7dae901c770d01ea582690b94f2f87b11d375c063f079ed353c5c5fa
4
+ data.tar.gz: d6df59a250bb231101c8da58c56cca46df5c75ee57481398f768dbe04ce12093
5
5
  SHA512:
6
- metadata.gz: a46b6b6a920a3071e6893859b0de51bf1fda2974ddc2d0ba59be0836e69d297afd0dce66e1d4fd14ff2ffeb06f487b3d03e3550344dc8f376fb647f7847fb40e
7
- data.tar.gz: dd8d903177b7fcfffd3dca5da6ea251f7f55ac0b5f9628658c157895ee8c79e5d88a0ab134d30f5c5fcf342f1416d6c56477aae736c7c7a5b48dcf8c0d72b2f0
6
+ metadata.gz: 413bdbfa81fb386d250852898b54be5faf3980dab2b0f5613a19f1aa2c73f827a379ae09864dee2168ae60c8b8174f9d898e4eccc24b03a8aa0335b13b8bc54b
7
+ data.tar.gz: 05e8c0213864e45eb0ebc618afc91f3b36ff8bd45cd0f6b7ea304197800b6e9d3df0196b9df891f48bf3aca6bdee0b5ea7f27210fbfb77770c1c9cf2369e2b27
@@ -29,6 +29,15 @@ module Azure::Redis::Mgmt::V2015_08_01
29
29
  attr_accessor :tags
30
30
 
31
31
 
32
+ # @return [String] the name of the resource group of the resource.
33
+ def resource_group
34
+ unless self.id.nil?
35
+ groups = self.id.match(/.+\/resourceGroups\/([^\/]+)\/.+/)
36
+ groups.captures[0].strip if groups
37
+ end
38
+ end
39
+
40
+
32
41
  #
33
42
  # Mapper for Resource class as Ruby Hash.
34
43
  # This will be used for serialization/deserialization.
@@ -126,7 +126,7 @@ module Azure::Redis::Mgmt::V2015_08_01
126
126
  #
127
127
  def add_telemetry
128
128
  sdk_information = 'azure_mgmt_redis'
129
- sdk_information = "#{sdk_information}/0.17.0"
129
+ sdk_information = "#{sdk_information}/0.17.1"
130
130
  add_user_agent_information(sdk_information)
131
131
  end
132
132
  end
@@ -28,6 +28,15 @@ module Azure::Redis::Mgmt::V2016_04_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.
@@ -142,7 +142,7 @@ module Azure::Redis::Mgmt::V2016_04_01
142
142
  #
143
143
  def add_telemetry
144
144
  sdk_information = 'azure_mgmt_redis'
145
- sdk_information = "#{sdk_information}/0.17.0"
145
+ sdk_information = "#{sdk_information}/0.17.1"
146
146
  add_user_agent_information(sdk_information)
147
147
  end
148
148
  end
@@ -22,6 +22,15 @@ module Azure::Redis::Mgmt::V2017_02_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.
@@ -142,7 +142,7 @@ module Azure::Redis::Mgmt::V2017_02_01
142
142
  #
143
143
  def add_telemetry
144
144
  sdk_information = 'azure_mgmt_redis'
145
- sdk_information = "#{sdk_information}/0.17.0"
145
+ sdk_information = "#{sdk_information}/0.17.1"
146
146
  add_user_agent_information(sdk_information)
147
147
  end
148
148
  end
@@ -22,6 +22,15 @@ module Azure::Redis::Mgmt::V2017_10_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.
@@ -142,7 +142,7 @@ module Azure::Redis::Mgmt::V2017_10_01
142
142
  #
143
143
  def add_telemetry
144
144
  sdk_information = 'azure_mgmt_redis'
145
- sdk_information = "#{sdk_information}/0.17.0"
145
+ sdk_information = "#{sdk_information}/0.17.1"
146
146
  add_user_agent_information(sdk_information)
147
147
  end
148
148
  end
@@ -22,6 +22,15 @@ module Azure::Redis::Mgmt::V2018_03_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.
@@ -142,7 +142,7 @@ module Azure::Redis::Mgmt::V2018_03_01
142
142
  #
143
143
  def add_telemetry
144
144
  sdk_information = 'azure_mgmt_redis'
145
- sdk_information = "#{sdk_information}/0.17.0"
145
+ sdk_information = "#{sdk_information}/0.17.1"
146
146
  add_user_agent_information(sdk_information)
147
147
  end
148
148
  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::Redis::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_redis
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
@@ -299,7 +299,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
299
299
  version: '0'
300
300
  requirements: []
301
301
  rubyforge_project:
302
- rubygems_version: 2.5.1
302
+ rubygems_version: 2.7.6
303
303
  signing_key:
304
304
  specification_version: 4
305
305
  summary: Official Ruby client library to consume Microsoft Azure Redis Management