azure_mgmt_sql 0.17.0 → 0.17.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 76a2cda322f4faaade13eb0de1fcce26cd575847
4
- data.tar.gz: b06fb7b8c1e562acec0a68eeefc884babe553a53
2
+ SHA256:
3
+ metadata.gz: 9687050127ef7ffe94484ea0e090d9dad62941f1d54e14f2d054d2bcdeabbe71
4
+ data.tar.gz: 765d33aa6eab6aa91ddd33549aaf6b7d645fb9356ed690ddc138783f5681249d
5
5
  SHA512:
6
- metadata.gz: 423aa46104b66a50b7d02b8c51d8fdca75f4092e5543c4b0883c53fd4e8e543304946fb134b46665c8065bdd0403aebf47dbb20b995552e824681d3b4e175690
7
- data.tar.gz: 3e0f235ede4843eed6a4eafe6c27f9eaf742eaf41a227ede5830f7f9d18cfe0cfafa154ce52700acd762c270b38ca6799173fb87f275c6b6f5c7d20596faf12e
6
+ metadata.gz: a60fadd88dfab2b814c87e14b08e89bd5225d9d0ead96fac943ede7b062d08e16c5ee6d714900cb674cba51b9fdc80b7d46f132356a9e319c7841532e40d8c71
7
+ data.tar.gz: 7be420c962d971191862e9a6c59e7aeb0da1441a3c84b188778e8c5b033d7985136f755563c6f51a9d55ee847739cc10dafb6d306e2beae8f9cb68f0a39a66a8
@@ -22,6 +22,15 @@ module Azure::SQL::Mgmt::V2014_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.
@@ -281,7 +281,7 @@ module Azure::SQL::Mgmt::V2014_04_01
281
281
  #
282
282
  def add_telemetry
283
283
  sdk_information = 'azure_mgmt_sql'
284
- sdk_information = "#{sdk_information}/0.17.0"
284
+ sdk_information = "#{sdk_information}/0.17.1"
285
285
  add_user_agent_information(sdk_information)
286
286
  end
287
287
  end
@@ -22,6 +22,15 @@ module Azure::SQL::Mgmt::V2015_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.
@@ -190,7 +190,7 @@ module Azure::SQL::Mgmt::V2015_05_01_preview
190
190
  #
191
191
  def add_telemetry
192
192
  sdk_information = 'azure_mgmt_sql'
193
- sdk_information = "#{sdk_information}/0.17.0"
193
+ sdk_information = "#{sdk_information}/0.17.1"
194
194
  add_user_agent_information(sdk_information)
195
195
  end
196
196
  end
@@ -22,6 +22,15 @@ module Azure::SQL::Mgmt::V2017_03_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.
@@ -232,7 +232,7 @@ module Azure::SQL::Mgmt::V2017_03_01_preview
232
232
  #
233
233
  def add_telemetry
234
234
  sdk_information = 'azure_mgmt_sql'
235
- sdk_information = "#{sdk_information}/0.17.0"
235
+ sdk_information = "#{sdk_information}/0.17.1"
236
236
  add_user_agent_information(sdk_information)
237
237
  end
238
238
  end
@@ -22,6 +22,15 @@ module Azure::SQL::Mgmt::V2017_10_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.
@@ -164,7 +164,7 @@ module Azure::SQL::Mgmt::V2017_10_01_preview
164
164
  #
165
165
  def add_telemetry
166
166
  sdk_information = 'azure_mgmt_sql'
167
- sdk_information = "#{sdk_information}/0.17.0"
167
+ sdk_information = "#{sdk_information}/0.17.1"
168
168
  add_user_agent_information(sdk_information)
169
169
  end
170
170
  end
data/lib/version.rb CHANGED
@@ -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::SQL::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_sql
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
@@ -613,7 +613,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
613
613
  version: '0'
614
614
  requirements: []
615
615
  rubyforge_project:
616
- rubygems_version: 2.5.1
616
+ rubygems_version: 2.7.6
617
617
  signing_key:
618
618
  specification_version: 4
619
619
  summary: Official Ruby client library to consume Microsoft Azure SQL Management services.