azure_mgmt_iot_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: f48d003565ca9d9682275ceb9b6ae14ad43987ff
4
- data.tar.gz: 013afe7c7ed2f3a38d9168c7a67d5c7b0f6b0b8f
3
+ metadata.gz: 1d59301b37c4654068de25a6eac36dab7c72b514
4
+ data.tar.gz: 7133594ffdd73f95ec3ce4f273da912fe3a674cd
5
5
  SHA512:
6
- metadata.gz: 83db64d6388a926acb205935f35131c6e711e9233f0beed5057d1301226447a276f5dc8f00d17e0ba0e3656eb1601bc688bd4f0a3c48d976a15826bfaa86d86e
7
- data.tar.gz: 2ac336f1b0ffbca409a41c08c4e6e1d30619bb7458bea7305d308df32e5860ce5299ed14f9a7988effb4d8e73551af007b948d8c2c6e04197604ccc90b5f82c9
6
+ metadata.gz: 74712419c1f0e509c91af4f85637124dbcb98432c0d36b0df76f139484ee22f31ffc360859ecee50b2da012938e83fc67edc20fae6f417e30d0b29fd97f62a41
7
+ data.tar.gz: 32d0154bd27b9513fb1332361ac87663e6873689191f97bec3f0899a6a04e14f6d96228caa947320d7fed0a6c65c1366de6fcb6e21c73b4d3504a59279b0efee
@@ -124,7 +124,7 @@ module Azure::IotHub::Mgmt::V2016_02_03
124
124
  #
125
125
  def add_telemetry
126
126
  sdk_information = 'azure_mgmt_iot_hub'
127
- sdk_information = "#{sdk_information}/0.17.0"
127
+ sdk_information = "#{sdk_information}/0.17.1"
128
128
  add_user_agent_information(sdk_information)
129
129
  end
130
130
  end
@@ -28,6 +28,15 @@ module Azure::IotHub::Mgmt::V2016_02_03
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.
@@ -124,7 +124,7 @@ module Azure::IotHub::Mgmt::V2017_01_19
124
124
  #
125
125
  def add_telemetry
126
126
  sdk_information = 'azure_mgmt_iot_hub'
127
- sdk_information = "#{sdk_information}/0.17.0"
127
+ sdk_information = "#{sdk_information}/0.17.1"
128
128
  add_user_agent_information(sdk_information)
129
129
  end
130
130
  end
@@ -28,6 +28,15 @@ module Azure::IotHub::Mgmt::V2017_01_19
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::IotHub::Mgmt::V2017_07_01
132
132
  #
133
133
  def add_telemetry
134
134
  sdk_information = 'azure_mgmt_iot_hub'
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::IotHub::Mgmt::V2017_07_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::IotHub::Mgmt::V2018_01_22
132
132
  #
133
133
  def add_telemetry
134
134
  sdk_information = 'azure_mgmt_iot_hub'
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::IotHub::Mgmt::V2018_01_22
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.
@@ -136,7 +136,7 @@ module Azure::IotHub::Mgmt::V2018_04_01
136
136
  #
137
137
  def add_telemetry
138
138
  sdk_information = 'azure_mgmt_iot_hub'
139
- sdk_information = "#{sdk_information}/0.17.0"
139
+ sdk_information = "#{sdk_information}/0.17.1"
140
140
  add_user_agent_information(sdk_information)
141
141
  end
142
142
  end
@@ -28,6 +28,15 @@ module Azure::IotHub::Mgmt::V2018_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.
@@ -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::IotHub::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_iot_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