azure_mgmt_subscriptions 0.18.1 → 0.18.2
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/2016-06-01/generated/azure_mgmt_subscriptions/subscription_client.rb +1 -1
- data/lib/2017-11-01-preview/generated/azure_mgmt_subscriptions/subscription_definitions_client.rb +1 -1
- data/lib/2018-03-01-preview/generated/azure_mgmt_subscriptions/subscription_client.rb +1 -1
- data/lib/2018-11-01-preview/generated/azure_mgmt_subscriptions/subscription_client.rb +1 -1
- data/lib/2019-03-01-preview/generated/azure_mgmt_subscriptions/subscription_client.rb +1 -1
- data/lib/2019-06-01/generated/azure_mgmt_subscriptions/subscription_client.rb +1 -1
- data/lib/2019-11-01/generated/azure_mgmt_subscriptions.rb +48 -0
- data/lib/2019-11-01/generated/azure_mgmt_subscriptions/models/location.rb +109 -0
- data/lib/2019-11-01/generated/azure_mgmt_subscriptions/models/location_list_result.rb +55 -0
- data/lib/2019-11-01/generated/azure_mgmt_subscriptions/models/location_metadata.rb +129 -0
- data/lib/2019-11-01/generated/azure_mgmt_subscriptions/models/managed_by_tenant.rb +47 -0
- data/lib/2019-11-01/generated/azure_mgmt_subscriptions/models/operation.rb +58 -0
- data/lib/2019-11-01/generated/azure_mgmt_subscriptions/models/operation_display.rb +80 -0
- data/lib/2019-11-01/generated/azure_mgmt_subscriptions/models/operation_list_result.rb +100 -0
- data/lib/2019-11-01/generated/azure_mgmt_subscriptions/models/paired_region.rb +72 -0
- data/lib/2019-11-01/generated/azure_mgmt_subscriptions/models/region_category.rb +16 -0
- data/lib/2019-11-01/generated/azure_mgmt_subscriptions/models/region_type.rb +16 -0
- data/lib/2019-11-01/generated/azure_mgmt_subscriptions/models/spending_limit.rb +17 -0
- data/lib/2019-11-01/generated/azure_mgmt_subscriptions/models/subscription.rb +164 -0
- data/lib/2019-11-01/generated/azure_mgmt_subscriptions/models/subscription_list_result.rb +98 -0
- data/lib/2019-11-01/generated/azure_mgmt_subscriptions/models/subscription_policies.rb +76 -0
- data/lib/2019-11-01/generated/azure_mgmt_subscriptions/models/subscription_state.rb +19 -0
- data/lib/2019-11-01/generated/azure_mgmt_subscriptions/models/tenant_category.rb +17 -0
- data/lib/2019-11-01/generated/azure_mgmt_subscriptions/models/tenant_id_description.rb +131 -0
- data/lib/2019-11-01/generated/azure_mgmt_subscriptions/models/tenant_list_result.rb +98 -0
- data/lib/2019-11-01/generated/azure_mgmt_subscriptions/module_definition.rb +9 -0
- data/lib/2019-11-01/generated/azure_mgmt_subscriptions/operations.rb +222 -0
- data/lib/2019-11-01/generated/azure_mgmt_subscriptions/subscription_client.rb +136 -0
- data/lib/2019-11-01/generated/azure_mgmt_subscriptions/subscriptions.rb +409 -0
- data/lib/2019-11-01/generated/azure_mgmt_subscriptions/tenants.rb +222 -0
- data/lib/azure_mgmt_subscriptions.rb +1 -0
- data/lib/profiles/latest/modules/subscriptions_profile_module.rb +62 -34
- data/lib/version.rb +1 -1
- metadata +26 -2
@@ -0,0 +1,222 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator.
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::Subscriptions::Mgmt::V2019_11_01
|
7
|
+
#
|
8
|
+
# All resource groups and resources exist within subscriptions. These
|
9
|
+
# operation enable you get information about your subscriptions and tenants.
|
10
|
+
# A tenant is a dedicated instance of Azure Active Directory (Azure AD) for
|
11
|
+
# your organization.
|
12
|
+
#
|
13
|
+
class Tenants
|
14
|
+
include MsRestAzure
|
15
|
+
|
16
|
+
#
|
17
|
+
# Creates and initializes a new instance of the Tenants class.
|
18
|
+
# @param client service class for accessing basic functionality.
|
19
|
+
#
|
20
|
+
def initialize(client)
|
21
|
+
@client = client
|
22
|
+
end
|
23
|
+
|
24
|
+
# @return [SubscriptionClient] reference to the SubscriptionClient
|
25
|
+
attr_reader :client
|
26
|
+
|
27
|
+
#
|
28
|
+
# Gets the tenants for your account.
|
29
|
+
#
|
30
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
31
|
+
# will be added to the HTTP request.
|
32
|
+
#
|
33
|
+
# @return [Array<TenantIdDescription>] operation results.
|
34
|
+
#
|
35
|
+
def list(custom_headers:nil)
|
36
|
+
first_page = list_as_lazy(custom_headers:custom_headers)
|
37
|
+
first_page.get_all_items
|
38
|
+
end
|
39
|
+
|
40
|
+
#
|
41
|
+
# Gets the tenants for your account.
|
42
|
+
#
|
43
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
44
|
+
# will be added to the HTTP request.
|
45
|
+
#
|
46
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
47
|
+
#
|
48
|
+
def list_with_http_info(custom_headers:nil)
|
49
|
+
list_async(custom_headers:custom_headers).value!
|
50
|
+
end
|
51
|
+
|
52
|
+
#
|
53
|
+
# Gets the tenants for your account.
|
54
|
+
#
|
55
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
56
|
+
# to the HTTP request.
|
57
|
+
#
|
58
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
59
|
+
#
|
60
|
+
def list_async(custom_headers:nil)
|
61
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
62
|
+
|
63
|
+
|
64
|
+
request_headers = {}
|
65
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
66
|
+
|
67
|
+
# Set Headers
|
68
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
69
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
70
|
+
path_template = 'tenants'
|
71
|
+
|
72
|
+
request_url = @base_url || @client.base_url
|
73
|
+
|
74
|
+
options = {
|
75
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
76
|
+
query_params: {'api-version' => @client.api_version},
|
77
|
+
headers: request_headers.merge(custom_headers || {}),
|
78
|
+
base_url: request_url
|
79
|
+
}
|
80
|
+
promise = @client.make_request_async(:get, path_template, options)
|
81
|
+
|
82
|
+
promise = promise.then do |result|
|
83
|
+
http_response = result.response
|
84
|
+
status_code = http_response.status
|
85
|
+
response_content = http_response.body
|
86
|
+
unless status_code == 200
|
87
|
+
error_model = JSON.load(response_content)
|
88
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
89
|
+
end
|
90
|
+
|
91
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
92
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
93
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
94
|
+
# Deserialize Response
|
95
|
+
if status_code == 200
|
96
|
+
begin
|
97
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
98
|
+
result_mapper = Azure::Subscriptions::Mgmt::V2019_11_01::Models::TenantListResult.mapper()
|
99
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
100
|
+
rescue Exception => e
|
101
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
102
|
+
end
|
103
|
+
end
|
104
|
+
|
105
|
+
result
|
106
|
+
end
|
107
|
+
|
108
|
+
promise.execute
|
109
|
+
end
|
110
|
+
|
111
|
+
#
|
112
|
+
# Gets the tenants for your account.
|
113
|
+
#
|
114
|
+
# @param next_page_link [String] The NextLink from the previous successful call
|
115
|
+
# to List operation.
|
116
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
117
|
+
# will be added to the HTTP request.
|
118
|
+
#
|
119
|
+
# @return [TenantListResult] operation results.
|
120
|
+
#
|
121
|
+
def list_next(next_page_link, custom_headers:nil)
|
122
|
+
response = list_next_async(next_page_link, custom_headers:custom_headers).value!
|
123
|
+
response.body unless response.nil?
|
124
|
+
end
|
125
|
+
|
126
|
+
#
|
127
|
+
# Gets the tenants for your account.
|
128
|
+
#
|
129
|
+
# @param next_page_link [String] The NextLink from the previous successful call
|
130
|
+
# to List operation.
|
131
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
132
|
+
# will be added to the HTTP request.
|
133
|
+
#
|
134
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
135
|
+
#
|
136
|
+
def list_next_with_http_info(next_page_link, custom_headers:nil)
|
137
|
+
list_next_async(next_page_link, custom_headers:custom_headers).value!
|
138
|
+
end
|
139
|
+
|
140
|
+
#
|
141
|
+
# Gets the tenants for your account.
|
142
|
+
#
|
143
|
+
# @param next_page_link [String] The NextLink from the previous successful call
|
144
|
+
# to List operation.
|
145
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
146
|
+
# to the HTTP request.
|
147
|
+
#
|
148
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
149
|
+
#
|
150
|
+
def list_next_async(next_page_link, custom_headers:nil)
|
151
|
+
fail ArgumentError, 'next_page_link is nil' if next_page_link.nil?
|
152
|
+
|
153
|
+
|
154
|
+
request_headers = {}
|
155
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
156
|
+
|
157
|
+
# Set Headers
|
158
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
159
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
160
|
+
path_template = '{nextLink}'
|
161
|
+
|
162
|
+
request_url = @base_url || @client.base_url
|
163
|
+
|
164
|
+
options = {
|
165
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
166
|
+
skip_encoding_path_params: {'nextLink' => next_page_link},
|
167
|
+
headers: request_headers.merge(custom_headers || {}),
|
168
|
+
base_url: request_url
|
169
|
+
}
|
170
|
+
promise = @client.make_request_async(:get, path_template, options)
|
171
|
+
|
172
|
+
promise = promise.then do |result|
|
173
|
+
http_response = result.response
|
174
|
+
status_code = http_response.status
|
175
|
+
response_content = http_response.body
|
176
|
+
unless status_code == 200
|
177
|
+
error_model = JSON.load(response_content)
|
178
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
179
|
+
end
|
180
|
+
|
181
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
182
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
183
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
184
|
+
# Deserialize Response
|
185
|
+
if status_code == 200
|
186
|
+
begin
|
187
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
188
|
+
result_mapper = Azure::Subscriptions::Mgmt::V2019_11_01::Models::TenantListResult.mapper()
|
189
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
190
|
+
rescue Exception => e
|
191
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
192
|
+
end
|
193
|
+
end
|
194
|
+
|
195
|
+
result
|
196
|
+
end
|
197
|
+
|
198
|
+
promise.execute
|
199
|
+
end
|
200
|
+
|
201
|
+
#
|
202
|
+
# Gets the tenants for your account.
|
203
|
+
#
|
204
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
205
|
+
# will be added to the HTTP request.
|
206
|
+
#
|
207
|
+
# @return [TenantListResult] which provide lazy access to pages of the
|
208
|
+
# response.
|
209
|
+
#
|
210
|
+
def list_as_lazy(custom_headers:nil)
|
211
|
+
response = list_async(custom_headers:custom_headers).value!
|
212
|
+
unless response.nil?
|
213
|
+
page = response.body
|
214
|
+
page.next_method = Proc.new do |next_page_link|
|
215
|
+
list_next_async(next_page_link, custom_headers:custom_headers)
|
216
|
+
end
|
217
|
+
page
|
218
|
+
end
|
219
|
+
end
|
220
|
+
|
221
|
+
end
|
222
|
+
end
|
@@ -2,6 +2,7 @@
|
|
2
2
|
# Copyright (c) Microsoft Corporation. All rights reserved.
|
3
3
|
# Licensed under the MIT License. See License.txt in the project root for license information.
|
4
4
|
|
5
|
+
require '2019-11-01/generated/azure_mgmt_subscriptions'
|
5
6
|
require '2018-03-01-preview/generated/azure_mgmt_subscriptions'
|
6
7
|
require '2018-11-01-preview/generated/azure_mgmt_subscriptions'
|
7
8
|
require '2017-11-01-preview/generated/azure_mgmt_subscriptions'
|
@@ -11,9 +11,9 @@ module Azure::Subscriptions::Profiles::Latest
|
|
11
11
|
SubscriptionOperations = Azure::Subscriptions::Mgmt::V2018_03_01_preview::SubscriptionOperations
|
12
12
|
SubscriptionOperationOperations = Azure::Subscriptions::Mgmt::V2018_11_01_preview::SubscriptionOperationOperations
|
13
13
|
SubscriptionFactory = Azure::Subscriptions::Mgmt::V2018_11_01_preview::SubscriptionFactory
|
14
|
-
Operations = Azure::Subscriptions::Mgmt::
|
15
|
-
Subscriptions = Azure::Subscriptions::Mgmt::
|
16
|
-
Tenants = Azure::Subscriptions::Mgmt::
|
14
|
+
Operations = Azure::Subscriptions::Mgmt::V2019_11_01::Operations
|
15
|
+
Subscriptions = Azure::Subscriptions::Mgmt::V2019_11_01::Subscriptions
|
16
|
+
Tenants = Azure::Subscriptions::Mgmt::V2019_11_01::Tenants
|
17
17
|
|
18
18
|
module Models
|
19
19
|
SubscriptionDefinition = Azure::Subscriptions::Mgmt::V2017_11_01_preview::Models::SubscriptionDefinition
|
@@ -29,19 +29,24 @@ module Azure::Subscriptions::Profiles::Latest
|
|
29
29
|
CanceledSubscriptionId = Azure::Subscriptions::Mgmt::V2019_03_01_preview::Models::CanceledSubscriptionId
|
30
30
|
ErrorResponse = Azure::Subscriptions::Mgmt::V2019_03_01_preview::Models::ErrorResponse
|
31
31
|
RenamedSubscriptionId = Azure::Subscriptions::Mgmt::V2019_03_01_preview::Models::RenamedSubscriptionId
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
32
|
+
Subscription = Azure::Subscriptions::Mgmt::V2019_11_01::Models::Subscription
|
33
|
+
SubscriptionListResult = Azure::Subscriptions::Mgmt::V2019_11_01::Models::SubscriptionListResult
|
34
|
+
LocationMetadata = Azure::Subscriptions::Mgmt::V2019_11_01::Models::LocationMetadata
|
35
|
+
TenantIdDescription = Azure::Subscriptions::Mgmt::V2019_11_01::Models::TenantIdDescription
|
36
|
+
LocationListResult = Azure::Subscriptions::Mgmt::V2019_11_01::Models::LocationListResult
|
37
|
+
TenantListResult = Azure::Subscriptions::Mgmt::V2019_11_01::Models::TenantListResult
|
38
|
+
ManagedByTenant = Azure::Subscriptions::Mgmt::V2019_11_01::Models::ManagedByTenant
|
39
|
+
OperationDisplay = Azure::Subscriptions::Mgmt::V2019_11_01::Models::OperationDisplay
|
40
|
+
Location = Azure::Subscriptions::Mgmt::V2019_11_01::Models::Location
|
41
|
+
Operation = Azure::Subscriptions::Mgmt::V2019_11_01::Models::Operation
|
42
|
+
PairedRegion = Azure::Subscriptions::Mgmt::V2019_11_01::Models::PairedRegion
|
43
|
+
OperationListResult = Azure::Subscriptions::Mgmt::V2019_11_01::Models::OperationListResult
|
44
|
+
SubscriptionPolicies = Azure::Subscriptions::Mgmt::V2019_11_01::Models::SubscriptionPolicies
|
45
|
+
RegionType = Azure::Subscriptions::Mgmt::V2019_11_01::Models::RegionType
|
46
|
+
RegionCategory = Azure::Subscriptions::Mgmt::V2019_11_01::Models::RegionCategory
|
47
|
+
SubscriptionState = Azure::Subscriptions::Mgmt::V2019_11_01::Models::SubscriptionState
|
48
|
+
SpendingLimit = Azure::Subscriptions::Mgmt::V2019_11_01::Models::SpendingLimit
|
49
|
+
TenantCategory = Azure::Subscriptions::Mgmt::V2019_11_01::Models::TenantCategory
|
45
50
|
end
|
46
51
|
|
47
52
|
#
|
@@ -103,9 +108,15 @@ module Azure::Subscriptions::Profiles::Latest
|
|
103
108
|
@client_5.subscription_id = configurable.subscription_id
|
104
109
|
end
|
105
110
|
add_telemetry(@client_5)
|
106
|
-
|
107
|
-
@
|
108
|
-
@
|
111
|
+
|
112
|
+
@client_6 = Azure::Subscriptions::Mgmt::V2019_11_01::SubscriptionClient.new(configurable.credentials, base_url, options)
|
113
|
+
if(@client_6.respond_to?(:subscription_id))
|
114
|
+
@client_6.subscription_id = configurable.subscription_id
|
115
|
+
end
|
116
|
+
add_telemetry(@client_6)
|
117
|
+
@operations = @client_6.operations
|
118
|
+
@subscriptions = @client_6.subscriptions
|
119
|
+
@tenants = @client_6.tenants
|
109
120
|
|
110
121
|
@model_classes = ModelClasses.new
|
111
122
|
end
|
@@ -116,7 +127,9 @@ module Azure::Subscriptions::Profiles::Latest
|
|
116
127
|
end
|
117
128
|
|
118
129
|
def method_missing(method, *args)
|
119
|
-
if @
|
130
|
+
if @client_6.respond_to?method
|
131
|
+
@client_6.send(method, *args)
|
132
|
+
elsif @client_5.respond_to?method
|
120
133
|
@client_5.send(method, *args)
|
121
134
|
elsif @client_4.respond_to?method
|
122
135
|
@client_4.send(method, *args)
|
@@ -175,44 +188,59 @@ module Azure::Subscriptions::Profiles::Latest
|
|
175
188
|
def renamed_subscription_id
|
176
189
|
Azure::Subscriptions::Mgmt::V2019_03_01_preview::Models::RenamedSubscriptionId
|
177
190
|
end
|
191
|
+
def subscription
|
192
|
+
Azure::Subscriptions::Mgmt::V2019_11_01::Models::Subscription
|
193
|
+
end
|
178
194
|
def subscription_list_result
|
179
|
-
Azure::Subscriptions::Mgmt::
|
195
|
+
Azure::Subscriptions::Mgmt::V2019_11_01::Models::SubscriptionListResult
|
196
|
+
end
|
197
|
+
def location_metadata
|
198
|
+
Azure::Subscriptions::Mgmt::V2019_11_01::Models::LocationMetadata
|
180
199
|
end
|
181
200
|
def tenant_id_description
|
182
|
-
Azure::Subscriptions::Mgmt::
|
201
|
+
Azure::Subscriptions::Mgmt::V2019_11_01::Models::TenantIdDescription
|
183
202
|
end
|
184
203
|
def location_list_result
|
185
|
-
Azure::Subscriptions::Mgmt::
|
204
|
+
Azure::Subscriptions::Mgmt::V2019_11_01::Models::LocationListResult
|
186
205
|
end
|
187
206
|
def tenant_list_result
|
188
|
-
Azure::Subscriptions::Mgmt::
|
207
|
+
Azure::Subscriptions::Mgmt::V2019_11_01::Models::TenantListResult
|
189
208
|
end
|
190
209
|
def managed_by_tenant
|
191
|
-
Azure::Subscriptions::Mgmt::
|
210
|
+
Azure::Subscriptions::Mgmt::V2019_11_01::Models::ManagedByTenant
|
192
211
|
end
|
193
212
|
def operation_display
|
194
|
-
Azure::Subscriptions::Mgmt::
|
213
|
+
Azure::Subscriptions::Mgmt::V2019_11_01::Models::OperationDisplay
|
195
214
|
end
|
196
215
|
def location
|
197
|
-
Azure::Subscriptions::Mgmt::
|
216
|
+
Azure::Subscriptions::Mgmt::V2019_11_01::Models::Location
|
198
217
|
end
|
199
218
|
def operation
|
200
|
-
Azure::Subscriptions::Mgmt::
|
219
|
+
Azure::Subscriptions::Mgmt::V2019_11_01::Models::Operation
|
201
220
|
end
|
202
|
-
def
|
203
|
-
Azure::Subscriptions::Mgmt::
|
221
|
+
def paired_region
|
222
|
+
Azure::Subscriptions::Mgmt::V2019_11_01::Models::PairedRegion
|
204
223
|
end
|
205
224
|
def operation_list_result
|
206
|
-
Azure::Subscriptions::Mgmt::
|
225
|
+
Azure::Subscriptions::Mgmt::V2019_11_01::Models::OperationListResult
|
207
226
|
end
|
208
227
|
def subscription_policies
|
209
|
-
Azure::Subscriptions::Mgmt::
|
228
|
+
Azure::Subscriptions::Mgmt::V2019_11_01::Models::SubscriptionPolicies
|
229
|
+
end
|
230
|
+
def region_type
|
231
|
+
Azure::Subscriptions::Mgmt::V2019_11_01::Models::RegionType
|
232
|
+
end
|
233
|
+
def region_category
|
234
|
+
Azure::Subscriptions::Mgmt::V2019_11_01::Models::RegionCategory
|
210
235
|
end
|
211
236
|
def subscription_state
|
212
|
-
Azure::Subscriptions::Mgmt::
|
237
|
+
Azure::Subscriptions::Mgmt::V2019_11_01::Models::SubscriptionState
|
213
238
|
end
|
214
239
|
def spending_limit
|
215
|
-
Azure::Subscriptions::Mgmt::
|
240
|
+
Azure::Subscriptions::Mgmt::V2019_11_01::Models::SpendingLimit
|
241
|
+
end
|
242
|
+
def tenant_category
|
243
|
+
Azure::Subscriptions::Mgmt::V2019_11_01::Models::TenantCategory
|
216
244
|
end
|
217
245
|
end
|
218
246
|
end
|
data/lib/version.rb
CHANGED
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.18.
|
4
|
+
version: 0.18.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Microsoft Corporation
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-03-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -172,6 +172,30 @@ files:
|
|
172
172
|
- lib/2019-06-01/generated/azure_mgmt_subscriptions/subscription_client.rb
|
173
173
|
- lib/2019-06-01/generated/azure_mgmt_subscriptions/subscriptions.rb
|
174
174
|
- lib/2019-06-01/generated/azure_mgmt_subscriptions/tenants.rb
|
175
|
+
- lib/2019-11-01/generated/azure_mgmt_subscriptions.rb
|
176
|
+
- lib/2019-11-01/generated/azure_mgmt_subscriptions/models/location.rb
|
177
|
+
- lib/2019-11-01/generated/azure_mgmt_subscriptions/models/location_list_result.rb
|
178
|
+
- lib/2019-11-01/generated/azure_mgmt_subscriptions/models/location_metadata.rb
|
179
|
+
- lib/2019-11-01/generated/azure_mgmt_subscriptions/models/managed_by_tenant.rb
|
180
|
+
- lib/2019-11-01/generated/azure_mgmt_subscriptions/models/operation.rb
|
181
|
+
- lib/2019-11-01/generated/azure_mgmt_subscriptions/models/operation_display.rb
|
182
|
+
- lib/2019-11-01/generated/azure_mgmt_subscriptions/models/operation_list_result.rb
|
183
|
+
- lib/2019-11-01/generated/azure_mgmt_subscriptions/models/paired_region.rb
|
184
|
+
- lib/2019-11-01/generated/azure_mgmt_subscriptions/models/region_category.rb
|
185
|
+
- lib/2019-11-01/generated/azure_mgmt_subscriptions/models/region_type.rb
|
186
|
+
- lib/2019-11-01/generated/azure_mgmt_subscriptions/models/spending_limit.rb
|
187
|
+
- lib/2019-11-01/generated/azure_mgmt_subscriptions/models/subscription.rb
|
188
|
+
- lib/2019-11-01/generated/azure_mgmt_subscriptions/models/subscription_list_result.rb
|
189
|
+
- lib/2019-11-01/generated/azure_mgmt_subscriptions/models/subscription_policies.rb
|
190
|
+
- lib/2019-11-01/generated/azure_mgmt_subscriptions/models/subscription_state.rb
|
191
|
+
- lib/2019-11-01/generated/azure_mgmt_subscriptions/models/tenant_category.rb
|
192
|
+
- lib/2019-11-01/generated/azure_mgmt_subscriptions/models/tenant_id_description.rb
|
193
|
+
- lib/2019-11-01/generated/azure_mgmt_subscriptions/models/tenant_list_result.rb
|
194
|
+
- lib/2019-11-01/generated/azure_mgmt_subscriptions/module_definition.rb
|
195
|
+
- lib/2019-11-01/generated/azure_mgmt_subscriptions/operations.rb
|
196
|
+
- lib/2019-11-01/generated/azure_mgmt_subscriptions/subscription_client.rb
|
197
|
+
- lib/2019-11-01/generated/azure_mgmt_subscriptions/subscriptions.rb
|
198
|
+
- lib/2019-11-01/generated/azure_mgmt_subscriptions/tenants.rb
|
175
199
|
- lib/azure_mgmt_subscriptions.rb
|
176
200
|
- lib/module_definition.rb
|
177
201
|
- lib/profiles/latest/modules/subscriptions_profile_module.rb
|