azure_mgmt_machine_learning 0.17.0 → 0.17.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ae4b8cc433d42f633a829fb9f4a789cdca45a788
4
- data.tar.gz: ea7b95c20ca19b91f95c43873fe210aecbd98b95
3
+ metadata.gz: 000b55c1f418e5434d61959bee170dcabec38357
4
+ data.tar.gz: c9fac5615f7831bec10b521bae0cc0afc5e126f5
5
5
  SHA512:
6
- metadata.gz: e956bcc33729a065277fbf11ee8df9aed6847283e94b203f0a2ce63e5015e365e90efc7a2009cf0779d3b18e8663783687656d651aa0a4d53083232d3f09d44e
7
- data.tar.gz: 774cb1422adf6bbe202717771649035455450cab29325d7cec3975e20364ac87ff1c5576f51bc6688b34837b640afdfcfb11821db9c2814afcfce5a4fd60d39f
6
+ metadata.gz: 41e219c4609e871d34c78c0111be79bb5a1adbb385ed6690495f9469f58b1cc4f90e314fab38cdfd1bc4eb2020f469b91e93b9d2dd75fdd00f12a11004bae3d4
7
+ data.tar.gz: 0ed119868750c383e9adbfa5fbdc6850f2df8ff5e39cd00608121da8a46a3bbd006097d3a9b24a312671e4ab405401d00491668657d379c606b917eec72980f6
@@ -129,7 +129,7 @@ module Azure::MachineLearning::Mgmt::V2017_01_01
129
129
  #
130
130
  def add_telemetry
131
131
  sdk_information = 'azure_mgmt_machine_learning'
132
- sdk_information = "#{sdk_information}/0.17.0"
132
+ sdk_information = "#{sdk_information}/0.17.1"
133
133
  add_user_agent_information(sdk_information)
134
134
  end
135
135
  end
@@ -29,6 +29,15 @@ module Azure::MachineLearning::Mgmt::V2017_01_01
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.
@@ -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::MachineLearning::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_machine_learning
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