azure_mgmt_operational_insights 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: 8ccf923c84e7c899b43ce9190343d70c33c8a65a
4
- data.tar.gz: 5d62c7e5fbeff32c433727fa19eaaa3fd0ff9e04
2
+ SHA256:
3
+ metadata.gz: f70a123de04533a590158944d005c08b56548fe3dae8938a47ee611ff2cafc91
4
+ data.tar.gz: 0c65af560e004011dfebaf27e3b4a15a1328d8d5a5e0350d263c65de5d61cb25
5
5
  SHA512:
6
- metadata.gz: e0ed74755f2f2b0c3875202551b0c4fe2f2a4623375a6df448f95c657aaf0315df3eef90dbf829aeb06072c44f998904b0064bf1f8c09ccf39f234e84660329f
7
- data.tar.gz: 2592d692ad815936b6ced96b3bde9f8dfc8464452b32917cdbdedd82aaae584df9a79a4ead346b5c478225e5134d39fdee173f15cdbef59911aed9cc1f44315e
6
+ metadata.gz: 4b93025a94fde34e24d5b34f9f16044d1ffbd8a8a4fc203b98ec41e7592ae5a22b7af5d1771f3e6209ef24c57a87eb0a75a146f5c14a409a50939be903deb637
7
+ data.tar.gz: 09989d7337d1575e232b810a79c1bca2ba1e26e5ff5936f9ae1b355f8d725bb4b0a20a41e44922bf964d01fb75ee3e338e6b07667ab666deb6238861f0eb4387
@@ -28,6 +28,15 @@ module Azure::OperationalInsights::Mgmt::V2015_03_20
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.
@@ -146,7 +146,7 @@ module Azure::OperationalInsights::Mgmt::V2015_03_20
146
146
  #
147
147
  def add_telemetry
148
148
  sdk_information = 'azure_mgmt_operational_insights'
149
- sdk_information = "#{sdk_information}/0.17.0"
149
+ sdk_information = "#{sdk_information}/0.17.1"
150
150
  add_user_agent_information(sdk_information)
151
151
  end
152
152
  end
@@ -28,6 +28,15 @@ module Azure::OperationalInsights::Mgmt::V2015_11_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.
@@ -138,7 +138,7 @@ module Azure::OperationalInsights::Mgmt::V2015_11_01_preview
138
138
  #
139
139
  def add_telemetry
140
140
  sdk_information = 'azure_mgmt_operational_insights'
141
- sdk_information = "#{sdk_information}/0.17.0"
141
+ sdk_information = "#{sdk_information}/0.17.1"
142
142
  add_user_agent_information(sdk_information)
143
143
  end
144
144
  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::OperationalInsights::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_operational_insights
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
@@ -185,7 +185,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
185
185
  version: '0'
186
186
  requirements: []
187
187
  rubyforge_project:
188
- rubygems_version: 2.5.1
188
+ rubygems_version: 2.7.6
189
189
  signing_key:
190
190
  specification_version: 4
191
191
  summary: Official Ruby client library to consume Microsoft Azure Operational Insights.