azure_mgmt_api_management 0.18.0 → 0.18.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: 3ef7109c63819f6ff33da04fcf7cad386d05c68c
4
- data.tar.gz: 1a41a2b459927ac37c0293631a176c80d5a0d4f8
3
+ metadata.gz: efa01017ef0b59f354a8961b3d4eede438ffe02a
4
+ data.tar.gz: 1b34c09f872857f131f7dae8e6fe0da39ff371d0
5
5
  SHA512:
6
- metadata.gz: d7ae84e0408a9b2d80820e20749aa365238974f025e629a36f4373f47f12985b656a11cd0b334f9534405e7245f10390def8eafcc2097a4b80550a03e5ffc4a5
7
- data.tar.gz: 064d6da28aac2dcc3dafb3760be95cf00aa58049fef25c6ced917b84af9043e992606ffc116f390ef1eafea79c134c16b996d1de7c0a112c515528faa78ca2ef
6
+ metadata.gz: 316892da27bccc73159c447a3559bb2ed62094cd2dc179aca6397a67ecbee2719ae78f4b35ecd183454243de37e006ab325db417a547204fa1e9da47856c8604
7
+ data.tar.gz: b0024a678d5e1e3a6d4840e38990fd5e18a5c30ac77ce2b5768d2b708ec6afff2ac7f46e865d4df4ed466cf9faf9bce530e245ca1f376d954f21fbadbad77a9a
@@ -246,7 +246,7 @@ module Azure::ApiManagement::Mgmt::V2016_07_07
246
246
  #
247
247
  def add_telemetry
248
248
  sdk_information = 'azure_mgmt_api_management'
249
- sdk_information = "#{sdk_information}/0.18.0"
249
+ sdk_information = "#{sdk_information}/0.18.1"
250
250
  add_user_agent_information(sdk_information)
251
251
  end
252
252
  end
@@ -278,7 +278,7 @@ module Azure::ApiManagement::Mgmt::V2016_10_10
278
278
  #
279
279
  def add_telemetry
280
280
  sdk_information = 'azure_mgmt_api_management'
281
- sdk_information = "#{sdk_information}/0.18.0"
281
+ sdk_information = "#{sdk_information}/0.18.1"
282
282
  add_user_agent_information(sdk_information)
283
283
  end
284
284
  end
@@ -29,6 +29,15 @@ module Azure::ApiManagement::Mgmt::V2016_10_10
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.
@@ -378,7 +378,7 @@ module Azure::ApiManagement::Mgmt::V2017_03_01
378
378
  #
379
379
  def add_telemetry
380
380
  sdk_information = 'azure_mgmt_api_management'
381
- sdk_information = "#{sdk_information}/0.18.0"
381
+ sdk_information = "#{sdk_information}/0.18.1"
382
382
  add_user_agent_information(sdk_information)
383
383
  end
384
384
  end
@@ -22,6 +22,15 @@ module Azure::ApiManagement::Mgmt::V2017_03_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.
@@ -358,7 +358,7 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
358
358
  #
359
359
  def add_telemetry
360
360
  sdk_information = 'azure_mgmt_api_management'
361
- sdk_information = "#{sdk_information}/0.18.0"
361
+ sdk_information = "#{sdk_information}/0.18.1"
362
362
  add_user_agent_information(sdk_information)
363
363
  end
364
364
  end
@@ -22,6 +22,15 @@ module Azure::ApiManagement::Mgmt::V2018_01_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.
@@ -350,7 +350,7 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
350
350
  #
351
351
  def add_telemetry
352
352
  sdk_information = 'azure_mgmt_api_management'
353
- sdk_information = "#{sdk_information}/0.18.0"
353
+ sdk_information = "#{sdk_information}/0.18.1"
354
354
  add_user_agent_information(sdk_information)
355
355
  end
356
356
  end
@@ -22,6 +22,15 @@ module Azure::ApiManagement::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::ApiManagement::Mgmt
6
- VERSION = '0.18.0'
6
+ VERSION = '0.18.1'
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: azure_mgmt_api_management
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.18.0
4
+ version: 0.18.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