azure_mgmt_subscriptions 0.10.0 → 0.11.0
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 +4 -4
- data/lib/generated/azure_mgmt_subscriptions/models/location.rb +2 -1
- data/lib/generated/azure_mgmt_subscriptions/models/location_list_result.rb +2 -1
- data/lib/generated/azure_mgmt_subscriptions/models/spending_limit.rb +1 -1
- data/lib/generated/azure_mgmt_subscriptions/models/subscription.rb +2 -12
- data/lib/generated/azure_mgmt_subscriptions/models/subscription_list_result.rb +2 -1
- data/lib/generated/azure_mgmt_subscriptions/models/subscription_policies.rb +2 -1
- data/lib/generated/azure_mgmt_subscriptions/models/subscription_state.rb +1 -1
- data/lib/generated/azure_mgmt_subscriptions/models/tenant_id_description.rb +2 -1
- data/lib/generated/azure_mgmt_subscriptions/models/tenant_list_result.rb +2 -1
- data/lib/generated/azure_mgmt_subscriptions/module_definition.rb +1 -1
- data/lib/generated/azure_mgmt_subscriptions/subscription_client.rb +1 -1
- data/lib/generated/azure_mgmt_subscriptions/subscriptions.rb +12 -13
- data/lib/generated/azure_mgmt_subscriptions/tenants.rb +6 -7
- data/lib/generated/azure_mgmt_subscriptions/version.rb +2 -2
- data/lib/generated/azure_mgmt_subscriptions.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d0bb2f1342070e030d971ea16a10a67c707f56ae
|
|
4
|
+
data.tar.gz: 345660bdba5e437b40cd3724a8e60f5eb3c09bfc
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 744586f41c4f243787658893cc42c21edd272b76a04ea05b7a3d924843844422ff4e85a174a1312529df15c6f1af12357e69bd79b6992038d23c04188932539d
|
|
7
|
+
data.tar.gz: 3c0379c50df8f8d6f45f4028f3a99203cfc9b4c2ef31878a0ac7ef72fd3b5e5343ce61f28e755b40fbd82427f390daf4c28bb10aeedbd22e4499dc0cdf9a17ca
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# encoding: utf-8
|
|
2
|
-
# Code generated by Microsoft (R) AutoRest Code Generator 1.
|
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
|
|
3
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
|
4
4
|
# regenerated.
|
|
5
5
|
|
|
@@ -12,6 +12,7 @@ module Azure::ARM::Subscriptions
|
|
|
12
12
|
|
|
13
13
|
include MsRestAzure
|
|
14
14
|
|
|
15
|
+
include MsRest::JSONable
|
|
15
16
|
# @return [String] The fully qualified ID of the location. For example,
|
|
16
17
|
# /subscriptions/00000000-0000-0000-0000-000000000000/locations/westus.
|
|
17
18
|
attr_accessor :id
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# encoding: utf-8
|
|
2
|
-
# Code generated by Microsoft (R) AutoRest Code Generator 1.
|
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
|
|
3
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
|
4
4
|
# regenerated.
|
|
5
5
|
|
|
@@ -12,6 +12,7 @@ module Azure::ARM::Subscriptions
|
|
|
12
12
|
|
|
13
13
|
include MsRestAzure
|
|
14
14
|
|
|
15
|
+
include MsRest::JSONable
|
|
15
16
|
# @return [Array<Location>] An array of locations.
|
|
16
17
|
attr_accessor :value
|
|
17
18
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# encoding: utf-8
|
|
2
|
-
# Code generated by Microsoft (R) AutoRest Code Generator 1.
|
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
|
|
3
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
|
4
4
|
# regenerated.
|
|
5
5
|
|
|
@@ -12,6 +12,7 @@ module Azure::ARM::Subscriptions
|
|
|
12
12
|
|
|
13
13
|
include MsRestAzure
|
|
14
14
|
|
|
15
|
+
include MsRest::JSONable
|
|
15
16
|
# @return [String] The fully qualified ID for the subscription. For
|
|
16
17
|
# example, /subscriptions/00000000-0000-0000-0000-000000000000.
|
|
17
18
|
attr_accessor :id
|
|
@@ -19,9 +20,6 @@ module Azure::ARM::Subscriptions
|
|
|
19
20
|
# @return [String] The subscription ID.
|
|
20
21
|
attr_accessor :subscription_id
|
|
21
22
|
|
|
22
|
-
# @return [String] The tenant ID.
|
|
23
|
-
attr_accessor :tenant_id
|
|
24
|
-
|
|
25
23
|
# @return [String] The subscription display name.
|
|
26
24
|
attr_accessor :display_name
|
|
27
25
|
|
|
@@ -67,14 +65,6 @@ module Azure::ARM::Subscriptions
|
|
|
67
65
|
name: 'String'
|
|
68
66
|
}
|
|
69
67
|
},
|
|
70
|
-
tenant_id: {
|
|
71
|
-
required: false,
|
|
72
|
-
read_only: true,
|
|
73
|
-
serialized_name: 'tenantId',
|
|
74
|
-
type: {
|
|
75
|
-
name: 'String'
|
|
76
|
-
}
|
|
77
|
-
},
|
|
78
68
|
display_name: {
|
|
79
69
|
required: false,
|
|
80
70
|
read_only: true,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# encoding: utf-8
|
|
2
|
-
# Code generated by Microsoft (R) AutoRest Code Generator 1.
|
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
|
|
3
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
|
4
4
|
# regenerated.
|
|
5
5
|
|
|
@@ -12,6 +12,7 @@ module Azure::ARM::Subscriptions
|
|
|
12
12
|
|
|
13
13
|
include MsRestAzure
|
|
14
14
|
|
|
15
|
+
include MsRest::JSONable
|
|
15
16
|
# @return [Array<Subscription>] An array of subscriptions.
|
|
16
17
|
attr_accessor :value
|
|
17
18
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# encoding: utf-8
|
|
2
|
-
# Code generated by Microsoft (R) AutoRest Code Generator 1.
|
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
|
|
3
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
|
4
4
|
# regenerated.
|
|
5
5
|
|
|
@@ -12,6 +12,7 @@ module Azure::ARM::Subscriptions
|
|
|
12
12
|
|
|
13
13
|
include MsRestAzure
|
|
14
14
|
|
|
15
|
+
include MsRest::JSONable
|
|
15
16
|
# @return [String] The subscription location placement ID. The ID
|
|
16
17
|
# indicates which regions are visible for a subscription. For example, a
|
|
17
18
|
# subscription with a location placement Id of Public_2014-09-01 has
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# encoding: utf-8
|
|
2
|
-
# Code generated by Microsoft (R) AutoRest Code Generator 1.
|
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
|
|
3
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
|
4
4
|
# regenerated.
|
|
5
5
|
|
|
@@ -12,6 +12,7 @@ module Azure::ARM::Subscriptions
|
|
|
12
12
|
|
|
13
13
|
include MsRestAzure
|
|
14
14
|
|
|
15
|
+
include MsRest::JSONable
|
|
15
16
|
# @return [String] The fully qualified ID of the tenant. For example,
|
|
16
17
|
# /tenants/00000000-0000-0000-0000-000000000000.
|
|
17
18
|
attr_accessor :id
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# encoding: utf-8
|
|
2
|
-
# Code generated by Microsoft (R) AutoRest Code Generator 1.
|
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
|
|
3
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
|
4
4
|
# regenerated.
|
|
5
5
|
|
|
@@ -12,6 +12,7 @@ module Azure::ARM::Subscriptions
|
|
|
12
12
|
|
|
13
13
|
include MsRestAzure
|
|
14
14
|
|
|
15
|
+
include MsRest::JSONable
|
|
15
16
|
# @return [Array<TenantIdDescription>] An array of tenants.
|
|
16
17
|
attr_accessor :value
|
|
17
18
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# encoding: utf-8
|
|
2
|
-
# Code generated by Microsoft (R) AutoRest Code Generator 1.
|
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
|
|
3
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
|
4
4
|
# regenerated.
|
|
5
5
|
|
|
@@ -11,7 +11,6 @@ module Azure::ARM::Subscriptions
|
|
|
11
11
|
# your organization.
|
|
12
12
|
#
|
|
13
13
|
class Subscriptions
|
|
14
|
-
include Azure::ARM::Subscriptions::Models
|
|
15
14
|
include MsRestAzure
|
|
16
15
|
|
|
17
16
|
#
|
|
@@ -80,7 +79,7 @@ module Azure::ARM::Subscriptions
|
|
|
80
79
|
# Set Headers
|
|
81
80
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
|
82
81
|
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
|
83
|
-
path_template = '
|
|
82
|
+
path_template = 'subscriptions/{subscriptionId}/locations'
|
|
84
83
|
|
|
85
84
|
request_url = @base_url || @client.base_url
|
|
86
85
|
|
|
@@ -107,8 +106,8 @@ module Azure::ARM::Subscriptions
|
|
|
107
106
|
if status_code == 200
|
|
108
107
|
begin
|
|
109
108
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
|
110
|
-
result_mapper = LocationListResult.mapper()
|
|
111
|
-
result.body = @client.deserialize(result_mapper, parsed_response
|
|
109
|
+
result_mapper = Azure::ARM::Subscriptions::Models::LocationListResult.mapper()
|
|
110
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
|
112
111
|
rescue Exception => e
|
|
113
112
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
|
114
113
|
end
|
|
@@ -166,7 +165,7 @@ module Azure::ARM::Subscriptions
|
|
|
166
165
|
# Set Headers
|
|
167
166
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
|
168
167
|
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
|
169
|
-
path_template = '
|
|
168
|
+
path_template = 'subscriptions/{subscriptionId}'
|
|
170
169
|
|
|
171
170
|
request_url = @base_url || @client.base_url
|
|
172
171
|
|
|
@@ -193,8 +192,8 @@ module Azure::ARM::Subscriptions
|
|
|
193
192
|
if status_code == 200
|
|
194
193
|
begin
|
|
195
194
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
|
196
|
-
result_mapper = Subscription.mapper()
|
|
197
|
-
result.body = @client.deserialize(result_mapper, parsed_response
|
|
195
|
+
result_mapper = Azure::ARM::Subscriptions::Models::Subscription.mapper()
|
|
196
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
|
198
197
|
rescue Exception => e
|
|
199
198
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
|
200
199
|
end
|
|
@@ -248,7 +247,7 @@ module Azure::ARM::Subscriptions
|
|
|
248
247
|
# Set Headers
|
|
249
248
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
|
250
249
|
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
|
251
|
-
path_template = '
|
|
250
|
+
path_template = 'subscriptions'
|
|
252
251
|
|
|
253
252
|
request_url = @base_url || @client.base_url
|
|
254
253
|
|
|
@@ -274,8 +273,8 @@ module Azure::ARM::Subscriptions
|
|
|
274
273
|
if status_code == 200
|
|
275
274
|
begin
|
|
276
275
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
|
277
|
-
result_mapper = SubscriptionListResult.mapper()
|
|
278
|
-
result.body = @client.deserialize(result_mapper, parsed_response
|
|
276
|
+
result_mapper = Azure::ARM::Subscriptions::Models::SubscriptionListResult.mapper()
|
|
277
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
|
279
278
|
rescue Exception => e
|
|
280
279
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
|
281
280
|
end
|
|
@@ -361,8 +360,8 @@ module Azure::ARM::Subscriptions
|
|
|
361
360
|
if status_code == 200
|
|
362
361
|
begin
|
|
363
362
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
|
364
|
-
result_mapper = SubscriptionListResult.mapper()
|
|
365
|
-
result.body = @client.deserialize(result_mapper, parsed_response
|
|
363
|
+
result_mapper = Azure::ARM::Subscriptions::Models::SubscriptionListResult.mapper()
|
|
364
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
|
366
365
|
rescue Exception => e
|
|
367
366
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
|
368
367
|
end
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# encoding: utf-8
|
|
2
|
-
# Code generated by Microsoft (R) AutoRest Code Generator 1.
|
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
|
|
3
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
|
4
4
|
# regenerated.
|
|
5
5
|
|
|
@@ -11,7 +11,6 @@ module Azure::ARM::Subscriptions
|
|
|
11
11
|
# your organization.
|
|
12
12
|
#
|
|
13
13
|
class Tenants
|
|
14
|
-
include Azure::ARM::Subscriptions::Models
|
|
15
14
|
include MsRestAzure
|
|
16
15
|
|
|
17
16
|
#
|
|
@@ -67,7 +66,7 @@ module Azure::ARM::Subscriptions
|
|
|
67
66
|
# Set Headers
|
|
68
67
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
|
69
68
|
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
|
70
|
-
path_template = '
|
|
69
|
+
path_template = 'tenants'
|
|
71
70
|
|
|
72
71
|
request_url = @base_url || @client.base_url
|
|
73
72
|
|
|
@@ -93,8 +92,8 @@ module Azure::ARM::Subscriptions
|
|
|
93
92
|
if status_code == 200
|
|
94
93
|
begin
|
|
95
94
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
|
96
|
-
result_mapper = TenantListResult.mapper()
|
|
97
|
-
result.body = @client.deserialize(result_mapper, parsed_response
|
|
95
|
+
result_mapper = Azure::ARM::Subscriptions::Models::TenantListResult.mapper()
|
|
96
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
|
98
97
|
rescue Exception => e
|
|
99
98
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
|
100
99
|
end
|
|
@@ -180,8 +179,8 @@ module Azure::ARM::Subscriptions
|
|
|
180
179
|
if status_code == 200
|
|
181
180
|
begin
|
|
182
181
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
|
183
|
-
result_mapper = TenantListResult.mapper()
|
|
184
|
-
result.body = @client.deserialize(result_mapper, parsed_response
|
|
182
|
+
result_mapper = Azure::ARM::Subscriptions::Models::TenantListResult.mapper()
|
|
183
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
|
185
184
|
rescue Exception => e
|
|
186
185
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
|
187
186
|
end
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
# encoding: utf-8
|
|
2
|
-
# Code generated by Microsoft (R) AutoRest Code Generator 1.
|
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
|
|
3
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
|
4
4
|
# regenerated.
|
|
5
5
|
|
|
6
6
|
module Azure::ARM::Subscriptions
|
|
7
|
-
VERSION = '0.
|
|
7
|
+
VERSION = '0.11.0'
|
|
8
8
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: azure_mgmt_subscriptions
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.11.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Microsoft Corporation
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2017-
|
|
11
|
+
date: 2017-07-19 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|
|
@@ -72,14 +72,14 @@ dependencies:
|
|
|
72
72
|
requirements:
|
|
73
73
|
- - "~>"
|
|
74
74
|
- !ruby/object:Gem::Version
|
|
75
|
-
version: 0.
|
|
75
|
+
version: 0.8.0
|
|
76
76
|
type: :runtime
|
|
77
77
|
prerelease: false
|
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
|
79
79
|
requirements:
|
|
80
80
|
- - "~>"
|
|
81
81
|
- !ruby/object:Gem::Version
|
|
82
|
-
version: 0.
|
|
82
|
+
version: 0.8.0
|
|
83
83
|
description: Microsoft Azure Subscription Management Client Library for Ruby
|
|
84
84
|
email: azrubyteam@microsoft.com
|
|
85
85
|
executables: []
|