azure_mgmt_cdn 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: 541ccad5ca050b4f2a4d1429153de31b629a0ea8
4
- data.tar.gz: 059211fe53286f6fbbb813d46eed87b3a1e14463
3
+ metadata.gz: f853d28fede9ff5b6bebc60fdd9ddd7a01873a43
4
+ data.tar.gz: 3b64f250fe1a8d6b7490e52cf231daae07e68144
5
5
  SHA512:
6
- metadata.gz: dacc7518a1c0d4c4e0844ff84a2955e540ff3b21e8f79d5b7a11793c92806f0cb887390aa1e005d4c834aa063d546c139bb4be973a312d0f23e0f8e98f412ffd
7
- data.tar.gz: 5f614477b3208cb1c98bf61da17e4ae628ab76d4237da95e6a15b9649778c4f2361e352d20f0288cc886100dc1c878d38eb190a3d2ee4eb8640013e7638f398d
6
+ metadata.gz: bec3d6a8ad38a65a3d168980da13a3a39ddc5ce5211a91834236b56a0d72a7240538aa3405674fc244b83d6f819713076eeb942911d43ab15cf7054f0b67fcc9
7
+ data.tar.gz: 9a20b81c8632812e9c7b71c168f231ce0e583e2ef1fd32172713704f8e612fee51211fd42065ed746ecbe199104e89be0a909673b693c86e3449a0e306d2bea9
@@ -145,7 +145,7 @@ module Azure::CDN::Mgmt::V2015_06_01
145
145
  #
146
146
  def add_telemetry
147
147
  sdk_information = 'azure_mgmt_cdn'
148
- sdk_information = "#{sdk_information}/0.17.0"
148
+ sdk_information = "#{sdk_information}/0.17.1"
149
149
  add_user_agent_information(sdk_information)
150
150
  end
151
151
  end
@@ -23,6 +23,15 @@ module Azure::CDN::Mgmt::V2015_06_01
23
23
  attr_accessor :type
24
24
 
25
25
 
26
+ # @return [String] the name of the resource group of the resource.
27
+ def resource_group
28
+ unless self.id.nil?
29
+ groups = self.id.match(/.+\/resourceGroups\/([^\/]+)\/.+/)
30
+ groups.captures[0].strip if groups
31
+ end
32
+ end
33
+
34
+
26
35
  #
27
36
  # Mapper for Resource class as Ruby Hash.
28
37
  # This will be used for serialization/deserialization.
@@ -145,7 +145,7 @@ module Azure::CDN::Mgmt::V2016_04_02
145
145
  #
146
146
  def add_telemetry
147
147
  sdk_information = 'azure_mgmt_cdn'
148
- sdk_information = "#{sdk_information}/0.17.0"
148
+ sdk_information = "#{sdk_information}/0.17.1"
149
149
  add_user_agent_information(sdk_information)
150
150
  end
151
151
  end
@@ -23,6 +23,15 @@ module Azure::CDN::Mgmt::V2016_04_02
23
23
  attr_accessor :type
24
24
 
25
25
 
26
+ # @return [String] the name of the resource group of the resource.
27
+ def resource_group
28
+ unless self.id.nil?
29
+ groups = self.id.match(/.+\/resourceGroups\/([^\/]+)\/.+/)
30
+ groups.captures[0].strip if groups
31
+ end
32
+ end
33
+
34
+
26
35
  #
27
36
  # Mapper for Resource class as Ruby Hash.
28
37
  # This will be used for serialization/deserialization.
@@ -743,7 +743,7 @@ module Azure::CDN::Mgmt::V2016_10_02
743
743
  #
744
744
  def add_telemetry
745
745
  sdk_information = 'azure_mgmt_cdn'
746
- sdk_information = "#{sdk_information}/0.17.0"
746
+ sdk_information = "#{sdk_information}/0.17.1"
747
747
  add_user_agent_information(sdk_information)
748
748
  end
749
749
  end
@@ -28,6 +28,15 @@ module Azure::CDN::Mgmt::V2016_10_02
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.
@@ -352,7 +352,7 @@ module Azure::CDN::Mgmt::V2017_04_02
352
352
  #
353
353
  def add_telemetry
354
354
  sdk_information = 'azure_mgmt_cdn'
355
- sdk_information = "#{sdk_information}/0.17.0"
355
+ sdk_information = "#{sdk_information}/0.17.1"
356
356
  add_user_agent_information(sdk_information)
357
357
  end
358
358
  end
@@ -22,6 +22,15 @@ module Azure::CDN::Mgmt::V2017_04_02
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.
@@ -453,7 +453,7 @@ module Azure::CDN::Mgmt::V2017_10_12
453
453
  #
454
454
  def add_telemetry
455
455
  sdk_information = 'azure_mgmt_cdn'
456
- sdk_information = "#{sdk_information}/0.17.0"
456
+ sdk_information = "#{sdk_information}/0.17.1"
457
457
  add_user_agent_information(sdk_information)
458
458
  end
459
459
  end
@@ -22,6 +22,15 @@ module Azure::CDN::Mgmt::V2017_10_12
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::CDN::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_cdn
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