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.
Files changed (28) hide show
  1. checksums.yaml +4 -4
  2. data/lib/2016-02-01/generated/azure_mgmt_resources/models/resource.rb +9 -0
  3. data/lib/2016-02-01/generated/azure_mgmt_resources/resource_management_client.rb +1 -1
  4. data/lib/2016-07-01/generated/azure_mgmt_resources/models/resource.rb +9 -0
  5. data/lib/2016-07-01/generated/azure_mgmt_resources/resource_management_client.rb +1 -1
  6. data/lib/2016-09-01/generated/azure_mgmt_resources/models/resource.rb +9 -0
  7. data/lib/2016-09-01/generated/azure_mgmt_resources/resource_management_client.rb +1 -1
  8. data/lib/2017-05-10/generated/azure_mgmt_resources/models/resource.rb +9 -0
  9. data/lib/2017-05-10/generated/azure_mgmt_resources/resource_management_client.rb +1 -1
  10. data/lib/2018-02-01/generated/azure_mgmt_resources/models/resource.rb +9 -0
  11. data/lib/2018-02-01/generated/azure_mgmt_resources/resource_management_client.rb +1 -1
  12. data/lib/2018-05-01/generated/azure_mgmt_resources.rb +28 -24
  13. data/lib/2018-05-01/generated/azure_mgmt_resources/models/deployment_extended.rb +2 -1
  14. data/lib/2018-05-01/generated/azure_mgmt_resources/models/operation.rb +58 -0
  15. data/lib/2018-05-01/generated/azure_mgmt_resources/models/operation_display.rb +80 -0
  16. data/lib/2018-05-01/generated/azure_mgmt_resources/models/operation_list_result.rb +100 -0
  17. data/lib/2018-05-01/generated/azure_mgmt_resources/models/resource.rb +10 -1
  18. data/lib/2018-05-01/generated/azure_mgmt_resources/models/resource_group.rb +1 -0
  19. data/lib/2018-05-01/generated/azure_mgmt_resources/models/resource_provider_operation_display_properties.rb +1 -1
  20. data/lib/2018-05-01/generated/azure_mgmt_resources/operations.rb +215 -0
  21. data/lib/2018-05-01/generated/azure_mgmt_resources/resource_management_client.rb +5 -1
  22. data/lib/azure_mgmt_resources.rb +1 -0
  23. data/lib/profiles/latest/modules/resources_profile_module.rb +92 -78
  24. data/lib/profiles/v2018_03_01/modules/resources_profile_module.rb +271 -0
  25. data/lib/profiles/v2018_03_01/resources_module_definition.rb +8 -0
  26. data/lib/profiles/v2018_03_01/resources_v2018_03_01_profile_client.rb +40 -0
  27. data/lib/version.rb +1 -1
  28. metadata +9 -2
@@ -0,0 +1,271 @@
1
+ # encoding: utf-8
2
+ # Copyright (c) Microsoft Corporation. All rights reserved.
3
+ # Licensed under the MIT License. See License.txt in the project root for license information.
4
+
5
+ require 'azure_mgmt_resources'
6
+
7
+ module Azure::Resources::Profiles::V2018_03_01
8
+ module Mgmt
9
+ Deployments = Azure::Resources::Mgmt::V2018_02_01::Deployments
10
+ Providers = Azure::Resources::Mgmt::V2018_02_01::Providers
11
+ Resources = Azure::Resources::Mgmt::V2018_02_01::Resources
12
+ ResourceGroups = Azure::Resources::Mgmt::V2018_02_01::ResourceGroups
13
+ Tags = Azure::Resources::Mgmt::V2018_02_01::Tags
14
+ DeploymentOperations = Azure::Resources::Mgmt::V2018_02_01::DeploymentOperations
15
+
16
+ module Models
17
+ Plan = Azure::Resources::Mgmt::V2018_02_01::Models::Plan
18
+ Sku = Azure::Resources::Mgmt::V2018_02_01::Models::Sku
19
+ GenericResourceFilter = Azure::Resources::Mgmt::V2018_02_01::Models::GenericResourceFilter
20
+ Identity = Azure::Resources::Mgmt::V2018_02_01::Models::Identity
21
+ TemplateLink = Azure::Resources::Mgmt::V2018_02_01::Models::TemplateLink
22
+ ParametersLink = Azure::Resources::Mgmt::V2018_02_01::Models::ParametersLink
23
+ OnErrorDeployment = Azure::Resources::Mgmt::V2018_02_01::Models::OnErrorDeployment
24
+ ResourceListResult = Azure::Resources::Mgmt::V2018_02_01::Models::ResourceListResult
25
+ Deployment = Azure::Resources::Mgmt::V2018_02_01::Models::Deployment
26
+ ResourceGroupProperties = Azure::Resources::Mgmt::V2018_02_01::Models::ResourceGroupProperties
27
+ ResourceManagementErrorWithDetails = Azure::Resources::Mgmt::V2018_02_01::Models::ResourceManagementErrorWithDetails
28
+ ResourceGroup = Azure::Resources::Mgmt::V2018_02_01::Models::ResourceGroup
29
+ AliasType = Azure::Resources::Mgmt::V2018_02_01::Models::AliasType
30
+ ResourceGroupPatchable = Azure::Resources::Mgmt::V2018_02_01::Models::ResourceGroupPatchable
31
+ Provider = Azure::Resources::Mgmt::V2018_02_01::Models::Provider
32
+ ResourceGroupListResult = Azure::Resources::Mgmt::V2018_02_01::Models::ResourceGroupListResult
33
+ Dependency = Azure::Resources::Mgmt::V2018_02_01::Models::Dependency
34
+ ResourcesMoveInfo = Azure::Resources::Mgmt::V2018_02_01::Models::ResourcesMoveInfo
35
+ DeploymentPropertiesExtended = Azure::Resources::Mgmt::V2018_02_01::Models::DeploymentPropertiesExtended
36
+ ExportTemplateRequest = Azure::Resources::Mgmt::V2018_02_01::Models::ExportTemplateRequest
37
+ DeploymentExtended = Azure::Resources::Mgmt::V2018_02_01::Models::DeploymentExtended
38
+ TagCount = Azure::Resources::Mgmt::V2018_02_01::Models::TagCount
39
+ ProviderListResult = Azure::Resources::Mgmt::V2018_02_01::Models::ProviderListResult
40
+ TagValue = Azure::Resources::Mgmt::V2018_02_01::Models::TagValue
41
+ ResourceGroupFilter = Azure::Resources::Mgmt::V2018_02_01::Models::ResourceGroupFilter
42
+ TagDetails = Azure::Resources::Mgmt::V2018_02_01::Models::TagDetails
43
+ DeploymentProperties = Azure::Resources::Mgmt::V2018_02_01::Models::DeploymentProperties
44
+ TagsListResult = Azure::Resources::Mgmt::V2018_02_01::Models::TagsListResult
45
+ AliasPathType = Azure::Resources::Mgmt::V2018_02_01::Models::AliasPathType
46
+ TargetResource = Azure::Resources::Mgmt::V2018_02_01::Models::TargetResource
47
+ BasicDependency = Azure::Resources::Mgmt::V2018_02_01::Models::BasicDependency
48
+ HttpMessage = Azure::Resources::Mgmt::V2018_02_01::Models::HttpMessage
49
+ DeploymentValidateResult = Azure::Resources::Mgmt::V2018_02_01::Models::DeploymentValidateResult
50
+ DeploymentOperationProperties = Azure::Resources::Mgmt::V2018_02_01::Models::DeploymentOperationProperties
51
+ DeploymentExtendedFilter = Azure::Resources::Mgmt::V2018_02_01::Models::DeploymentExtendedFilter
52
+ DeploymentOperation = Azure::Resources::Mgmt::V2018_02_01::Models::DeploymentOperation
53
+ DeploymentExportResult = Azure::Resources::Mgmt::V2018_02_01::Models::DeploymentExportResult
54
+ DeploymentOperationsListResult = Azure::Resources::Mgmt::V2018_02_01::Models::DeploymentOperationsListResult
55
+ OnErrorDeploymentExtended = Azure::Resources::Mgmt::V2018_02_01::Models::OnErrorDeploymentExtended
56
+ ResourceProviderOperationDisplayProperties = Azure::Resources::Mgmt::V2018_02_01::Models::ResourceProviderOperationDisplayProperties
57
+ DebugSetting = Azure::Resources::Mgmt::V2018_02_01::Models::DebugSetting
58
+ Resource = Azure::Resources::Mgmt::V2018_02_01::Models::Resource
59
+ DeploymentListResult = Azure::Resources::Mgmt::V2018_02_01::Models::DeploymentListResult
60
+ SubResource = Azure::Resources::Mgmt::V2018_02_01::Models::SubResource
61
+ ProviderResourceType = Azure::Resources::Mgmt::V2018_02_01::Models::ProviderResourceType
62
+ ResourceGroupExportResult = Azure::Resources::Mgmt::V2018_02_01::Models::ResourceGroupExportResult
63
+ GenericResource = Azure::Resources::Mgmt::V2018_02_01::Models::GenericResource
64
+ DeploymentMode = Azure::Resources::Mgmt::V2018_02_01::Models::DeploymentMode
65
+ OnErrorDeploymentType = Azure::Resources::Mgmt::V2018_02_01::Models::OnErrorDeploymentType
66
+ ResourceIdentityType = Azure::Resources::Mgmt::V2018_02_01::Models::ResourceIdentityType
67
+ end
68
+
69
+ #
70
+ # ResourcesManagementClass
71
+ #
72
+ class ResourcesManagementClass
73
+ attr_reader :deployments, :providers, :resources, :resource_groups, :tags, :deployment_operations, :configurable, :base_url, :options, :model_classes
74
+
75
+ def initialize(options = {})
76
+ if options.is_a?(Hash) && options.length == 0
77
+ @options = setup_default_options
78
+ else
79
+ @options = options
80
+ end
81
+
82
+ reset!(options)
83
+
84
+ @configurable = self
85
+ @base_url = options[:base_url].nil? ? nil:options[:base_url]
86
+ @options = options[:options].nil? ? nil:options[:options]
87
+
88
+ @client_0 = Azure::Resources::Mgmt::V2018_02_01::ResourceManagementClient.new(configurable.credentials, base_url, options)
89
+ if(@client_0.respond_to?(:subscription_id))
90
+ @client_0.subscription_id = configurable.subscription_id
91
+ end
92
+ add_telemetry(@client_0)
93
+ @deployments = @client_0.deployments
94
+ @providers = @client_0.providers
95
+ @resources = @client_0.resources
96
+ @resource_groups = @client_0.resource_groups
97
+ @tags = @client_0.tags
98
+ @deployment_operations = @client_0.deployment_operations
99
+
100
+ @model_classes = ModelClasses.new
101
+ end
102
+
103
+ def add_telemetry(client)
104
+ profile_information = 'Profiles/V2018_03_01/Resources/Mgmt'
105
+ client.add_user_agent_information(profile_information)
106
+ end
107
+
108
+ def method_missing(method, *args)
109
+ if @client_0.respond_to?method
110
+ @client_0.send(method, *args)
111
+ else
112
+ super
113
+ end
114
+ end
115
+
116
+ end
117
+
118
+ class ModelClasses
119
+ def plan
120
+ Azure::Resources::Mgmt::V2018_02_01::Models::Plan
121
+ end
122
+ def sku
123
+ Azure::Resources::Mgmt::V2018_02_01::Models::Sku
124
+ end
125
+ def generic_resource_filter
126
+ Azure::Resources::Mgmt::V2018_02_01::Models::GenericResourceFilter
127
+ end
128
+ def identity
129
+ Azure::Resources::Mgmt::V2018_02_01::Models::Identity
130
+ end
131
+ def template_link
132
+ Azure::Resources::Mgmt::V2018_02_01::Models::TemplateLink
133
+ end
134
+ def parameters_link
135
+ Azure::Resources::Mgmt::V2018_02_01::Models::ParametersLink
136
+ end
137
+ def on_error_deployment
138
+ Azure::Resources::Mgmt::V2018_02_01::Models::OnErrorDeployment
139
+ end
140
+ def resource_list_result
141
+ Azure::Resources::Mgmt::V2018_02_01::Models::ResourceListResult
142
+ end
143
+ def deployment
144
+ Azure::Resources::Mgmt::V2018_02_01::Models::Deployment
145
+ end
146
+ def resource_group_properties
147
+ Azure::Resources::Mgmt::V2018_02_01::Models::ResourceGroupProperties
148
+ end
149
+ def resource_management_error_with_details
150
+ Azure::Resources::Mgmt::V2018_02_01::Models::ResourceManagementErrorWithDetails
151
+ end
152
+ def resource_group
153
+ Azure::Resources::Mgmt::V2018_02_01::Models::ResourceGroup
154
+ end
155
+ def alias_type
156
+ Azure::Resources::Mgmt::V2018_02_01::Models::AliasType
157
+ end
158
+ def resource_group_patchable
159
+ Azure::Resources::Mgmt::V2018_02_01::Models::ResourceGroupPatchable
160
+ end
161
+ def provider
162
+ Azure::Resources::Mgmt::V2018_02_01::Models::Provider
163
+ end
164
+ def resource_group_list_result
165
+ Azure::Resources::Mgmt::V2018_02_01::Models::ResourceGroupListResult
166
+ end
167
+ def dependency
168
+ Azure::Resources::Mgmt::V2018_02_01::Models::Dependency
169
+ end
170
+ def resources_move_info
171
+ Azure::Resources::Mgmt::V2018_02_01::Models::ResourcesMoveInfo
172
+ end
173
+ def deployment_properties_extended
174
+ Azure::Resources::Mgmt::V2018_02_01::Models::DeploymentPropertiesExtended
175
+ end
176
+ def export_template_request
177
+ Azure::Resources::Mgmt::V2018_02_01::Models::ExportTemplateRequest
178
+ end
179
+ def deployment_extended
180
+ Azure::Resources::Mgmt::V2018_02_01::Models::DeploymentExtended
181
+ end
182
+ def tag_count
183
+ Azure::Resources::Mgmt::V2018_02_01::Models::TagCount
184
+ end
185
+ def provider_list_result
186
+ Azure::Resources::Mgmt::V2018_02_01::Models::ProviderListResult
187
+ end
188
+ def tag_value
189
+ Azure::Resources::Mgmt::V2018_02_01::Models::TagValue
190
+ end
191
+ def resource_group_filter
192
+ Azure::Resources::Mgmt::V2018_02_01::Models::ResourceGroupFilter
193
+ end
194
+ def tag_details
195
+ Azure::Resources::Mgmt::V2018_02_01::Models::TagDetails
196
+ end
197
+ def deployment_properties
198
+ Azure::Resources::Mgmt::V2018_02_01::Models::DeploymentProperties
199
+ end
200
+ def tags_list_result
201
+ Azure::Resources::Mgmt::V2018_02_01::Models::TagsListResult
202
+ end
203
+ def alias_path_type
204
+ Azure::Resources::Mgmt::V2018_02_01::Models::AliasPathType
205
+ end
206
+ def target_resource
207
+ Azure::Resources::Mgmt::V2018_02_01::Models::TargetResource
208
+ end
209
+ def basic_dependency
210
+ Azure::Resources::Mgmt::V2018_02_01::Models::BasicDependency
211
+ end
212
+ def http_message
213
+ Azure::Resources::Mgmt::V2018_02_01::Models::HttpMessage
214
+ end
215
+ def deployment_validate_result
216
+ Azure::Resources::Mgmt::V2018_02_01::Models::DeploymentValidateResult
217
+ end
218
+ def deployment_operation_properties
219
+ Azure::Resources::Mgmt::V2018_02_01::Models::DeploymentOperationProperties
220
+ end
221
+ def deployment_extended_filter
222
+ Azure::Resources::Mgmt::V2018_02_01::Models::DeploymentExtendedFilter
223
+ end
224
+ def deployment_operation
225
+ Azure::Resources::Mgmt::V2018_02_01::Models::DeploymentOperation
226
+ end
227
+ def deployment_export_result
228
+ Azure::Resources::Mgmt::V2018_02_01::Models::DeploymentExportResult
229
+ end
230
+ def deployment_operations_list_result
231
+ Azure::Resources::Mgmt::V2018_02_01::Models::DeploymentOperationsListResult
232
+ end
233
+ def on_error_deployment_extended
234
+ Azure::Resources::Mgmt::V2018_02_01::Models::OnErrorDeploymentExtended
235
+ end
236
+ def resource_provider_operation_display_properties
237
+ Azure::Resources::Mgmt::V2018_02_01::Models::ResourceProviderOperationDisplayProperties
238
+ end
239
+ def debug_setting
240
+ Azure::Resources::Mgmt::V2018_02_01::Models::DebugSetting
241
+ end
242
+ def resource
243
+ Azure::Resources::Mgmt::V2018_02_01::Models::Resource
244
+ end
245
+ def deployment_list_result
246
+ Azure::Resources::Mgmt::V2018_02_01::Models::DeploymentListResult
247
+ end
248
+ def sub_resource
249
+ Azure::Resources::Mgmt::V2018_02_01::Models::SubResource
250
+ end
251
+ def provider_resource_type
252
+ Azure::Resources::Mgmt::V2018_02_01::Models::ProviderResourceType
253
+ end
254
+ def resource_group_export_result
255
+ Azure::Resources::Mgmt::V2018_02_01::Models::ResourceGroupExportResult
256
+ end
257
+ def generic_resource
258
+ Azure::Resources::Mgmt::V2018_02_01::Models::GenericResource
259
+ end
260
+ def deployment_mode
261
+ Azure::Resources::Mgmt::V2018_02_01::Models::DeploymentMode
262
+ end
263
+ def on_error_deployment_type
264
+ Azure::Resources::Mgmt::V2018_02_01::Models::OnErrorDeploymentType
265
+ end
266
+ def resource_identity_type
267
+ Azure::Resources::Mgmt::V2018_02_01::Models::ResourceIdentityType
268
+ end
269
+ end
270
+ end
271
+ end
@@ -0,0 +1,8 @@
1
+ # encoding: utf-8
2
+ # Copyright (c) Microsoft Corporation. All rights reserved.
3
+ # Licensed under the MIT License. See License.txt in the project root for license information.
4
+
5
+ module Azure end
6
+ module Azure::Resources end
7
+ module Azure::Resources::Profiles end
8
+ module Azure::Resources::Profiles::V2018_03_01 end
@@ -0,0 +1,40 @@
1
+ # encoding: utf-8
2
+ # Copyright (c) Microsoft Corporation. All rights reserved.
3
+ # Licensed under the MIT License. See License.txt in the project root for license information.
4
+
5
+ require 'profiles/v2018_03_01/resources_module_definition'
6
+ require 'profiles/v2018_03_01/modules/resources_profile_module'
7
+
8
+ module Azure::Resources::Profiles::V2018_03_01
9
+ module Mgmt
10
+ #
11
+ # Client class for the V2018_03_01 profile SDK.
12
+ #
13
+ class Client < ResourcesManagementClass
14
+ include MsRestAzure::Common::Configurable
15
+
16
+ #
17
+ # Initializes a new instance of the Client class.
18
+ # @param options [Hash] hash of client options.
19
+ # options = {
20
+ # tenant_id: 'YOUR TENANT ID',
21
+ # client_id: 'YOUR CLIENT ID',
22
+ # client_secret: 'YOUR CLIENT SECRET',
23
+ # subscription_id: 'YOUR SUBSCRIPTION ID',
24
+ # credentials: credentials,
25
+ # active_directory_settings: active_directory_settings,
26
+ # base_url: 'YOUR BASE URL',
27
+ # options: options
28
+ # }
29
+ # 'credentials' are optional and if not passed in the hash, will be obtained
30
+ # from MsRest::TokenCredentials using MsRestAzure::ApplicationTokenProvider.
31
+ #
32
+ # Also, base_url, active_directory_settings & options are optional.
33
+ #
34
+ def initialize(options = {})
35
+ super(options)
36
+ end
37
+
38
+ end
39
+ end
40
+ end
@@ -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::Resources::Mgmt
6
- VERSION = '0.17.0'
6
+ VERSION = '0.17.2'
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: azure_mgmt_resources
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.17.0
4
+ version: 0.17.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: 2018-07-31 00:00:00.000000000 Z
11
+ date: 2018-10-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -397,6 +397,9 @@ files:
397
397
  - lib/2018-05-01/generated/azure_mgmt_resources/models/on_error_deployment.rb
398
398
  - lib/2018-05-01/generated/azure_mgmt_resources/models/on_error_deployment_extended.rb
399
399
  - lib/2018-05-01/generated/azure_mgmt_resources/models/on_error_deployment_type.rb
400
+ - lib/2018-05-01/generated/azure_mgmt_resources/models/operation.rb
401
+ - lib/2018-05-01/generated/azure_mgmt_resources/models/operation_display.rb
402
+ - lib/2018-05-01/generated/azure_mgmt_resources/models/operation_list_result.rb
400
403
  - lib/2018-05-01/generated/azure_mgmt_resources/models/parameters_link.rb
401
404
  - lib/2018-05-01/generated/azure_mgmt_resources/models/plan.rb
402
405
  - lib/2018-05-01/generated/azure_mgmt_resources/models/provider.rb
@@ -423,6 +426,7 @@ files:
423
426
  - lib/2018-05-01/generated/azure_mgmt_resources/models/target_resource.rb
424
427
  - lib/2018-05-01/generated/azure_mgmt_resources/models/template_link.rb
425
428
  - lib/2018-05-01/generated/azure_mgmt_resources/module_definition.rb
429
+ - lib/2018-05-01/generated/azure_mgmt_resources/operations.rb
426
430
  - lib/2018-05-01/generated/azure_mgmt_resources/providers.rb
427
431
  - lib/2018-05-01/generated/azure_mgmt_resources/resource_groups.rb
428
432
  - lib/2018-05-01/generated/azure_mgmt_resources/resource_management_client.rb
@@ -436,6 +440,9 @@ files:
436
440
  - lib/profiles/v2017_03_09/modules/resources_profile_module.rb
437
441
  - lib/profiles/v2017_03_09/resources_module_definition.rb
438
442
  - lib/profiles/v2017_03_09/resources_v2017_03_09_profile_client.rb
443
+ - lib/profiles/v2018_03_01/modules/resources_profile_module.rb
444
+ - lib/profiles/v2018_03_01/resources_module_definition.rb
445
+ - lib/profiles/v2018_03_01/resources_v2018_03_01_profile_client.rb
439
446
  - lib/version.rb
440
447
  homepage: https://aka.ms/azure-sdk-for-ruby
441
448
  licenses: