azure_mgmt_security 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
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 14a8317173c0c93a91f2ab8cf52dc76f28ed8bf427a61d8ec7f706e3b690c917
|
4
|
+
data.tar.gz: 80242d13e2aa0cbdddb45f8f51a955b2cea09c5266ddd5610fbf741c638d0bc3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dac56c1da32af66e14d9eb36d4a04f042fe1a12fc9a3f0d1d146f0411840219c91322c4e6c29ac38453eaf6e4b5f5d697860294b19652cff95f3121e011d82d1
|
7
|
+
data.tar.gz: cb5e90a21f9d3bd7574bfccdcbc8717082460aef5f6d0d3cef601555adda3378f1488bc6aaf1e4d1bb61e5787e3e32ab04410b0737aa606fef24e8994062d39c
|
@@ -22,6 +22,15 @@ module Azure::Security::Mgmt::V2017_08_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.
|
@@ -140,7 +140,7 @@ module Azure::Security::Mgmt::V2017_08_01_preview
|
|
140
140
|
#
|
141
141
|
def add_telemetry
|
142
142
|
sdk_information = 'azure_mgmt_security'
|
143
|
-
sdk_information = "#{sdk_information}/0.17.
|
143
|
+
sdk_information = "#{sdk_information}/0.17.1"
|
144
144
|
add_user_agent_information(sdk_information)
|
145
145
|
end
|
146
146
|
end
|
data/lib/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: azure_mgmt_security
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.17.
|
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-
|
11
|
+
date: 2018-09-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -142,7 +142,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
142
142
|
version: '0'
|
143
143
|
requirements: []
|
144
144
|
rubyforge_project:
|
145
|
-
rubygems_version: 2.
|
145
|
+
rubygems_version: 2.7.6
|
146
146
|
signing_key:
|
147
147
|
specification_version: 4
|
148
148
|
summary: Official Ruby client library to consume Microsoft Azure Security Management
|