azure_mgmt_resources 0.17.0 → 0.17.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-02-01/generated/azure_mgmt_resources/models/resource.rb +9 -0
- data/lib/2016-02-01/generated/azure_mgmt_resources/resource_management_client.rb +1 -1
- data/lib/2016-07-01/generated/azure_mgmt_resources/models/resource.rb +9 -0
- data/lib/2016-07-01/generated/azure_mgmt_resources/resource_management_client.rb +1 -1
- data/lib/2016-09-01/generated/azure_mgmt_resources/models/resource.rb +9 -0
- data/lib/2016-09-01/generated/azure_mgmt_resources/resource_management_client.rb +1 -1
- data/lib/2017-05-10/generated/azure_mgmt_resources/models/resource.rb +9 -0
- data/lib/2017-05-10/generated/azure_mgmt_resources/resource_management_client.rb +1 -1
- data/lib/2018-02-01/generated/azure_mgmt_resources/models/resource.rb +9 -0
- data/lib/2018-02-01/generated/azure_mgmt_resources/resource_management_client.rb +1 -1
- data/lib/2018-05-01/generated/azure_mgmt_resources.rb +28 -24
- data/lib/2018-05-01/generated/azure_mgmt_resources/models/deployment_extended.rb +2 -1
- data/lib/2018-05-01/generated/azure_mgmt_resources/models/operation.rb +58 -0
- data/lib/2018-05-01/generated/azure_mgmt_resources/models/operation_display.rb +80 -0
- data/lib/2018-05-01/generated/azure_mgmt_resources/models/operation_list_result.rb +100 -0
- data/lib/2018-05-01/generated/azure_mgmt_resources/models/resource.rb +10 -1
- data/lib/2018-05-01/generated/azure_mgmt_resources/models/resource_group.rb +1 -0
- data/lib/2018-05-01/generated/azure_mgmt_resources/models/resource_provider_operation_display_properties.rb +1 -1
- data/lib/2018-05-01/generated/azure_mgmt_resources/operations.rb +215 -0
- data/lib/2018-05-01/generated/azure_mgmt_resources/resource_management_client.rb +5 -1
- data/lib/azure_mgmt_resources.rb +1 -0
- data/lib/profiles/latest/modules/resources_profile_module.rb +92 -78
- data/lib/profiles/v2018_03_01/modules/resources_profile_module.rb +271 -0
- data/lib/profiles/v2018_03_01/resources_module_definition.rb +8 -0
- data/lib/profiles/v2018_03_01/resources_v2018_03_01_profile_client.rb +40 -0
- data/lib/version.rb +1 -1
- metadata +9 -2
@@ -6,7 +6,7 @@
|
|
6
6
|
module Azure::Resources::Mgmt::V2018_05_01
|
7
7
|
module Models
|
8
8
|
#
|
9
|
-
#
|
9
|
+
# Specified resource.
|
10
10
|
#
|
11
11
|
class Resource
|
12
12
|
|
@@ -28,6 +28,15 @@ module Azure::Resources::Mgmt::V2018_05_01
|
|
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.
|
@@ -21,7 +21,7 @@ module Azure::Resources::Mgmt::V2018_05_01
|
|
21
21
|
# @return [String] Operation resource.
|
22
22
|
attr_accessor :resource
|
23
23
|
|
24
|
-
# @return [String]
|
24
|
+
# @return [String] Resource provider operation.
|
25
25
|
attr_accessor :operation
|
26
26
|
|
27
27
|
# @return [String] Operation description.
|
@@ -0,0 +1,215 @@
|
|
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::Resources::Mgmt::V2018_05_01
|
7
|
+
#
|
8
|
+
# Provides operations for working with resources and resource groups.
|
9
|
+
#
|
10
|
+
class Operations
|
11
|
+
include MsRestAzure
|
12
|
+
|
13
|
+
#
|
14
|
+
# Creates and initializes a new instance of the Operations class.
|
15
|
+
# @param client service class for accessing basic functionality.
|
16
|
+
#
|
17
|
+
def initialize(client)
|
18
|
+
@client = client
|
19
|
+
end
|
20
|
+
|
21
|
+
# @return [ResourceManagementClient] reference to the ResourceManagementClient
|
22
|
+
attr_reader :client
|
23
|
+
|
24
|
+
#
|
25
|
+
# Lists all of the available Microsoft.Resources REST API operations.
|
26
|
+
#
|
27
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
28
|
+
# will be added to the HTTP request.
|
29
|
+
#
|
30
|
+
# @return [Array<Operation>] operation results.
|
31
|
+
#
|
32
|
+
def list(custom_headers:nil)
|
33
|
+
first_page = list_as_lazy(custom_headers:custom_headers)
|
34
|
+
first_page.get_all_items
|
35
|
+
end
|
36
|
+
|
37
|
+
#
|
38
|
+
# Lists all of the available Microsoft.Resources REST API operations.
|
39
|
+
#
|
40
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
41
|
+
# will be added to the HTTP request.
|
42
|
+
#
|
43
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
44
|
+
#
|
45
|
+
def list_with_http_info(custom_headers:nil)
|
46
|
+
list_async(custom_headers:custom_headers).value!
|
47
|
+
end
|
48
|
+
|
49
|
+
#
|
50
|
+
# Lists all of the available Microsoft.Resources REST API operations.
|
51
|
+
#
|
52
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
53
|
+
# to the HTTP request.
|
54
|
+
#
|
55
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
56
|
+
#
|
57
|
+
def list_async(custom_headers:nil)
|
58
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
59
|
+
|
60
|
+
|
61
|
+
request_headers = {}
|
62
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
63
|
+
|
64
|
+
# Set Headers
|
65
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
66
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
67
|
+
path_template = 'providers/Microsoft.Resources/operations'
|
68
|
+
|
69
|
+
request_url = @base_url || @client.base_url
|
70
|
+
|
71
|
+
options = {
|
72
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
73
|
+
query_params: {'api-version' => @client.api_version},
|
74
|
+
headers: request_headers.merge(custom_headers || {}),
|
75
|
+
base_url: request_url
|
76
|
+
}
|
77
|
+
promise = @client.make_request_async(:get, path_template, options)
|
78
|
+
|
79
|
+
promise = promise.then do |result|
|
80
|
+
http_response = result.response
|
81
|
+
status_code = http_response.status
|
82
|
+
response_content = http_response.body
|
83
|
+
unless status_code == 200
|
84
|
+
error_model = JSON.load(response_content)
|
85
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
86
|
+
end
|
87
|
+
|
88
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
89
|
+
# Deserialize Response
|
90
|
+
if status_code == 200
|
91
|
+
begin
|
92
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
93
|
+
result_mapper = Azure::Resources::Mgmt::V2018_05_01::Models::OperationListResult.mapper()
|
94
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
95
|
+
rescue Exception => e
|
96
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
97
|
+
end
|
98
|
+
end
|
99
|
+
|
100
|
+
result
|
101
|
+
end
|
102
|
+
|
103
|
+
promise.execute
|
104
|
+
end
|
105
|
+
|
106
|
+
#
|
107
|
+
# Lists all of the available Microsoft.Resources REST API operations.
|
108
|
+
#
|
109
|
+
# @param next_page_link [String] The NextLink from the previous successful call
|
110
|
+
# to List operation.
|
111
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
112
|
+
# will be added to the HTTP request.
|
113
|
+
#
|
114
|
+
# @return [OperationListResult] operation results.
|
115
|
+
#
|
116
|
+
def list_next(next_page_link, custom_headers:nil)
|
117
|
+
response = list_next_async(next_page_link, custom_headers:custom_headers).value!
|
118
|
+
response.body unless response.nil?
|
119
|
+
end
|
120
|
+
|
121
|
+
#
|
122
|
+
# Lists all of the available Microsoft.Resources REST API operations.
|
123
|
+
#
|
124
|
+
# @param next_page_link [String] The NextLink from the previous successful call
|
125
|
+
# to List operation.
|
126
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
127
|
+
# will be added to the HTTP request.
|
128
|
+
#
|
129
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
130
|
+
#
|
131
|
+
def list_next_with_http_info(next_page_link, custom_headers:nil)
|
132
|
+
list_next_async(next_page_link, custom_headers:custom_headers).value!
|
133
|
+
end
|
134
|
+
|
135
|
+
#
|
136
|
+
# Lists all of the available Microsoft.Resources REST API operations.
|
137
|
+
#
|
138
|
+
# @param next_page_link [String] The NextLink from the previous successful call
|
139
|
+
# to List operation.
|
140
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
141
|
+
# to the HTTP request.
|
142
|
+
#
|
143
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
144
|
+
#
|
145
|
+
def list_next_async(next_page_link, custom_headers:nil)
|
146
|
+
fail ArgumentError, 'next_page_link is nil' if next_page_link.nil?
|
147
|
+
|
148
|
+
|
149
|
+
request_headers = {}
|
150
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
151
|
+
|
152
|
+
# Set Headers
|
153
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
154
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
155
|
+
path_template = '{nextLink}'
|
156
|
+
|
157
|
+
request_url = @base_url || @client.base_url
|
158
|
+
|
159
|
+
options = {
|
160
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
161
|
+
skip_encoding_path_params: {'nextLink' => next_page_link},
|
162
|
+
headers: request_headers.merge(custom_headers || {}),
|
163
|
+
base_url: request_url
|
164
|
+
}
|
165
|
+
promise = @client.make_request_async(:get, path_template, options)
|
166
|
+
|
167
|
+
promise = promise.then do |result|
|
168
|
+
http_response = result.response
|
169
|
+
status_code = http_response.status
|
170
|
+
response_content = http_response.body
|
171
|
+
unless status_code == 200
|
172
|
+
error_model = JSON.load(response_content)
|
173
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
174
|
+
end
|
175
|
+
|
176
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
177
|
+
# Deserialize Response
|
178
|
+
if status_code == 200
|
179
|
+
begin
|
180
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
181
|
+
result_mapper = Azure::Resources::Mgmt::V2018_05_01::Models::OperationListResult.mapper()
|
182
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
183
|
+
rescue Exception => e
|
184
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
185
|
+
end
|
186
|
+
end
|
187
|
+
|
188
|
+
result
|
189
|
+
end
|
190
|
+
|
191
|
+
promise.execute
|
192
|
+
end
|
193
|
+
|
194
|
+
#
|
195
|
+
# Lists all of the available Microsoft.Resources REST API operations.
|
196
|
+
#
|
197
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
198
|
+
# will be added to the HTTP request.
|
199
|
+
#
|
200
|
+
# @return [OperationListResult] which provide lazy access to pages of the
|
201
|
+
# response.
|
202
|
+
#
|
203
|
+
def list_as_lazy(custom_headers:nil)
|
204
|
+
response = list_async(custom_headers:custom_headers).value!
|
205
|
+
unless response.nil?
|
206
|
+
page = response.body
|
207
|
+
page.next_method = Proc.new do |next_page_link|
|
208
|
+
list_next_async(next_page_link, custom_headers:custom_headers)
|
209
|
+
end
|
210
|
+
page
|
211
|
+
end
|
212
|
+
end
|
213
|
+
|
214
|
+
end
|
215
|
+
end
|
@@ -35,6 +35,9 @@ module Azure::Resources::Mgmt::V2018_05_01
|
|
35
35
|
# generated and included in each request. Default is true.
|
36
36
|
attr_accessor :generate_client_request_id
|
37
37
|
|
38
|
+
# @return [Operations] operations
|
39
|
+
attr_reader :operations
|
40
|
+
|
38
41
|
# @return [Deployments] deployments
|
39
42
|
attr_reader :deployments
|
40
43
|
|
@@ -66,6 +69,7 @@ module Azure::Resources::Mgmt::V2018_05_01
|
|
66
69
|
fail ArgumentError, 'invalid type of credentials input parameter' unless credentials.is_a?(MsRest::ServiceClientCredentials) unless credentials.nil?
|
67
70
|
@credentials = credentials
|
68
71
|
|
72
|
+
@operations = Operations.new(self)
|
69
73
|
@deployments = Deployments.new(self)
|
70
74
|
@providers = Providers.new(self)
|
71
75
|
@resources = Resources.new(self)
|
@@ -144,7 +148,7 @@ module Azure::Resources::Mgmt::V2018_05_01
|
|
144
148
|
#
|
145
149
|
def add_telemetry
|
146
150
|
sdk_information = 'azure_mgmt_resources'
|
147
|
-
sdk_information = "#{sdk_information}/0.17.
|
151
|
+
sdk_information = "#{sdk_information}/0.17.2"
|
148
152
|
add_user_agent_information(sdk_information)
|
149
153
|
end
|
150
154
|
end
|
data/lib/azure_mgmt_resources.rb
CHANGED
@@ -10,3 +10,4 @@ require '2016-09-01/generated/azure_mgmt_resources'
|
|
10
10
|
require '2017-05-10/generated/azure_mgmt_resources'
|
11
11
|
require 'profiles/v2017_03_09/resources_v2017_03_09_profile_client'
|
12
12
|
require 'profiles/latest/resources_latest_profile_client'
|
13
|
+
require 'profiles/v2018_03_01/resources_v2018_03_01_profile_client'
|
@@ -6,6 +6,7 @@ require 'azure_mgmt_resources'
|
|
6
6
|
|
7
7
|
module Azure::Resources::Profiles::Latest
|
8
8
|
module Mgmt
|
9
|
+
Operations = Azure::Resources::Mgmt::V2018_05_01::Operations
|
9
10
|
Deployments = Azure::Resources::Mgmt::V2018_05_01::Deployments
|
10
11
|
Providers = Azure::Resources::Mgmt::V2018_05_01::Providers
|
11
12
|
Resources = Azure::Resources::Mgmt::V2018_05_01::Resources
|
@@ -14,53 +15,56 @@ module Azure::Resources::Profiles::Latest
|
|
14
15
|
DeploymentOperations = Azure::Resources::Mgmt::V2018_05_01::DeploymentOperations
|
15
16
|
|
16
17
|
module Models
|
17
|
-
Sku = Azure::Resources::Mgmt::V2018_05_01::Models::Sku
|
18
|
-
DeploymentExtendedFilter = Azure::Resources::Mgmt::V2018_05_01::Models::DeploymentExtendedFilter
|
19
18
|
IdentityUserAssignedIdentitiesValue = Azure::Resources::Mgmt::V2018_05_01::Models::IdentityUserAssignedIdentitiesValue
|
20
|
-
ResourceGroupFilter = Azure::Resources::Mgmt::V2018_05_01::Models::ResourceGroupFilter
|
21
19
|
Identity = Azure::Resources::Mgmt::V2018_05_01::Models::Identity
|
20
|
+
GenericResourceFilter = Azure::Resources::Mgmt::V2018_05_01::Models::GenericResourceFilter
|
21
|
+
ResourceGroupFilter = Azure::Resources::Mgmt::V2018_05_01::Models::ResourceGroupFilter
|
22
22
|
ParametersLink = Azure::Resources::Mgmt::V2018_05_01::Models::ParametersLink
|
23
|
-
DebugSetting = Azure::Resources::Mgmt::V2018_05_01::Models::DebugSetting
|
24
|
-
DeploymentProperties = Azure::Resources::Mgmt::V2018_05_01::Models::DeploymentProperties
|
25
23
|
ResourceListResult = Azure::Resources::Mgmt::V2018_05_01::Models::ResourceListResult
|
26
|
-
|
24
|
+
OnErrorDeployment = Azure::Resources::Mgmt::V2018_05_01::Models::OnErrorDeployment
|
27
25
|
ResourceGroupProperties = Azure::Resources::Mgmt::V2018_05_01::Models::ResourceGroupProperties
|
28
|
-
|
26
|
+
Deployment = Azure::Resources::Mgmt::V2018_05_01::Models::Deployment
|
29
27
|
ResourceGroup = Azure::Resources::Mgmt::V2018_05_01::Models::ResourceGroup
|
30
|
-
|
28
|
+
ResourceManagementErrorWithDetails = Azure::Resources::Mgmt::V2018_05_01::Models::ResourceManagementErrorWithDetails
|
31
29
|
ResourceGroupPatchable = Azure::Resources::Mgmt::V2018_05_01::Models::ResourceGroupPatchable
|
32
|
-
|
30
|
+
AliasType = Azure::Resources::Mgmt::V2018_05_01::Models::AliasType
|
33
31
|
ResourceGroupListResult = Azure::Resources::Mgmt::V2018_05_01::Models::ResourceGroupListResult
|
34
|
-
|
32
|
+
Provider = Azure::Resources::Mgmt::V2018_05_01::Models::Provider
|
35
33
|
ResourcesMoveInfo = Azure::Resources::Mgmt::V2018_05_01::Models::ResourcesMoveInfo
|
36
|
-
|
34
|
+
Dependency = Azure::Resources::Mgmt::V2018_05_01::Models::Dependency
|
37
35
|
ExportTemplateRequest = Azure::Resources::Mgmt::V2018_05_01::Models::ExportTemplateRequest
|
38
|
-
|
36
|
+
DeploymentPropertiesExtended = Azure::Resources::Mgmt::V2018_05_01::Models::DeploymentPropertiesExtended
|
39
37
|
TagCount = Azure::Resources::Mgmt::V2018_05_01::Models::TagCount
|
40
|
-
|
38
|
+
DeploymentExtended = Azure::Resources::Mgmt::V2018_05_01::Models::DeploymentExtended
|
41
39
|
TagValue = Azure::Resources::Mgmt::V2018_05_01::Models::TagValue
|
42
|
-
|
40
|
+
ProviderListResult = Azure::Resources::Mgmt::V2018_05_01::Models::ProviderListResult
|
43
41
|
TagDetails = Azure::Resources::Mgmt::V2018_05_01::Models::TagDetails
|
44
|
-
|
42
|
+
Sku = Azure::Resources::Mgmt::V2018_05_01::Models::Sku
|
45
43
|
TagsListResult = Azure::Resources::Mgmt::V2018_05_01::Models::TagsListResult
|
46
|
-
|
44
|
+
TemplateLink = Azure::Resources::Mgmt::V2018_05_01::Models::TemplateLink
|
47
45
|
TargetResource = Azure::Resources::Mgmt::V2018_05_01::Models::TargetResource
|
48
|
-
|
46
|
+
DeploymentProperties = Azure::Resources::Mgmt::V2018_05_01::Models::DeploymentProperties
|
49
47
|
HttpMessage = Azure::Resources::Mgmt::V2018_05_01::Models::HttpMessage
|
50
|
-
|
48
|
+
AliasPathType = Azure::Resources::Mgmt::V2018_05_01::Models::AliasPathType
|
51
49
|
DeploymentOperationProperties = Azure::Resources::Mgmt::V2018_05_01::Models::DeploymentOperationProperties
|
52
|
-
|
50
|
+
BasicDependency = Azure::Resources::Mgmt::V2018_05_01::Models::BasicDependency
|
53
51
|
DeploymentOperation = Azure::Resources::Mgmt::V2018_05_01::Models::DeploymentOperation
|
54
|
-
|
52
|
+
DeploymentValidateResult = Azure::Resources::Mgmt::V2018_05_01::Models::DeploymentValidateResult
|
55
53
|
DeploymentOperationsListResult = Azure::Resources::Mgmt::V2018_05_01::Models::DeploymentOperationsListResult
|
56
|
-
|
54
|
+
Plan = Azure::Resources::Mgmt::V2018_05_01::Models::Plan
|
57
55
|
ResourceProviderOperationDisplayProperties = Azure::Resources::Mgmt::V2018_05_01::Models::ResourceProviderOperationDisplayProperties
|
58
|
-
|
56
|
+
DebugSetting = Azure::Resources::Mgmt::V2018_05_01::Models::DebugSetting
|
59
57
|
Resource = Azure::Resources::Mgmt::V2018_05_01::Models::Resource
|
60
|
-
|
58
|
+
ProviderResourceType = Azure::Resources::Mgmt::V2018_05_01::Models::ProviderResourceType
|
61
59
|
SubResource = Azure::Resources::Mgmt::V2018_05_01::Models::SubResource
|
62
|
-
|
60
|
+
DeploymentListResult = Azure::Resources::Mgmt::V2018_05_01::Models::DeploymentListResult
|
63
61
|
ResourceGroupExportResult = Azure::Resources::Mgmt::V2018_05_01::Models::ResourceGroupExportResult
|
62
|
+
DeploymentExportResult = Azure::Resources::Mgmt::V2018_05_01::Models::DeploymentExportResult
|
63
|
+
OperationDisplay = Azure::Resources::Mgmt::V2018_05_01::Models::OperationDisplay
|
64
|
+
DeploymentExtendedFilter = Azure::Resources::Mgmt::V2018_05_01::Models::DeploymentExtendedFilter
|
65
|
+
Operation = Azure::Resources::Mgmt::V2018_05_01::Models::Operation
|
66
|
+
OnErrorDeploymentExtended = Azure::Resources::Mgmt::V2018_05_01::Models::OnErrorDeploymentExtended
|
67
|
+
OperationListResult = Azure::Resources::Mgmt::V2018_05_01::Models::OperationListResult
|
64
68
|
GenericResource = Azure::Resources::Mgmt::V2018_05_01::Models::GenericResource
|
65
69
|
DeploymentMode = Azure::Resources::Mgmt::V2018_05_01::Models::DeploymentMode
|
66
70
|
OnErrorDeploymentType = Azure::Resources::Mgmt::V2018_05_01::Models::OnErrorDeploymentType
|
@@ -71,7 +75,7 @@ module Azure::Resources::Profiles::Latest
|
|
71
75
|
# ResourcesManagementClass
|
72
76
|
#
|
73
77
|
class ResourcesManagementClass
|
74
|
-
attr_reader :deployments, :providers, :resources, :resource_groups, :tags, :deployment_operations, :configurable, :base_url, :options, :model_classes
|
78
|
+
attr_reader :operations, :deployments, :providers, :resources, :resource_groups, :tags, :deployment_operations, :configurable, :base_url, :options, :model_classes
|
75
79
|
|
76
80
|
def initialize(options = {})
|
77
81
|
if options.is_a?(Hash) && options.length == 0
|
@@ -91,6 +95,7 @@ module Azure::Resources::Profiles::Latest
|
|
91
95
|
@client_0.subscription_id = configurable.subscription_id
|
92
96
|
end
|
93
97
|
add_telemetry(@client_0)
|
98
|
+
@operations = @client_0.operations
|
94
99
|
@deployments = @client_0.deployments
|
95
100
|
@providers = @client_0.providers
|
96
101
|
@resources = @client_0.resources
|
@@ -117,147 +122,156 @@ module Azure::Resources::Profiles::Latest
|
|
117
122
|
end
|
118
123
|
|
119
124
|
class ModelClasses
|
120
|
-
def sku
|
121
|
-
Azure::Resources::Mgmt::V2018_05_01::Models::Sku
|
122
|
-
end
|
123
|
-
def deployment_extended_filter
|
124
|
-
Azure::Resources::Mgmt::V2018_05_01::Models::DeploymentExtendedFilter
|
125
|
-
end
|
126
125
|
def identity_user_assigned_identities_value
|
127
126
|
Azure::Resources::Mgmt::V2018_05_01::Models::IdentityUserAssignedIdentitiesValue
|
128
127
|
end
|
129
|
-
def resource_group_filter
|
130
|
-
Azure::Resources::Mgmt::V2018_05_01::Models::ResourceGroupFilter
|
131
|
-
end
|
132
128
|
def identity
|
133
129
|
Azure::Resources::Mgmt::V2018_05_01::Models::Identity
|
134
130
|
end
|
135
|
-
def
|
136
|
-
Azure::Resources::Mgmt::V2018_05_01::Models::
|
131
|
+
def generic_resource_filter
|
132
|
+
Azure::Resources::Mgmt::V2018_05_01::Models::GenericResourceFilter
|
137
133
|
end
|
138
|
-
def
|
139
|
-
Azure::Resources::Mgmt::V2018_05_01::Models::
|
134
|
+
def resource_group_filter
|
135
|
+
Azure::Resources::Mgmt::V2018_05_01::Models::ResourceGroupFilter
|
140
136
|
end
|
141
|
-
def
|
142
|
-
Azure::Resources::Mgmt::V2018_05_01::Models::
|
137
|
+
def parameters_link
|
138
|
+
Azure::Resources::Mgmt::V2018_05_01::Models::ParametersLink
|
143
139
|
end
|
144
140
|
def resource_list_result
|
145
141
|
Azure::Resources::Mgmt::V2018_05_01::Models::ResourceListResult
|
146
142
|
end
|
147
|
-
def
|
148
|
-
Azure::Resources::Mgmt::V2018_05_01::Models::
|
143
|
+
def on_error_deployment
|
144
|
+
Azure::Resources::Mgmt::V2018_05_01::Models::OnErrorDeployment
|
149
145
|
end
|
150
146
|
def resource_group_properties
|
151
147
|
Azure::Resources::Mgmt::V2018_05_01::Models::ResourceGroupProperties
|
152
148
|
end
|
153
|
-
def
|
154
|
-
Azure::Resources::Mgmt::V2018_05_01::Models::
|
149
|
+
def deployment
|
150
|
+
Azure::Resources::Mgmt::V2018_05_01::Models::Deployment
|
155
151
|
end
|
156
152
|
def resource_group
|
157
153
|
Azure::Resources::Mgmt::V2018_05_01::Models::ResourceGroup
|
158
154
|
end
|
159
|
-
def
|
160
|
-
Azure::Resources::Mgmt::V2018_05_01::Models::
|
155
|
+
def resource_management_error_with_details
|
156
|
+
Azure::Resources::Mgmt::V2018_05_01::Models::ResourceManagementErrorWithDetails
|
161
157
|
end
|
162
158
|
def resource_group_patchable
|
163
159
|
Azure::Resources::Mgmt::V2018_05_01::Models::ResourceGroupPatchable
|
164
160
|
end
|
165
|
-
def
|
166
|
-
Azure::Resources::Mgmt::V2018_05_01::Models::
|
161
|
+
def alias_type
|
162
|
+
Azure::Resources::Mgmt::V2018_05_01::Models::AliasType
|
167
163
|
end
|
168
164
|
def resource_group_list_result
|
169
165
|
Azure::Resources::Mgmt::V2018_05_01::Models::ResourceGroupListResult
|
170
166
|
end
|
171
|
-
def
|
172
|
-
Azure::Resources::Mgmt::V2018_05_01::Models::
|
167
|
+
def provider
|
168
|
+
Azure::Resources::Mgmt::V2018_05_01::Models::Provider
|
173
169
|
end
|
174
170
|
def resources_move_info
|
175
171
|
Azure::Resources::Mgmt::V2018_05_01::Models::ResourcesMoveInfo
|
176
172
|
end
|
177
|
-
def
|
178
|
-
Azure::Resources::Mgmt::V2018_05_01::Models::
|
173
|
+
def dependency
|
174
|
+
Azure::Resources::Mgmt::V2018_05_01::Models::Dependency
|
179
175
|
end
|
180
176
|
def export_template_request
|
181
177
|
Azure::Resources::Mgmt::V2018_05_01::Models::ExportTemplateRequest
|
182
178
|
end
|
183
|
-
def
|
184
|
-
Azure::Resources::Mgmt::V2018_05_01::Models::
|
179
|
+
def deployment_properties_extended
|
180
|
+
Azure::Resources::Mgmt::V2018_05_01::Models::DeploymentPropertiesExtended
|
185
181
|
end
|
186
182
|
def tag_count
|
187
183
|
Azure::Resources::Mgmt::V2018_05_01::Models::TagCount
|
188
184
|
end
|
189
|
-
def
|
190
|
-
Azure::Resources::Mgmt::V2018_05_01::Models::
|
185
|
+
def deployment_extended
|
186
|
+
Azure::Resources::Mgmt::V2018_05_01::Models::DeploymentExtended
|
191
187
|
end
|
192
188
|
def tag_value
|
193
189
|
Azure::Resources::Mgmt::V2018_05_01::Models::TagValue
|
194
190
|
end
|
195
|
-
def
|
196
|
-
Azure::Resources::Mgmt::V2018_05_01::Models::
|
191
|
+
def provider_list_result
|
192
|
+
Azure::Resources::Mgmt::V2018_05_01::Models::ProviderListResult
|
197
193
|
end
|
198
194
|
def tag_details
|
199
195
|
Azure::Resources::Mgmt::V2018_05_01::Models::TagDetails
|
200
196
|
end
|
201
|
-
def
|
202
|
-
Azure::Resources::Mgmt::V2018_05_01::Models::
|
197
|
+
def sku
|
198
|
+
Azure::Resources::Mgmt::V2018_05_01::Models::Sku
|
203
199
|
end
|
204
200
|
def tags_list_result
|
205
201
|
Azure::Resources::Mgmt::V2018_05_01::Models::TagsListResult
|
206
202
|
end
|
207
|
-
def
|
208
|
-
Azure::Resources::Mgmt::V2018_05_01::Models::
|
203
|
+
def template_link
|
204
|
+
Azure::Resources::Mgmt::V2018_05_01::Models::TemplateLink
|
209
205
|
end
|
210
206
|
def target_resource
|
211
207
|
Azure::Resources::Mgmt::V2018_05_01::Models::TargetResource
|
212
208
|
end
|
213
|
-
def
|
214
|
-
Azure::Resources::Mgmt::V2018_05_01::Models::
|
209
|
+
def deployment_properties
|
210
|
+
Azure::Resources::Mgmt::V2018_05_01::Models::DeploymentProperties
|
215
211
|
end
|
216
212
|
def http_message
|
217
213
|
Azure::Resources::Mgmt::V2018_05_01::Models::HttpMessage
|
218
214
|
end
|
219
|
-
def
|
220
|
-
Azure::Resources::Mgmt::V2018_05_01::Models::
|
215
|
+
def alias_path_type
|
216
|
+
Azure::Resources::Mgmt::V2018_05_01::Models::AliasPathType
|
221
217
|
end
|
222
218
|
def deployment_operation_properties
|
223
219
|
Azure::Resources::Mgmt::V2018_05_01::Models::DeploymentOperationProperties
|
224
220
|
end
|
225
|
-
def
|
226
|
-
Azure::Resources::Mgmt::V2018_05_01::Models::
|
221
|
+
def basic_dependency
|
222
|
+
Azure::Resources::Mgmt::V2018_05_01::Models::BasicDependency
|
227
223
|
end
|
228
224
|
def deployment_operation
|
229
225
|
Azure::Resources::Mgmt::V2018_05_01::Models::DeploymentOperation
|
230
226
|
end
|
231
|
-
def
|
232
|
-
Azure::Resources::Mgmt::V2018_05_01::Models::
|
227
|
+
def deployment_validate_result
|
228
|
+
Azure::Resources::Mgmt::V2018_05_01::Models::DeploymentValidateResult
|
233
229
|
end
|
234
230
|
def deployment_operations_list_result
|
235
231
|
Azure::Resources::Mgmt::V2018_05_01::Models::DeploymentOperationsListResult
|
236
232
|
end
|
237
|
-
def
|
238
|
-
Azure::Resources::Mgmt::V2018_05_01::Models::
|
233
|
+
def plan
|
234
|
+
Azure::Resources::Mgmt::V2018_05_01::Models::Plan
|
239
235
|
end
|
240
236
|
def resource_provider_operation_display_properties
|
241
237
|
Azure::Resources::Mgmt::V2018_05_01::Models::ResourceProviderOperationDisplayProperties
|
242
238
|
end
|
243
|
-
def
|
244
|
-
Azure::Resources::Mgmt::V2018_05_01::Models::
|
239
|
+
def debug_setting
|
240
|
+
Azure::Resources::Mgmt::V2018_05_01::Models::DebugSetting
|
245
241
|
end
|
246
242
|
def resource
|
247
243
|
Azure::Resources::Mgmt::V2018_05_01::Models::Resource
|
248
244
|
end
|
249
|
-
def
|
250
|
-
Azure::Resources::Mgmt::V2018_05_01::Models::
|
245
|
+
def provider_resource_type
|
246
|
+
Azure::Resources::Mgmt::V2018_05_01::Models::ProviderResourceType
|
251
247
|
end
|
252
248
|
def sub_resource
|
253
249
|
Azure::Resources::Mgmt::V2018_05_01::Models::SubResource
|
254
250
|
end
|
255
|
-
def
|
256
|
-
Azure::Resources::Mgmt::V2018_05_01::Models::
|
251
|
+
def deployment_list_result
|
252
|
+
Azure::Resources::Mgmt::V2018_05_01::Models::DeploymentListResult
|
257
253
|
end
|
258
254
|
def resource_group_export_result
|
259
255
|
Azure::Resources::Mgmt::V2018_05_01::Models::ResourceGroupExportResult
|
260
256
|
end
|
257
|
+
def deployment_export_result
|
258
|
+
Azure::Resources::Mgmt::V2018_05_01::Models::DeploymentExportResult
|
259
|
+
end
|
260
|
+
def operation_display
|
261
|
+
Azure::Resources::Mgmt::V2018_05_01::Models::OperationDisplay
|
262
|
+
end
|
263
|
+
def deployment_extended_filter
|
264
|
+
Azure::Resources::Mgmt::V2018_05_01::Models::DeploymentExtendedFilter
|
265
|
+
end
|
266
|
+
def operation
|
267
|
+
Azure::Resources::Mgmt::V2018_05_01::Models::Operation
|
268
|
+
end
|
269
|
+
def on_error_deployment_extended
|
270
|
+
Azure::Resources::Mgmt::V2018_05_01::Models::OnErrorDeploymentExtended
|
271
|
+
end
|
272
|
+
def operation_list_result
|
273
|
+
Azure::Resources::Mgmt::V2018_05_01::Models::OperationListResult
|
274
|
+
end
|
261
275
|
def generic_resource
|
262
276
|
Azure::Resources::Mgmt::V2018_05_01::Models::GenericResource
|
263
277
|
end
|