azure_mgmt_media_services 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: 0360b9365b2197d9f7a16ef094eb700ae3f53ae5
4
- data.tar.gz: c9d84bfb59e9a4d04e23dd202c9d46a0bf30a7ed
3
+ metadata.gz: a44141614d2ad11720e22f4d2628a82f624f6f40
4
+ data.tar.gz: 9f9300620e605fa5553ace9d187b3af184c4144d
5
5
  SHA512:
6
- metadata.gz: cc382439b677e7300e1090e7e0ec92b8dd45950cc671083a0ed7e40061421bd04dbc671311430616b759e02bcd6c229f3bf5efc616df089679c43789e619da94
7
- data.tar.gz: f975902f5a4d9fbef72ad252287b98ca0b9e974878d77616ab2766fcfaef8b70a10492c75d5d612c5867c5eb7e0f388c23510e00e63d4f756efb0aee8ac25bd9
6
+ metadata.gz: 0176a7b29c1929a88e075b0e47a66abe2e5351565b84283e7f4d9380df5e622e29b35458800d8f841a972fe49f3c8e97508f97daa5e14de1681b3eabb3f5bfe7
7
+ data.tar.gz: e1350b252b2420a46c0a055e5e6dc2002d49e8c81a22a8b8159376fab43887764680410a5bd574eae78330d00e7606e5fe16518f110d530af589bc97f009c091
@@ -130,7 +130,7 @@ module Azure::MediaServices::Mgmt::V2015_10_01
130
130
  #
131
131
  def add_telemetry
132
132
  sdk_information = 'azure_mgmt_media_services'
133
- sdk_information = "#{sdk_information}/0.17.0"
133
+ sdk_information = "#{sdk_information}/0.17.1"
134
134
  add_user_agent_information(sdk_information)
135
135
  end
136
136
  end
@@ -31,6 +31,15 @@ module Azure::MediaServices::Mgmt::V2015_10_01
31
31
  attr_accessor :tags
32
32
 
33
33
 
34
+ # @return [String] the name of the resource group of the resource.
35
+ def resource_group
36
+ unless self.id.nil?
37
+ groups = self.id.match(/.+\/resourceGroups\/([^\/]+)\/.+/)
38
+ groups.captures[0].strip if groups
39
+ end
40
+ end
41
+
42
+
34
43
  #
35
44
  # Mapper for Resource class as Ruby Hash.
36
45
  # This will be used for serialization/deserialization.
@@ -170,7 +170,7 @@ module Azure::MediaServices::Mgmt::V2018_03_30_preview
170
170
  #
171
171
  def add_telemetry
172
172
  sdk_information = 'azure_mgmt_media_services'
173
- sdk_information = "#{sdk_information}/0.17.0"
173
+ sdk_information = "#{sdk_information}/0.17.1"
174
174
  add_user_agent_information(sdk_information)
175
175
  end
176
176
  end
@@ -22,6 +22,15 @@ module Azure::MediaServices::Mgmt::V2018_03_30_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.
@@ -170,7 +170,7 @@ module Azure::MediaServices::Mgmt::V2018_06_01_preview
170
170
  #
171
171
  def add_telemetry
172
172
  sdk_information = 'azure_mgmt_media_services'
173
- sdk_information = "#{sdk_information}/0.17.0"
173
+ sdk_information = "#{sdk_information}/0.17.1"
174
174
  add_user_agent_information(sdk_information)
175
175
  end
176
176
  end
@@ -22,6 +22,15 @@ module Azure::MediaServices::Mgmt::V2018_06_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.
@@ -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::MediaServices::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_media_services
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