azure_mgmt_event_hub 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: 21314af3d9470e168399d17e264e13778ed1f485
4
- data.tar.gz: d6ea18e728d0409deacdd742616307a356a9d3d1
3
+ metadata.gz: 3cabe06dc162b2b67689c663305674c96291f820
4
+ data.tar.gz: 14e529b70e11647c0613fb897106294bae3d8cf3
5
5
  SHA512:
6
- metadata.gz: b2d4c00cfbe47bd8b70cbd2e10e560c268d73893fb1f1bffef950b1c3ad142d52358ef92f452af89730bc12e06249d75d56e8ada6423924a8122e272f863904a
7
- data.tar.gz: 007dfd53dc165d51e93186982a07cf91d92c3f0c8bfff6737ad73dd34936833d455d9c945e307556653a6085e923a56b8742f64255efab17cbe3d89012375d26
6
+ metadata.gz: 6fcf22d8e471ac576f8b6b7985d36eb03b6ed2bf6f61f8fae1b5a2cf213113b77e2d7eb52e5d8c8aee6ceb4232d9756de56fcc152e28cf682e0ac931721e2653
7
+ data.tar.gz: 43271852d4fa8c31173419d4964bb5bef9f268a47e947a18a8e0e1b838ea9236cbcf8b2a692a83ef7a5ecc5ef096dba8f05586c9299ebedbd5ec949cda73982a
@@ -138,7 +138,7 @@ module Azure::EventHub::Mgmt::V2015_08_01
138
138
  #
139
139
  def add_telemetry
140
140
  sdk_information = 'azure_mgmt_event_hub'
141
- sdk_information = "#{sdk_information}/0.17.0"
141
+ sdk_information = "#{sdk_information}/0.17.1"
142
142
  add_user_agent_information(sdk_information)
143
143
  end
144
144
  end
@@ -25,6 +25,15 @@ module Azure::EventHub::Mgmt::V2015_08_01
25
25
  attr_accessor :type
26
26
 
27
27
 
28
+ # @return [String] the name of the resource group of the resource.
29
+ def resource_group
30
+ unless self.id.nil?
31
+ groups = self.id.match(/.+\/resourceGroups\/([^\/]+)\/.+/)
32
+ groups.captures[0].strip if groups
33
+ end
34
+ end
35
+
36
+
28
37
  #
29
38
  # Mapper for Resource class as Ruby Hash.
30
39
  # This will be used for serialization/deserialization.
@@ -146,7 +146,7 @@ module Azure::EventHub::Mgmt::V2017_04_01
146
146
  #
147
147
  def add_telemetry
148
148
  sdk_information = 'azure_mgmt_event_hub'
149
- sdk_information = "#{sdk_information}/0.17.0"
149
+ sdk_information = "#{sdk_information}/0.17.1"
150
150
  add_user_agent_information(sdk_information)
151
151
  end
152
152
  end
@@ -22,6 +22,15 @@ module Azure::EventHub::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::EventHub::Mgmt::V2018_01_01_preview
138
138
  #
139
139
  def add_telemetry
140
140
  sdk_information = 'azure_mgmt_event_hub'
141
- sdk_information = "#{sdk_information}/0.17.0"
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::EventHub::Mgmt::V2018_01_01_preview
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.
@@ -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::EventHub::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_event_hub
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