azure_mgmt_event_grid 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: 674b0f4ec795a5e90a2335b6e4129f52fe99b6fd
4
- data.tar.gz: 234020fc0999ad4147931dad88ebd8004ffcaada
3
+ metadata.gz: 893c0142d6a778fdac8435baef35ec8a9c300ebc
4
+ data.tar.gz: b09582a7264f3d366c6472f36023a91e03696342
5
5
  SHA512:
6
- metadata.gz: 5068fdd9a6c04111ff99009c70a4c28e182067b69c4e21adf4784fa27eea92553f0f58e1d3527159e1e43ea1c0712f3b5afed1edb4f730d0d34573776d42a7bd
7
- data.tar.gz: 78e24420cd0e9ce76b745d866bd3b2e50ada52833f6bf6943bf17e1696a4ec017f48a4756c628e08115ecebdfad38929c34b766d91adee56da2996ed4d4bc019
6
+ metadata.gz: d840c4b77b5b9aea570fc0a123845100027bd8ec45a9a33f8eaf5cba4467c8ee61fa6c49ec403c4e1065387dde196e383266724fb79c31c1597564620d1fc1b1
7
+ data.tar.gz: efee118e3d820509742270abffbf76e78609d6c11672c11c5b14f73c2e4ddbcef205b2edc221575cc33d4d4fd5ba813532a4f03514251012243b9b192406402c
@@ -138,7 +138,7 @@ module Azure::EventGrid::Mgmt::V2017_06_15_preview
138
138
  #
139
139
  def add_telemetry
140
140
  sdk_information = 'azure_mgmt_event_grid'
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::EventGrid::Mgmt::V2017_06_15_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.
@@ -138,7 +138,7 @@ module Azure::EventGrid::Mgmt::V2017_09_15_preview
138
138
  #
139
139
  def add_telemetry
140
140
  sdk_information = 'azure_mgmt_event_grid'
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::EventGrid::Mgmt::V2017_09_15_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.
@@ -138,7 +138,7 @@ module Azure::EventGrid::Mgmt::V2018_01_01
138
138
  #
139
139
  def add_telemetry
140
140
  sdk_information = 'azure_mgmt_event_grid'
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::EventGrid::Mgmt::V2018_01_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::EventGrid::Mgmt::V2018_05_01_preview
138
138
  #
139
139
  def add_telemetry
140
140
  sdk_information = 'azure_mgmt_event_grid'
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::EventGrid::Mgmt::V2018_05_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::EventGrid::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_grid
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