azure_mgmt_notification_hubs 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: 4fba156f720f5ba048f15c157a0a367cd66d5bc3
4
- data.tar.gz: b593b7bf8a75a6cbea8911d37125e727d9b17052
2
+ SHA256:
3
+ metadata.gz: f87d3c817fd23ca981f7a8bfc7a230aea3b29cc89371e5cc0d70b1ca4b579e18
4
+ data.tar.gz: ad06e74de833dead8bc731bd6c45a538be9d4696f14eb2e1f7c9fb95351a7809
5
5
  SHA512:
6
- metadata.gz: 4113c81d741b1f03f1a5a707c5a7dfd3a37ba03597e28831ff9225ab1b57aac34a98df4adbd161e95e31f2b955fd710ff760426b891ba59409f384da3355ed0b
7
- data.tar.gz: d0640aebf49689cad82760413166b507e0daf8b95648c9e795209e9827ea19219de378fa3880bbba06240e636e94ec42e4b98f35fe9f484baf03a5da401a93ec
6
+ metadata.gz: 76bbea7bceed54817d1d6891d17fb7eeeece04b359f8c99495aa3e949686d6c4569d8ed23fa0ee8f7e392264ec8aa582dbb49d9d5df636cb9b1c4f7ceb71277e
7
+ data.tar.gz: 47435bd06b1ce8c698867e4c9eee0efbcc407038fe00fd92a513564c68d352dc83d56410bdd6cce83c6e8c82df79bf57c6740d121c24c57f94d9964a681ae6f0
@@ -32,6 +32,15 @@ module Azure::NotificationHubs::Mgmt::V2017_04_01
32
32
  attr_accessor :sku
33
33
 
34
34
 
35
+ # @return [String] the name of the resource group of the resource.
36
+ def resource_group
37
+ unless self.id.nil?
38
+ groups = self.id.match(/.+\/resourceGroups\/([^\/]+)\/.+/)
39
+ groups.captures[0].strip if groups
40
+ end
41
+ end
42
+
43
+
35
44
  #
36
45
  # Mapper for Resource class as Ruby Hash.
37
46
  # This will be used for serialization/deserialization.
@@ -134,7 +134,7 @@ module Azure::NotificationHubs::Mgmt::V2017_04_01
134
134
  #
135
135
  def add_telemetry
136
136
  sdk_information = 'azure_mgmt_notification_hubs'
137
- sdk_information = "#{sdk_information}/0.17.0"
137
+ sdk_information = "#{sdk_information}/0.17.1"
138
138
  add_user_agent_information(sdk_information)
139
139
  end
140
140
  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::NotificationHubs::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_notification_hubs
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
@@ -158,7 +158,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
158
158
  version: '0'
159
159
  requirements: []
160
160
  rubyforge_project:
161
- rubygems_version: 2.5.1
161
+ rubygems_version: 2.7.6
162
162
  signing_key:
163
163
  specification_version: 4
164
164
  summary: Official Ruby client library to consume Microsoft Azure Notification Hubs