azure_mgmt_dns 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
2
  SHA1:
3
- metadata.gz: 23165461da77efa58fd5e5e7f45ae4ad5dd5d192
4
- data.tar.gz: 181485e0ee942fbee759dc10de94f6ad28b3ab2c
3
+ metadata.gz: 38cce7b4c655ed5a98980ab9b3523c31c7de2d7d
4
+ data.tar.gz: 5e3456d87cff18dc44a86088b8704ad23699bce8
5
5
  SHA512:
6
- metadata.gz: 1095cd247a2ccba60f065c4bd89db4a723e9bd290aeb0461d2e80f2bfa933c5904d086905a6ad0845e2ad925b611832b4a04560cf2c8fa38efd545df071082a9
7
- data.tar.gz: 0d54aea08a0c30a10cdc0930b20fe1d82760c197a965499ad333ae269298d06549b00301085c4a415f08976c3f2bd7bd7d37ed54816f42f02fafeab8b566518b
6
+ metadata.gz: 0c0171d7d0e1af8b7639f6a95e925de662bdb19242c5c721bb9bdc3d042b0629f133d8169a25adc89e7b55b08b6e76e5b273022e000fff3459c53d1400e807d9
7
+ data.tar.gz: c1dc32b29923130f4432d306f636e008a43091090e93b094520ea0c38a1b3d760afa13ae0702f7af4239be74c1a6484699db0055ef273c4ed0d02b26cc9c6d22
@@ -129,7 +129,7 @@ module Azure::Dns::Mgmt::V2016_04_01
129
129
  #
130
130
  def add_telemetry
131
131
  sdk_information = 'azure_mgmt_dns'
132
- sdk_information = "#{sdk_information}/0.17.0"
132
+ sdk_information = "#{sdk_information}/0.17.1"
133
133
  add_user_agent_information(sdk_information)
134
134
  end
135
135
  end
@@ -29,6 +29,15 @@ module Azure::Dns::Mgmt::V2016_04_01
29
29
  attr_accessor :tags
30
30
 
31
31
 
32
+ # @return [String] the name of the resource group of the resource.
33
+ def resource_group
34
+ unless self.id.nil?
35
+ groups = self.id.match(/.+\/resourceGroups\/([^\/]+)\/.+/)
36
+ groups.captures[0].strip if groups
37
+ end
38
+ end
39
+
40
+
32
41
  #
33
42
  # Mapper for Resource class as Ruby Hash.
34
43
  # This will be used for serialization/deserialization.
@@ -129,7 +129,7 @@ module Azure::Dns::Mgmt::V2017_09_01
129
129
  #
130
130
  def add_telemetry
131
131
  sdk_information = 'azure_mgmt_dns'
132
- sdk_information = "#{sdk_information}/0.17.0"
132
+ sdk_information = "#{sdk_information}/0.17.1"
133
133
  add_user_agent_information(sdk_information)
134
134
  end
135
135
  end
@@ -28,6 +28,15 @@ module Azure::Dns::Mgmt::V2017_09_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.
@@ -129,7 +129,7 @@ module Azure::Dns::Mgmt::V2017_10_01
129
129
  #
130
130
  def add_telemetry
131
131
  sdk_information = 'azure_mgmt_dns'
132
- sdk_information = "#{sdk_information}/0.17.0"
132
+ sdk_information = "#{sdk_information}/0.17.1"
133
133
  add_user_agent_information(sdk_information)
134
134
  end
135
135
  end
@@ -28,6 +28,15 @@ module Azure::Dns::Mgmt::V2017_10_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.
@@ -129,7 +129,7 @@ module Azure::Dns::Mgmt::V2018_03_01_preview
129
129
  #
130
130
  def add_telemetry
131
131
  sdk_information = 'azure_mgmt_dns'
132
- sdk_information = "#{sdk_information}/0.17.0"
132
+ sdk_information = "#{sdk_information}/0.17.1"
133
133
  add_user_agent_information(sdk_information)
134
134
  end
135
135
  end
@@ -28,6 +28,15 @@ module Azure::Dns::Mgmt::V2018_03_01_preview
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::Dns::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_dns
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