azure_mgmt_search 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
- SHA1:
3
- metadata.gz: 4ec9bd749ddc21811f2a73f50fdec3d650fe0588
4
- data.tar.gz: bf0b262d461da5111427d42bf590da2f854d73a9
2
+ SHA256:
3
+ metadata.gz: 3127510a9d07bcd8ee0b7b7b2e60be2d17402dc6b5f0fadc382a7a13230da49b
4
+ data.tar.gz: 1b30478658e51a0b7c6d2771ad4737b307b107a8567972bee2646d2be002171b
5
5
  SHA512:
6
- metadata.gz: 4a9fd1625b6d043af7e48e9f8e2f8d809f57cc655597a7d465c1253321df36fec5b13f0d17c4747a7acd91f0fff4db57e35aab3869a26709d17755db51bf145a
7
- data.tar.gz: 7b4212a395f63ad089a0fef6846422bd3187667f5dd36aa7be41462e470f127ab956bd31a8141f91c3439958691715a26868df9b01ba7e45405c7ea62d34a95c
6
+ metadata.gz: 1c8a51bf6337238fdf424d0ecb3f5a3fb7329fd65a518aeb7f9ce2f62a7bd5c9b1656d0583c276e0d2ddf3910740b0a0f4aaa3bb3db3e249f15c4095ca33dbd3
7
+ data.tar.gz: f6ae327870e204b340553a5c0503685eeb2a4bceb9a6fa6e4e5d4341a4a22d46084ffacd20e86fe50da315e5763602e303dc0d6fe04c712e51d2324369cfda25
@@ -36,6 +36,15 @@ module Azure::Search::Mgmt::V2015_08_19
36
36
  attr_accessor :identity
37
37
 
38
38
 
39
+ # @return [String] the name of the resource group of the resource.
40
+ def resource_group
41
+ unless self.id.nil?
42
+ groups = self.id.match(/.+\/resourceGroups\/([^\/]+)\/.+/)
43
+ groups.captures[0].strip if groups
44
+ end
45
+ end
46
+
47
+
39
48
  #
40
49
  # Mapper for Resource class as Ruby Hash.
41
50
  # This will be used for serialization/deserialization.
@@ -139,7 +139,7 @@ module Azure::Search::Mgmt::V2015_08_19
139
139
  #
140
140
  def add_telemetry
141
141
  sdk_information = 'azure_mgmt_search'
142
- sdk_information = "#{sdk_information}/0.17.0"
142
+ sdk_information = "#{sdk_information}/0.17.1"
143
143
  add_user_agent_information(sdk_information)
144
144
  end
145
145
  end
@@ -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::Search::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_search
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
@@ -143,7 +143,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
143
143
  version: '0'
144
144
  requirements: []
145
145
  rubyforge_project:
146
- rubygems_version: 2.5.1
146
+ rubygems_version: 2.7.6
147
147
  signing_key:
148
148
  specification_version: 4
149
149
  summary: Official Ruby client library to consume Microsoft Azure Search Management