azure_mgmt_managed_applications 0.14.0 → 0.15.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/2016-09-01-preview/generated/azure_mgmt_managed_applications.rb +47 -0
- data/lib/{generated → 2016-09-01-preview/generated}/azure_mgmt_managed_applications/appliance_definitions.rb +13 -13
- data/lib/{generated → 2016-09-01-preview/generated}/azure_mgmt_managed_applications/appliances.rb +19 -19
- data/lib/{generated → 2016-09-01-preview/generated}/azure_mgmt_managed_applications/managed_application_client.rb +3 -3
- data/lib/{generated → 2016-09-01-preview/generated}/azure_mgmt_managed_applications/models/appliance.rb +1 -1
- data/lib/{generated → 2016-09-01-preview/generated}/azure_mgmt_managed_applications/models/appliance_artifact.rb +1 -1
- data/lib/{generated → 2016-09-01-preview/generated}/azure_mgmt_managed_applications/models/appliance_artifact_type.rb +1 -1
- data/lib/{generated → 2016-09-01-preview/generated}/azure_mgmt_managed_applications/models/appliance_definition.rb +1 -1
- data/lib/{generated → 2016-09-01-preview/generated}/azure_mgmt_managed_applications/models/appliance_definition_list_result.rb +1 -1
- data/lib/{generated → 2016-09-01-preview/generated}/azure_mgmt_managed_applications/models/appliance_list_result.rb +1 -1
- data/lib/{generated → 2016-09-01-preview/generated}/azure_mgmt_managed_applications/models/appliance_lock_level.rb +1 -1
- data/lib/{generated → 2016-09-01-preview/generated}/azure_mgmt_managed_applications/models/appliance_patchable.rb +1 -1
- data/lib/{generated → 2016-09-01-preview/generated}/azure_mgmt_managed_applications/models/appliance_provider_authorization.rb +1 -1
- data/lib/{generated → 2016-09-01-preview/generated}/azure_mgmt_managed_applications/models/error_response.rb +1 -1
- data/lib/{generated → 2016-09-01-preview/generated}/azure_mgmt_managed_applications/models/generic_resource.rb +1 -1
- data/lib/{generated → 2016-09-01-preview/generated}/azure_mgmt_managed_applications/models/identity.rb +1 -1
- data/lib/{generated → 2016-09-01-preview/generated}/azure_mgmt_managed_applications/models/plan.rb +1 -1
- data/lib/{generated → 2016-09-01-preview/generated}/azure_mgmt_managed_applications/models/plan_patchable.rb +1 -1
- data/lib/{generated → 2016-09-01-preview/generated}/azure_mgmt_managed_applications/models/provisioning_state.rb +1 -1
- data/lib/{generated → 2016-09-01-preview/generated}/azure_mgmt_managed_applications/models/resource.rb +1 -1
- data/lib/{generated → 2016-09-01-preview/generated}/azure_mgmt_managed_applications/models/resource_identity_type.rb +1 -1
- data/lib/{generated → 2016-09-01-preview/generated}/azure_mgmt_managed_applications/models/sku.rb +1 -1
- data/lib/{generated → 2016-09-01-preview/generated}/azure_mgmt_managed_applications/module_definition.rb +3 -2
- data/lib/{generated → 2016-09-01-preview/generated}/azure_mgmt_managed_applications/version.rb +2 -2
- data/lib/azure_mgmt_managed_applications.rb +2 -3
- data/lib/module_definition.rb +7 -0
- data/lib/profiles/common/configurable.rb +73 -0
- data/lib/profiles/common/default.rb +68 -0
- data/lib/profiles/latest/managedapplications_latest_profile_client.rb +33 -0
- data/lib/profiles/latest/managedapplications_module_definition.rb +9 -0
- data/lib/profiles/latest/modules/managedapplications_profile_module.rb +116 -0
- data/lib/version.rb +7 -0
- metadata +33 -26
- data/lib/generated/azure_mgmt_managed_applications.rb +0 -47
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 66f77c913a21e414bce2e22826d4ef0111633258
|
|
4
|
+
data.tar.gz: fa9d01ee6768a422cd690924b2563df9321f6eae
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 349a8a7b072c85fe78bd9616f1a7840e193fd95d9f03c733d96c710e8e1d9e8e598e74437c20852cc6a694e6246c10cbca3857b3869fd4be70bc29368cdc2d3f
|
|
7
|
+
data.tar.gz: 84887851b447105aa7f2453d5fa4405066c5cff47a69714388d64e44622c12bd0023a1c3450b85c659fa54727d36f2c78823db1d24bdc657e840985822f721e6
|
|
@@ -0,0 +1,47 @@
|
|
|
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
|
+
require 'uri'
|
|
7
|
+
require 'cgi'
|
|
8
|
+
require 'date'
|
|
9
|
+
require 'json'
|
|
10
|
+
require 'base64'
|
|
11
|
+
require 'erb'
|
|
12
|
+
require 'securerandom'
|
|
13
|
+
require 'time'
|
|
14
|
+
require 'timeliness'
|
|
15
|
+
require 'faraday'
|
|
16
|
+
require 'faraday-cookie_jar'
|
|
17
|
+
require 'concurrent'
|
|
18
|
+
require 'ms_rest'
|
|
19
|
+
require '2016-09-01-preview/generated/azure_mgmt_managed_applications/module_definition'
|
|
20
|
+
require 'ms_rest_azure'
|
|
21
|
+
|
|
22
|
+
module Azure::ManagedApplications::Mgmt::V2016_09_01_preview
|
|
23
|
+
autoload :Appliances, '2016-09-01-preview/generated/azure_mgmt_managed_applications/appliances.rb'
|
|
24
|
+
autoload :ApplianceDefinitions, '2016-09-01-preview/generated/azure_mgmt_managed_applications/appliance_definitions.rb'
|
|
25
|
+
autoload :ManagedApplicationClient, '2016-09-01-preview/generated/azure_mgmt_managed_applications/managed_application_client.rb'
|
|
26
|
+
|
|
27
|
+
module Models
|
|
28
|
+
autoload :Sku, '2016-09-01-preview/generated/azure_mgmt_managed_applications/models/sku.rb'
|
|
29
|
+
autoload :Plan, '2016-09-01-preview/generated/azure_mgmt_managed_applications/models/plan.rb'
|
|
30
|
+
autoload :Identity, '2016-09-01-preview/generated/azure_mgmt_managed_applications/models/identity.rb'
|
|
31
|
+
autoload :PlanPatchable, '2016-09-01-preview/generated/azure_mgmt_managed_applications/models/plan_patchable.rb'
|
|
32
|
+
autoload :ErrorResponse, '2016-09-01-preview/generated/azure_mgmt_managed_applications/models/error_response.rb'
|
|
33
|
+
autoload :ApplianceProviderAuthorization, '2016-09-01-preview/generated/azure_mgmt_managed_applications/models/appliance_provider_authorization.rb'
|
|
34
|
+
autoload :ApplianceDefinitionListResult, '2016-09-01-preview/generated/azure_mgmt_managed_applications/models/appliance_definition_list_result.rb'
|
|
35
|
+
autoload :ApplianceListResult, '2016-09-01-preview/generated/azure_mgmt_managed_applications/models/appliance_list_result.rb'
|
|
36
|
+
autoload :ApplianceArtifact, '2016-09-01-preview/generated/azure_mgmt_managed_applications/models/appliance_artifact.rb'
|
|
37
|
+
autoload :Resource, '2016-09-01-preview/generated/azure_mgmt_managed_applications/models/resource.rb'
|
|
38
|
+
autoload :GenericResource, '2016-09-01-preview/generated/azure_mgmt_managed_applications/models/generic_resource.rb'
|
|
39
|
+
autoload :Appliance, '2016-09-01-preview/generated/azure_mgmt_managed_applications/models/appliance.rb'
|
|
40
|
+
autoload :AppliancePatchable, '2016-09-01-preview/generated/azure_mgmt_managed_applications/models/appliance_patchable.rb'
|
|
41
|
+
autoload :ApplianceDefinition, '2016-09-01-preview/generated/azure_mgmt_managed_applications/models/appliance_definition.rb'
|
|
42
|
+
autoload :ProvisioningState, '2016-09-01-preview/generated/azure_mgmt_managed_applications/models/provisioning_state.rb'
|
|
43
|
+
autoload :ApplianceLockLevel, '2016-09-01-preview/generated/azure_mgmt_managed_applications/models/appliance_lock_level.rb'
|
|
44
|
+
autoload :ApplianceArtifactType, '2016-09-01-preview/generated/azure_mgmt_managed_applications/models/appliance_artifact_type.rb'
|
|
45
|
+
autoload :ResourceIdentityType, '2016-09-01-preview/generated/azure_mgmt_managed_applications/models/resource_identity_type.rb'
|
|
46
|
+
end
|
|
47
|
+
end
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
|
4
4
|
# regenerated.
|
|
5
5
|
|
|
6
|
-
module Azure::
|
|
6
|
+
module Azure::ManagedApplications::Mgmt::V2016_09_01_preview
|
|
7
7
|
#
|
|
8
8
|
# ARM managed applications (appliances)
|
|
9
9
|
#
|
|
@@ -105,7 +105,7 @@ module Azure::ARM::ManagedApplications
|
|
|
105
105
|
if status_code == 200
|
|
106
106
|
begin
|
|
107
107
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
|
108
|
-
result_mapper = Azure::
|
|
108
|
+
result_mapper = Azure::ManagedApplications::Mgmt::V2016_09_01_preview::Models::ApplianceDefinition.mapper()
|
|
109
109
|
result.body = @client.deserialize(result_mapper, parsed_response)
|
|
110
110
|
rescue Exception => e
|
|
111
111
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
|
@@ -199,7 +199,7 @@ module Azure::ARM::ManagedApplications
|
|
|
199
199
|
promise = promise.then do |response|
|
|
200
200
|
# Defining deserialization method.
|
|
201
201
|
deserialize_method = lambda do |parsed_response|
|
|
202
|
-
result_mapper = Azure::
|
|
202
|
+
result_mapper = Azure::ManagedApplications::Mgmt::V2016_09_01_preview::Models::ApplianceDefinition.mapper()
|
|
203
203
|
parsed_response = @client.deserialize(result_mapper, parsed_response)
|
|
204
204
|
end
|
|
205
205
|
|
|
@@ -287,7 +287,7 @@ module Azure::ARM::ManagedApplications
|
|
|
287
287
|
if status_code == 200
|
|
288
288
|
begin
|
|
289
289
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
|
290
|
-
result_mapper = Azure::
|
|
290
|
+
result_mapper = Azure::ManagedApplications::Mgmt::V2016_09_01_preview::Models::ApplianceDefinitionListResult.mapper()
|
|
291
291
|
result.body = @client.deserialize(result_mapper, parsed_response)
|
|
292
292
|
rescue Exception => e
|
|
293
293
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
|
@@ -382,7 +382,7 @@ module Azure::ARM::ManagedApplications
|
|
|
382
382
|
if status_code == 200
|
|
383
383
|
begin
|
|
384
384
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
|
385
|
-
result_mapper = Azure::
|
|
385
|
+
result_mapper = Azure::ManagedApplications::Mgmt::V2016_09_01_preview::Models::ApplianceDefinition.mapper()
|
|
386
386
|
result.body = @client.deserialize(result_mapper, parsed_response)
|
|
387
387
|
rescue Exception => e
|
|
388
388
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
|
@@ -476,7 +476,7 @@ module Azure::ARM::ManagedApplications
|
|
|
476
476
|
promise = promise.then do |response|
|
|
477
477
|
# Defining deserialization method.
|
|
478
478
|
deserialize_method = lambda do |parsed_response|
|
|
479
|
-
result_mapper = Azure::
|
|
479
|
+
result_mapper = Azure::ManagedApplications::Mgmt::V2016_09_01_preview::Models::ApplianceDefinition.mapper()
|
|
480
480
|
parsed_response = @client.deserialize(result_mapper, parsed_response)
|
|
481
481
|
end
|
|
482
482
|
|
|
@@ -641,7 +641,7 @@ module Azure::ARM::ManagedApplications
|
|
|
641
641
|
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
|
642
642
|
|
|
643
643
|
# Serialize Request
|
|
644
|
-
request_mapper = Azure::
|
|
644
|
+
request_mapper = Azure::ManagedApplications::Mgmt::V2016_09_01_preview::Models::ApplianceDefinition.mapper()
|
|
645
645
|
request_content = @client.serialize(request_mapper, parameters)
|
|
646
646
|
request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
|
|
647
647
|
|
|
@@ -673,7 +673,7 @@ module Azure::ARM::ManagedApplications
|
|
|
673
673
|
if status_code == 200
|
|
674
674
|
begin
|
|
675
675
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
|
676
|
-
result_mapper = Azure::
|
|
676
|
+
result_mapper = Azure::ManagedApplications::Mgmt::V2016_09_01_preview::Models::ApplianceDefinition.mapper()
|
|
677
677
|
result.body = @client.deserialize(result_mapper, parsed_response)
|
|
678
678
|
rescue Exception => e
|
|
679
679
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
|
@@ -683,7 +683,7 @@ module Azure::ARM::ManagedApplications
|
|
|
683
683
|
if status_code == 201
|
|
684
684
|
begin
|
|
685
685
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
|
686
|
-
result_mapper = Azure::
|
|
686
|
+
result_mapper = Azure::ManagedApplications::Mgmt::V2016_09_01_preview::Models::ApplianceDefinition.mapper()
|
|
687
687
|
result.body = @client.deserialize(result_mapper, parsed_response)
|
|
688
688
|
rescue Exception => e
|
|
689
689
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
|
@@ -846,7 +846,7 @@ module Azure::ARM::ManagedApplications
|
|
|
846
846
|
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
|
847
847
|
|
|
848
848
|
# Serialize Request
|
|
849
|
-
request_mapper = Azure::
|
|
849
|
+
request_mapper = Azure::ManagedApplications::Mgmt::V2016_09_01_preview::Models::ApplianceDefinition.mapper()
|
|
850
850
|
request_content = @client.serialize(request_mapper, parameters)
|
|
851
851
|
request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
|
|
852
852
|
|
|
@@ -878,7 +878,7 @@ module Azure::ARM::ManagedApplications
|
|
|
878
878
|
if status_code == 200
|
|
879
879
|
begin
|
|
880
880
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
|
881
|
-
result_mapper = Azure::
|
|
881
|
+
result_mapper = Azure::ManagedApplications::Mgmt::V2016_09_01_preview::Models::ApplianceDefinition.mapper()
|
|
882
882
|
result.body = @client.deserialize(result_mapper, parsed_response)
|
|
883
883
|
rescue Exception => e
|
|
884
884
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
|
@@ -888,7 +888,7 @@ module Azure::ARM::ManagedApplications
|
|
|
888
888
|
if status_code == 201
|
|
889
889
|
begin
|
|
890
890
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
|
891
|
-
result_mapper = Azure::
|
|
891
|
+
result_mapper = Azure::ManagedApplications::Mgmt::V2016_09_01_preview::Models::ApplianceDefinition.mapper()
|
|
892
892
|
result.body = @client.deserialize(result_mapper, parsed_response)
|
|
893
893
|
rescue Exception => e
|
|
894
894
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
|
@@ -975,7 +975,7 @@ module Azure::ARM::ManagedApplications
|
|
|
975
975
|
if status_code == 200
|
|
976
976
|
begin
|
|
977
977
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
|
978
|
-
result_mapper = Azure::
|
|
978
|
+
result_mapper = Azure::ManagedApplications::Mgmt::V2016_09_01_preview::Models::ApplianceDefinitionListResult.mapper()
|
|
979
979
|
result.body = @client.deserialize(result_mapper, parsed_response)
|
|
980
980
|
rescue Exception => e
|
|
981
981
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
data/lib/{generated → 2016-09-01-preview/generated}/azure_mgmt_managed_applications/appliances.rb
RENAMED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
|
4
4
|
# regenerated.
|
|
5
5
|
|
|
6
|
-
module Azure::
|
|
6
|
+
module Azure::ManagedApplications::Mgmt::V2016_09_01_preview
|
|
7
7
|
#
|
|
8
8
|
# ARM managed applications (appliances)
|
|
9
9
|
#
|
|
@@ -102,7 +102,7 @@ module Azure::ARM::ManagedApplications
|
|
|
102
102
|
if status_code == 200
|
|
103
103
|
begin
|
|
104
104
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
|
105
|
-
result_mapper = Azure::
|
|
105
|
+
result_mapper = Azure::ManagedApplications::Mgmt::V2016_09_01_preview::Models::Appliance.mapper()
|
|
106
106
|
result.body = @client.deserialize(result_mapper, parsed_response)
|
|
107
107
|
rescue Exception => e
|
|
108
108
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
|
@@ -192,7 +192,7 @@ module Azure::ARM::ManagedApplications
|
|
|
192
192
|
promise = promise.then do |response|
|
|
193
193
|
# Defining deserialization method.
|
|
194
194
|
deserialize_method = lambda do |parsed_response|
|
|
195
|
-
result_mapper = Azure::
|
|
195
|
+
result_mapper = Azure::ManagedApplications::Mgmt::V2016_09_01_preview::Models::Appliance.mapper()
|
|
196
196
|
parsed_response = @client.deserialize(result_mapper, parsed_response)
|
|
197
197
|
end
|
|
198
198
|
|
|
@@ -270,7 +270,7 @@ module Azure::ARM::ManagedApplications
|
|
|
270
270
|
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
|
271
271
|
|
|
272
272
|
# Serialize Request
|
|
273
|
-
request_mapper = Azure::
|
|
273
|
+
request_mapper = Azure::ManagedApplications::Mgmt::V2016_09_01_preview::Models::Appliance.mapper()
|
|
274
274
|
request_content = @client.serialize(request_mapper, parameters)
|
|
275
275
|
request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
|
|
276
276
|
|
|
@@ -302,7 +302,7 @@ module Azure::ARM::ManagedApplications
|
|
|
302
302
|
if status_code == 200
|
|
303
303
|
begin
|
|
304
304
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
|
305
|
-
result_mapper = Azure::
|
|
305
|
+
result_mapper = Azure::ManagedApplications::Mgmt::V2016_09_01_preview::Models::Appliance.mapper()
|
|
306
306
|
result.body = @client.deserialize(result_mapper, parsed_response)
|
|
307
307
|
rescue Exception => e
|
|
308
308
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
|
@@ -392,7 +392,7 @@ module Azure::ARM::ManagedApplications
|
|
|
392
392
|
if status_code == 200
|
|
393
393
|
begin
|
|
394
394
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
|
395
|
-
result_mapper = Azure::
|
|
395
|
+
result_mapper = Azure::ManagedApplications::Mgmt::V2016_09_01_preview::Models::ApplianceListResult.mapper()
|
|
396
396
|
result.body = @client.deserialize(result_mapper, parsed_response)
|
|
397
397
|
rescue Exception => e
|
|
398
398
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
|
@@ -475,7 +475,7 @@ module Azure::ARM::ManagedApplications
|
|
|
475
475
|
if status_code == 200
|
|
476
476
|
begin
|
|
477
477
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
|
478
|
-
result_mapper = Azure::
|
|
478
|
+
result_mapper = Azure::ManagedApplications::Mgmt::V2016_09_01_preview::Models::ApplianceListResult.mapper()
|
|
479
479
|
result.body = @client.deserialize(result_mapper, parsed_response)
|
|
480
480
|
rescue Exception => e
|
|
481
481
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
|
@@ -567,7 +567,7 @@ module Azure::ARM::ManagedApplications
|
|
|
567
567
|
if status_code == 200
|
|
568
568
|
begin
|
|
569
569
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
|
570
|
-
result_mapper = Azure::
|
|
570
|
+
result_mapper = Azure::ManagedApplications::Mgmt::V2016_09_01_preview::Models::Appliance.mapper()
|
|
571
571
|
result.body = @client.deserialize(result_mapper, parsed_response)
|
|
572
572
|
rescue Exception => e
|
|
573
573
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
|
@@ -657,7 +657,7 @@ module Azure::ARM::ManagedApplications
|
|
|
657
657
|
promise = promise.then do |response|
|
|
658
658
|
# Defining deserialization method.
|
|
659
659
|
deserialize_method = lambda do |parsed_response|
|
|
660
|
-
result_mapper = Azure::
|
|
660
|
+
result_mapper = Azure::ManagedApplications::Mgmt::V2016_09_01_preview::Models::Appliance.mapper()
|
|
661
661
|
parsed_response = @client.deserialize(result_mapper, parsed_response)
|
|
662
662
|
end
|
|
663
663
|
|
|
@@ -733,7 +733,7 @@ module Azure::ARM::ManagedApplications
|
|
|
733
733
|
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
|
734
734
|
|
|
735
735
|
# Serialize Request
|
|
736
|
-
request_mapper = Azure::
|
|
736
|
+
request_mapper = Azure::ManagedApplications::Mgmt::V2016_09_01_preview::Models::Appliance.mapper()
|
|
737
737
|
request_content = @client.serialize(request_mapper, parameters)
|
|
738
738
|
request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
|
|
739
739
|
|
|
@@ -765,7 +765,7 @@ module Azure::ARM::ManagedApplications
|
|
|
765
765
|
if status_code == 200
|
|
766
766
|
begin
|
|
767
767
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
|
768
|
-
result_mapper = Azure::
|
|
768
|
+
result_mapper = Azure::ManagedApplications::Mgmt::V2016_09_01_preview::Models::Appliance.mapper()
|
|
769
769
|
result.body = @client.deserialize(result_mapper, parsed_response)
|
|
770
770
|
rescue Exception => e
|
|
771
771
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
|
@@ -926,7 +926,7 @@ module Azure::ARM::ManagedApplications
|
|
|
926
926
|
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
|
927
927
|
|
|
928
928
|
# Serialize Request
|
|
929
|
-
request_mapper = Azure::
|
|
929
|
+
request_mapper = Azure::ManagedApplications::Mgmt::V2016_09_01_preview::Models::Appliance.mapper()
|
|
930
930
|
request_content = @client.serialize(request_mapper, parameters)
|
|
931
931
|
request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
|
|
932
932
|
|
|
@@ -958,7 +958,7 @@ module Azure::ARM::ManagedApplications
|
|
|
958
958
|
if status_code == 200
|
|
959
959
|
begin
|
|
960
960
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
|
961
|
-
result_mapper = Azure::
|
|
961
|
+
result_mapper = Azure::ManagedApplications::Mgmt::V2016_09_01_preview::Models::Appliance.mapper()
|
|
962
962
|
result.body = @client.deserialize(result_mapper, parsed_response)
|
|
963
963
|
rescue Exception => e
|
|
964
964
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
|
@@ -968,7 +968,7 @@ module Azure::ARM::ManagedApplications
|
|
|
968
968
|
if status_code == 201
|
|
969
969
|
begin
|
|
970
970
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
|
971
|
-
result_mapper = Azure::
|
|
971
|
+
result_mapper = Azure::ManagedApplications::Mgmt::V2016_09_01_preview::Models::Appliance.mapper()
|
|
972
972
|
result.body = @client.deserialize(result_mapper, parsed_response)
|
|
973
973
|
rescue Exception => e
|
|
974
974
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
|
@@ -1125,7 +1125,7 @@ module Azure::ARM::ManagedApplications
|
|
|
1125
1125
|
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
|
1126
1126
|
|
|
1127
1127
|
# Serialize Request
|
|
1128
|
-
request_mapper = Azure::
|
|
1128
|
+
request_mapper = Azure::ManagedApplications::Mgmt::V2016_09_01_preview::Models::Appliance.mapper()
|
|
1129
1129
|
request_content = @client.serialize(request_mapper, parameters)
|
|
1130
1130
|
request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
|
|
1131
1131
|
|
|
@@ -1157,7 +1157,7 @@ module Azure::ARM::ManagedApplications
|
|
|
1157
1157
|
if status_code == 200
|
|
1158
1158
|
begin
|
|
1159
1159
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
|
1160
|
-
result_mapper = Azure::
|
|
1160
|
+
result_mapper = Azure::ManagedApplications::Mgmt::V2016_09_01_preview::Models::Appliance.mapper()
|
|
1161
1161
|
result.body = @client.deserialize(result_mapper, parsed_response)
|
|
1162
1162
|
rescue Exception => e
|
|
1163
1163
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
|
@@ -1167,7 +1167,7 @@ module Azure::ARM::ManagedApplications
|
|
|
1167
1167
|
if status_code == 201
|
|
1168
1168
|
begin
|
|
1169
1169
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
|
1170
|
-
result_mapper = Azure::
|
|
1170
|
+
result_mapper = Azure::ManagedApplications::Mgmt::V2016_09_01_preview::Models::Appliance.mapper()
|
|
1171
1171
|
result.body = @client.deserialize(result_mapper, parsed_response)
|
|
1172
1172
|
rescue Exception => e
|
|
1173
1173
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
|
@@ -1254,7 +1254,7 @@ module Azure::ARM::ManagedApplications
|
|
|
1254
1254
|
if status_code == 200
|
|
1255
1255
|
begin
|
|
1256
1256
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
|
1257
|
-
result_mapper = Azure::
|
|
1257
|
+
result_mapper = Azure::ManagedApplications::Mgmt::V2016_09_01_preview::Models::ApplianceListResult.mapper()
|
|
1258
1258
|
result.body = @client.deserialize(result_mapper, parsed_response)
|
|
1259
1259
|
rescue Exception => e
|
|
1260
1260
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
|
@@ -1341,7 +1341,7 @@ module Azure::ARM::ManagedApplications
|
|
|
1341
1341
|
if status_code == 200
|
|
1342
1342
|
begin
|
|
1343
1343
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
|
1344
|
-
result_mapper = Azure::
|
|
1344
|
+
result_mapper = Azure::ManagedApplications::Mgmt::V2016_09_01_preview::Models::ApplianceListResult.mapper()
|
|
1345
1345
|
result.body = @client.deserialize(result_mapper, parsed_response)
|
|
1346
1346
|
rescue Exception => e
|
|
1347
1347
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
|
4
4
|
# regenerated.
|
|
5
5
|
|
|
6
|
-
module Azure::
|
|
6
|
+
module Azure::ManagedApplications::Mgmt::V2016_09_01_preview
|
|
7
7
|
#
|
|
8
8
|
# A service client - single point of access to the REST API.
|
|
9
9
|
#
|
|
@@ -124,8 +124,8 @@ module Azure::ARM::ManagedApplications
|
|
|
124
124
|
#
|
|
125
125
|
def add_telemetry
|
|
126
126
|
sdk_information = 'azure_mgmt_managed_applications'
|
|
127
|
-
if defined? Azure::
|
|
128
|
-
sdk_information = "#{sdk_information}/#{Azure::
|
|
127
|
+
if defined? Azure::ManagedApplications::Mgmt::V2016_09_01_preview::VERSION
|
|
128
|
+
sdk_information = "#{sdk_information}/#{Azure::ManagedApplications::Mgmt::V2016_09_01_preview::VERSION}"
|
|
129
129
|
end
|
|
130
130
|
add_user_agent_information(sdk_information)
|
|
131
131
|
end
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
|
4
4
|
# regenerated.
|
|
5
5
|
|
|
6
|
-
module Azure::
|
|
6
|
+
module Azure::ManagedApplications::Mgmt::V2016_09_01_preview
|
|
7
7
|
module Models
|
|
8
8
|
#
|
|
9
9
|
# Error reponse indicates ARM appliance is not able to process the incoming
|
|
@@ -2,6 +2,5 @@
|
|
|
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 'generated/azure_mgmt_managed_applications'
|
|
6
|
-
|
|
7
|
-
|
|
5
|
+
require '2016-09-01-preview/generated/azure_mgmt_managed_applications'
|
|
6
|
+
require 'profiles/latest/managedapplications_latest_profile_client'
|
|
@@ -0,0 +1,7 @@
|
|
|
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::ManagedApplications end
|
|
7
|
+
module Azure::ManagedApplications::Mgmt end
|
|
@@ -0,0 +1,73 @@
|
|
|
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::ARM
|
|
6
|
+
# The Azure::ARM::Configurable module provides basic configuration for Azure ARM activities.
|
|
7
|
+
module Configurable
|
|
8
|
+
# @return [String] Azure tenant id (also known as domain).
|
|
9
|
+
attr_accessor :tenant_id
|
|
10
|
+
|
|
11
|
+
# @return [String] Azure client id.
|
|
12
|
+
attr_accessor :client_id
|
|
13
|
+
|
|
14
|
+
# @return [String] Azure secret key.
|
|
15
|
+
attr_accessor :client_secret
|
|
16
|
+
|
|
17
|
+
# @return [String] Azure subscription id.
|
|
18
|
+
attr_accessor :subscription_id
|
|
19
|
+
|
|
20
|
+
# @return [MsRestAzure::ActiveDirectoryServiceSettings] Azure active directory service settings.
|
|
21
|
+
attr_accessor :active_directory_settings
|
|
22
|
+
|
|
23
|
+
# @return [MsRest::ServiceClientCredentials] credentials to authorize HTTP requests made by the service client.
|
|
24
|
+
attr_accessor :credentials
|
|
25
|
+
|
|
26
|
+
class << self
|
|
27
|
+
#
|
|
28
|
+
# List of configurable keys for {Azure::ARM::Client}.
|
|
29
|
+
# @return [Array] of option keys.
|
|
30
|
+
#
|
|
31
|
+
def keys
|
|
32
|
+
@keys ||= [:tenant_id, :client_id, :client_secret, :subscription_id, :active_directory_settings, :credentials]
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
#
|
|
37
|
+
# Set configuration options using a block.
|
|
38
|
+
#
|
|
39
|
+
def configure
|
|
40
|
+
yield self
|
|
41
|
+
end
|
|
42
|
+
|
|
43
|
+
#
|
|
44
|
+
# Resets the configurable options to provided options or defaults.
|
|
45
|
+
# This will also creates MsRest::TokenCredentials to be used for subsequent Azure Resource Manager clients.
|
|
46
|
+
#
|
|
47
|
+
def reset!(options = {})
|
|
48
|
+
Azure::ARM::Configurable.keys.each do |key|
|
|
49
|
+
default_value = Azure::ARM::Default.options[key]
|
|
50
|
+
instance_variable_set(:"@#{key}", options.fetch(key, default_value))
|
|
51
|
+
end
|
|
52
|
+
|
|
53
|
+
self
|
|
54
|
+
end
|
|
55
|
+
|
|
56
|
+
def config
|
|
57
|
+
self
|
|
58
|
+
end
|
|
59
|
+
|
|
60
|
+
private
|
|
61
|
+
|
|
62
|
+
#
|
|
63
|
+
# configures configurable options to default values
|
|
64
|
+
#
|
|
65
|
+
def setup_options
|
|
66
|
+
opts = {}
|
|
67
|
+
Azure::ARM::Configurable.keys.map do |key|
|
|
68
|
+
opts[key] = Azure::ARM::Default.options[key]
|
|
69
|
+
end
|
|
70
|
+
opts
|
|
71
|
+
end
|
|
72
|
+
end
|
|
73
|
+
end
|
|
@@ -0,0 +1,68 @@
|
|
|
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::ARM
|
|
6
|
+
# Default configuration options for {Azure::ARM.Client}
|
|
7
|
+
module Default
|
|
8
|
+
class << self
|
|
9
|
+
#
|
|
10
|
+
# Default Azure Tenant Id.
|
|
11
|
+
# @return [String] Azure Tenant Id.
|
|
12
|
+
#
|
|
13
|
+
def tenant_id
|
|
14
|
+
ENV['AZURE_TENANT_ID']
|
|
15
|
+
end
|
|
16
|
+
|
|
17
|
+
#
|
|
18
|
+
# Default Azure Client Id.
|
|
19
|
+
# @return [String] Azure Client Id.
|
|
20
|
+
#
|
|
21
|
+
def client_id
|
|
22
|
+
ENV['AZURE_CLIENT_ID']
|
|
23
|
+
end
|
|
24
|
+
|
|
25
|
+
#
|
|
26
|
+
# Default Azure Client Secret.
|
|
27
|
+
# @return [String] Azure Client Secret.
|
|
28
|
+
#
|
|
29
|
+
def client_secret
|
|
30
|
+
ENV['AZURE_CLIENT_SECRET']
|
|
31
|
+
end
|
|
32
|
+
|
|
33
|
+
#
|
|
34
|
+
# Default Azure Subscription Id.
|
|
35
|
+
# @return [String] Azure Subscription Id.
|
|
36
|
+
#
|
|
37
|
+
def subscription_id
|
|
38
|
+
ENV['AZURE_SUBSCRIPTION_ID']
|
|
39
|
+
end
|
|
40
|
+
|
|
41
|
+
#
|
|
42
|
+
# Default Azure credentials to authorize HTTP requests made by the service client.
|
|
43
|
+
# @return [MsRest::ServiceClientCredentials] Azure credentials to authorize HTTP requests made by the service client.
|
|
44
|
+
#
|
|
45
|
+
def credentials
|
|
46
|
+
MsRest::TokenCredentials.new(
|
|
47
|
+
MsRestAzure::ApplicationTokenProvider.new(
|
|
48
|
+
self.tenant_id, self.client_id, self.client_secret, self.active_directory_settings))
|
|
49
|
+
end
|
|
50
|
+
|
|
51
|
+
#
|
|
52
|
+
# Default Azure Active Directory Service Settings.
|
|
53
|
+
# @return [MsRestAzure::ActiveDirectoryServiceSettings] Azure Active Directory Service Settings.
|
|
54
|
+
#
|
|
55
|
+
def active_directory_settings
|
|
56
|
+
MsRestAzure::ActiveDirectoryServiceSettings.get_azure_settings
|
|
57
|
+
end
|
|
58
|
+
|
|
59
|
+
#
|
|
60
|
+
# Configuration options.
|
|
61
|
+
# @return [Hash] Configuration options.
|
|
62
|
+
#
|
|
63
|
+
def options
|
|
64
|
+
Hash[Azure::ARM::Configurable.keys.map{|key| [key, send(key)]}]
|
|
65
|
+
end
|
|
66
|
+
end
|
|
67
|
+
end
|
|
68
|
+
end
|
|
@@ -0,0 +1,33 @@
|
|
|
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/latest/managedapplications_module_definition'
|
|
6
|
+
require 'profiles/latest/modules/managedapplications_profile_module'
|
|
7
|
+
require 'profiles/common/configurable'
|
|
8
|
+
require 'profiles/common/default'
|
|
9
|
+
|
|
10
|
+
module Azure::ManagedApplications::Profiles::Latest::Mgmt
|
|
11
|
+
#
|
|
12
|
+
# Client class for the Latest profile SDK.
|
|
13
|
+
#
|
|
14
|
+
class Client < ManagedApplicationsClass
|
|
15
|
+
include Azure::ARM::Configurable
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
def initialize(options = {})
|
|
19
|
+
super(options)
|
|
20
|
+
end
|
|
21
|
+
|
|
22
|
+
def credentials
|
|
23
|
+
if @credentials.nil?
|
|
24
|
+
self.active_directory_settings ||= Azure::ARM::Default.active_directory_settings
|
|
25
|
+
|
|
26
|
+
@credentials = MsRest::TokenCredentials.new(
|
|
27
|
+
MsRestAzure::ApplicationTokenProvider.new(
|
|
28
|
+
self.tenant_id, self.client_id, self.client_secret, self.active_directory_settings))
|
|
29
|
+
end
|
|
30
|
+
@credentials
|
|
31
|
+
end
|
|
32
|
+
end
|
|
33
|
+
end
|
|
@@ -0,0 +1,9 @@
|
|
|
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::ManagedApplications end
|
|
7
|
+
module Azure::ManagedApplications::Profiles end
|
|
8
|
+
module Azure::ManagedApplications::Profiles::Latest end
|
|
9
|
+
module Azure::ManagedApplications::Profiles::Latest::Mgmt end
|
|
@@ -0,0 +1,116 @@
|
|
|
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_managed_applications'
|
|
6
|
+
|
|
7
|
+
module Azure::ManagedApplications::Profiles::Latest::Mgmt
|
|
8
|
+
Appliances = Azure::ManagedApplications::Mgmt::V2016_09_01_preview::Appliances
|
|
9
|
+
ApplianceDefinitions = Azure::ManagedApplications::Mgmt::V2016_09_01_preview::ApplianceDefinitions
|
|
10
|
+
|
|
11
|
+
module Models
|
|
12
|
+
Sku = Azure::ManagedApplications::Mgmt::V2016_09_01_preview::Models::Sku
|
|
13
|
+
Plan = Azure::ManagedApplications::Mgmt::V2016_09_01_preview::Models::Plan
|
|
14
|
+
Identity = Azure::ManagedApplications::Mgmt::V2016_09_01_preview::Models::Identity
|
|
15
|
+
PlanPatchable = Azure::ManagedApplications::Mgmt::V2016_09_01_preview::Models::PlanPatchable
|
|
16
|
+
ErrorResponse = Azure::ManagedApplications::Mgmt::V2016_09_01_preview::Models::ErrorResponse
|
|
17
|
+
ApplianceProviderAuthorization = Azure::ManagedApplications::Mgmt::V2016_09_01_preview::Models::ApplianceProviderAuthorization
|
|
18
|
+
ApplianceDefinitionListResult = Azure::ManagedApplications::Mgmt::V2016_09_01_preview::Models::ApplianceDefinitionListResult
|
|
19
|
+
ApplianceListResult = Azure::ManagedApplications::Mgmt::V2016_09_01_preview::Models::ApplianceListResult
|
|
20
|
+
ApplianceArtifact = Azure::ManagedApplications::Mgmt::V2016_09_01_preview::Models::ApplianceArtifact
|
|
21
|
+
Resource = Azure::ManagedApplications::Mgmt::V2016_09_01_preview::Models::Resource
|
|
22
|
+
GenericResource = Azure::ManagedApplications::Mgmt::V2016_09_01_preview::Models::GenericResource
|
|
23
|
+
Appliance = Azure::ManagedApplications::Mgmt::V2016_09_01_preview::Models::Appliance
|
|
24
|
+
AppliancePatchable = Azure::ManagedApplications::Mgmt::V2016_09_01_preview::Models::AppliancePatchable
|
|
25
|
+
ApplianceDefinition = Azure::ManagedApplications::Mgmt::V2016_09_01_preview::Models::ApplianceDefinition
|
|
26
|
+
ProvisioningState = Azure::ManagedApplications::Mgmt::V2016_09_01_preview::Models::ProvisioningState
|
|
27
|
+
ApplianceLockLevel = Azure::ManagedApplications::Mgmt::V2016_09_01_preview::Models::ApplianceLockLevel
|
|
28
|
+
ApplianceArtifactType = Azure::ManagedApplications::Mgmt::V2016_09_01_preview::Models::ApplianceArtifactType
|
|
29
|
+
ResourceIdentityType = Azure::ManagedApplications::Mgmt::V2016_09_01_preview::Models::ResourceIdentityType
|
|
30
|
+
end
|
|
31
|
+
|
|
32
|
+
#
|
|
33
|
+
# ManagedApplications
|
|
34
|
+
#
|
|
35
|
+
class ManagedApplicationsClass
|
|
36
|
+
attr_reader :appliances, :appliance_definitions, :configurable, :base_url, :options, :model_classes
|
|
37
|
+
|
|
38
|
+
def initialize(options = {})
|
|
39
|
+
if options.is_a?(Hash) && options.length == 0
|
|
40
|
+
@options = setup_options
|
|
41
|
+
else
|
|
42
|
+
@options = options
|
|
43
|
+
end
|
|
44
|
+
|
|
45
|
+
reset!(options)
|
|
46
|
+
|
|
47
|
+
@configurable, @base_url, @options = self, nil, nil
|
|
48
|
+
|
|
49
|
+
client_0 = Azure::ManagedApplications::Mgmt::V2016_09_01_preview::ManagedApplicationClient.new(configurable.credentials, base_url, options)
|
|
50
|
+
if(client_0.respond_to?(:subscription_id))
|
|
51
|
+
client_0.subscription_id = configurable.subscription_id
|
|
52
|
+
end
|
|
53
|
+
@appliances = client_0.appliances
|
|
54
|
+
@appliance_definitions = client_0.appliance_definitions
|
|
55
|
+
|
|
56
|
+
@model_classes = ModelClasses.new
|
|
57
|
+
end
|
|
58
|
+
|
|
59
|
+
class ModelClasses
|
|
60
|
+
def sku
|
|
61
|
+
Azure::ManagedApplications::Mgmt::V2016_09_01_preview::Models::Sku
|
|
62
|
+
end
|
|
63
|
+
def plan
|
|
64
|
+
Azure::ManagedApplications::Mgmt::V2016_09_01_preview::Models::Plan
|
|
65
|
+
end
|
|
66
|
+
def identity
|
|
67
|
+
Azure::ManagedApplications::Mgmt::V2016_09_01_preview::Models::Identity
|
|
68
|
+
end
|
|
69
|
+
def plan_patchable
|
|
70
|
+
Azure::ManagedApplications::Mgmt::V2016_09_01_preview::Models::PlanPatchable
|
|
71
|
+
end
|
|
72
|
+
def error_response
|
|
73
|
+
Azure::ManagedApplications::Mgmt::V2016_09_01_preview::Models::ErrorResponse
|
|
74
|
+
end
|
|
75
|
+
def appliance_provider_authorization
|
|
76
|
+
Azure::ManagedApplications::Mgmt::V2016_09_01_preview::Models::ApplianceProviderAuthorization
|
|
77
|
+
end
|
|
78
|
+
def appliance_definition_list_result
|
|
79
|
+
Azure::ManagedApplications::Mgmt::V2016_09_01_preview::Models::ApplianceDefinitionListResult
|
|
80
|
+
end
|
|
81
|
+
def appliance_list_result
|
|
82
|
+
Azure::ManagedApplications::Mgmt::V2016_09_01_preview::Models::ApplianceListResult
|
|
83
|
+
end
|
|
84
|
+
def appliance_artifact
|
|
85
|
+
Azure::ManagedApplications::Mgmt::V2016_09_01_preview::Models::ApplianceArtifact
|
|
86
|
+
end
|
|
87
|
+
def resource
|
|
88
|
+
Azure::ManagedApplications::Mgmt::V2016_09_01_preview::Models::Resource
|
|
89
|
+
end
|
|
90
|
+
def generic_resource
|
|
91
|
+
Azure::ManagedApplications::Mgmt::V2016_09_01_preview::Models::GenericResource
|
|
92
|
+
end
|
|
93
|
+
def appliance
|
|
94
|
+
Azure::ManagedApplications::Mgmt::V2016_09_01_preview::Models::Appliance
|
|
95
|
+
end
|
|
96
|
+
def appliance_patchable
|
|
97
|
+
Azure::ManagedApplications::Mgmt::V2016_09_01_preview::Models::AppliancePatchable
|
|
98
|
+
end
|
|
99
|
+
def appliance_definition
|
|
100
|
+
Azure::ManagedApplications::Mgmt::V2016_09_01_preview::Models::ApplianceDefinition
|
|
101
|
+
end
|
|
102
|
+
def provisioning_state
|
|
103
|
+
Azure::ManagedApplications::Mgmt::V2016_09_01_preview::Models::ProvisioningState
|
|
104
|
+
end
|
|
105
|
+
def appliance_lock_level
|
|
106
|
+
Azure::ManagedApplications::Mgmt::V2016_09_01_preview::Models::ApplianceLockLevel
|
|
107
|
+
end
|
|
108
|
+
def appliance_artifact_type
|
|
109
|
+
Azure::ManagedApplications::Mgmt::V2016_09_01_preview::Models::ApplianceArtifactType
|
|
110
|
+
end
|
|
111
|
+
def resource_identity_type
|
|
112
|
+
Azure::ManagedApplications::Mgmt::V2016_09_01_preview::Models::ResourceIdentityType
|
|
113
|
+
end
|
|
114
|
+
end
|
|
115
|
+
end
|
|
116
|
+
end
|
data/lib/version.rb
ADDED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: azure_mgmt_managed_applications
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.15.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-10-
|
|
11
|
+
date: 2017-10-17 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|
|
@@ -87,31 +87,38 @@ extensions: []
|
|
|
87
87
|
extra_rdoc_files: []
|
|
88
88
|
files:
|
|
89
89
|
- LICENSE.txt
|
|
90
|
+
- lib/2016-09-01-preview/generated/azure_mgmt_managed_applications.rb
|
|
91
|
+
- lib/2016-09-01-preview/generated/azure_mgmt_managed_applications/appliance_definitions.rb
|
|
92
|
+
- lib/2016-09-01-preview/generated/azure_mgmt_managed_applications/appliances.rb
|
|
93
|
+
- lib/2016-09-01-preview/generated/azure_mgmt_managed_applications/managed_application_client.rb
|
|
94
|
+
- lib/2016-09-01-preview/generated/azure_mgmt_managed_applications/models/appliance.rb
|
|
95
|
+
- lib/2016-09-01-preview/generated/azure_mgmt_managed_applications/models/appliance_artifact.rb
|
|
96
|
+
- lib/2016-09-01-preview/generated/azure_mgmt_managed_applications/models/appliance_artifact_type.rb
|
|
97
|
+
- lib/2016-09-01-preview/generated/azure_mgmt_managed_applications/models/appliance_definition.rb
|
|
98
|
+
- lib/2016-09-01-preview/generated/azure_mgmt_managed_applications/models/appliance_definition_list_result.rb
|
|
99
|
+
- lib/2016-09-01-preview/generated/azure_mgmt_managed_applications/models/appliance_list_result.rb
|
|
100
|
+
- lib/2016-09-01-preview/generated/azure_mgmt_managed_applications/models/appliance_lock_level.rb
|
|
101
|
+
- lib/2016-09-01-preview/generated/azure_mgmt_managed_applications/models/appliance_patchable.rb
|
|
102
|
+
- lib/2016-09-01-preview/generated/azure_mgmt_managed_applications/models/appliance_provider_authorization.rb
|
|
103
|
+
- lib/2016-09-01-preview/generated/azure_mgmt_managed_applications/models/error_response.rb
|
|
104
|
+
- lib/2016-09-01-preview/generated/azure_mgmt_managed_applications/models/generic_resource.rb
|
|
105
|
+
- lib/2016-09-01-preview/generated/azure_mgmt_managed_applications/models/identity.rb
|
|
106
|
+
- lib/2016-09-01-preview/generated/azure_mgmt_managed_applications/models/plan.rb
|
|
107
|
+
- lib/2016-09-01-preview/generated/azure_mgmt_managed_applications/models/plan_patchable.rb
|
|
108
|
+
- lib/2016-09-01-preview/generated/azure_mgmt_managed_applications/models/provisioning_state.rb
|
|
109
|
+
- lib/2016-09-01-preview/generated/azure_mgmt_managed_applications/models/resource.rb
|
|
110
|
+
- lib/2016-09-01-preview/generated/azure_mgmt_managed_applications/models/resource_identity_type.rb
|
|
111
|
+
- lib/2016-09-01-preview/generated/azure_mgmt_managed_applications/models/sku.rb
|
|
112
|
+
- lib/2016-09-01-preview/generated/azure_mgmt_managed_applications/module_definition.rb
|
|
113
|
+
- lib/2016-09-01-preview/generated/azure_mgmt_managed_applications/version.rb
|
|
90
114
|
- lib/azure_mgmt_managed_applications.rb
|
|
91
|
-
- lib/
|
|
92
|
-
- lib/
|
|
93
|
-
- lib/
|
|
94
|
-
- lib/
|
|
95
|
-
- lib/
|
|
96
|
-
- lib/
|
|
97
|
-
- lib/
|
|
98
|
-
- lib/generated/azure_mgmt_managed_applications/models/appliance_definition.rb
|
|
99
|
-
- lib/generated/azure_mgmt_managed_applications/models/appliance_definition_list_result.rb
|
|
100
|
-
- lib/generated/azure_mgmt_managed_applications/models/appliance_list_result.rb
|
|
101
|
-
- lib/generated/azure_mgmt_managed_applications/models/appliance_lock_level.rb
|
|
102
|
-
- lib/generated/azure_mgmt_managed_applications/models/appliance_patchable.rb
|
|
103
|
-
- lib/generated/azure_mgmt_managed_applications/models/appliance_provider_authorization.rb
|
|
104
|
-
- lib/generated/azure_mgmt_managed_applications/models/error_response.rb
|
|
105
|
-
- lib/generated/azure_mgmt_managed_applications/models/generic_resource.rb
|
|
106
|
-
- lib/generated/azure_mgmt_managed_applications/models/identity.rb
|
|
107
|
-
- lib/generated/azure_mgmt_managed_applications/models/plan.rb
|
|
108
|
-
- lib/generated/azure_mgmt_managed_applications/models/plan_patchable.rb
|
|
109
|
-
- lib/generated/azure_mgmt_managed_applications/models/provisioning_state.rb
|
|
110
|
-
- lib/generated/azure_mgmt_managed_applications/models/resource.rb
|
|
111
|
-
- lib/generated/azure_mgmt_managed_applications/models/resource_identity_type.rb
|
|
112
|
-
- lib/generated/azure_mgmt_managed_applications/models/sku.rb
|
|
113
|
-
- lib/generated/azure_mgmt_managed_applications/module_definition.rb
|
|
114
|
-
- lib/generated/azure_mgmt_managed_applications/version.rb
|
|
115
|
+
- lib/module_definition.rb
|
|
116
|
+
- lib/profiles/common/configurable.rb
|
|
117
|
+
- lib/profiles/common/default.rb
|
|
118
|
+
- lib/profiles/latest/managedapplications_latest_profile_client.rb
|
|
119
|
+
- lib/profiles/latest/managedapplications_module_definition.rb
|
|
120
|
+
- lib/profiles/latest/modules/managedapplications_profile_module.rb
|
|
121
|
+
- lib/version.rb
|
|
115
122
|
homepage: https://aka.ms/azure-sdk-for-ruby
|
|
116
123
|
licenses:
|
|
117
124
|
- MIT
|
|
@@ -1,47 +0,0 @@
|
|
|
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
|
-
require 'uri'
|
|
7
|
-
require 'cgi'
|
|
8
|
-
require 'date'
|
|
9
|
-
require 'json'
|
|
10
|
-
require 'base64'
|
|
11
|
-
require 'erb'
|
|
12
|
-
require 'securerandom'
|
|
13
|
-
require 'time'
|
|
14
|
-
require 'timeliness'
|
|
15
|
-
require 'faraday'
|
|
16
|
-
require 'faraday-cookie_jar'
|
|
17
|
-
require 'concurrent'
|
|
18
|
-
require 'ms_rest'
|
|
19
|
-
require 'generated/azure_mgmt_managed_applications/module_definition'
|
|
20
|
-
require 'ms_rest_azure'
|
|
21
|
-
|
|
22
|
-
module Azure::ARM::ManagedApplications
|
|
23
|
-
autoload :Appliances, 'generated/azure_mgmt_managed_applications/appliances.rb'
|
|
24
|
-
autoload :ApplianceDefinitions, 'generated/azure_mgmt_managed_applications/appliance_definitions.rb'
|
|
25
|
-
autoload :ManagedApplicationClient, 'generated/azure_mgmt_managed_applications/managed_application_client.rb'
|
|
26
|
-
|
|
27
|
-
module Models
|
|
28
|
-
autoload :Sku, 'generated/azure_mgmt_managed_applications/models/sku.rb'
|
|
29
|
-
autoload :Plan, 'generated/azure_mgmt_managed_applications/models/plan.rb'
|
|
30
|
-
autoload :Identity, 'generated/azure_mgmt_managed_applications/models/identity.rb'
|
|
31
|
-
autoload :PlanPatchable, 'generated/azure_mgmt_managed_applications/models/plan_patchable.rb'
|
|
32
|
-
autoload :ErrorResponse, 'generated/azure_mgmt_managed_applications/models/error_response.rb'
|
|
33
|
-
autoload :ApplianceProviderAuthorization, 'generated/azure_mgmt_managed_applications/models/appliance_provider_authorization.rb'
|
|
34
|
-
autoload :ApplianceDefinitionListResult, 'generated/azure_mgmt_managed_applications/models/appliance_definition_list_result.rb'
|
|
35
|
-
autoload :ApplianceListResult, 'generated/azure_mgmt_managed_applications/models/appliance_list_result.rb'
|
|
36
|
-
autoload :ApplianceArtifact, 'generated/azure_mgmt_managed_applications/models/appliance_artifact.rb'
|
|
37
|
-
autoload :Resource, 'generated/azure_mgmt_managed_applications/models/resource.rb'
|
|
38
|
-
autoload :GenericResource, 'generated/azure_mgmt_managed_applications/models/generic_resource.rb'
|
|
39
|
-
autoload :Appliance, 'generated/azure_mgmt_managed_applications/models/appliance.rb'
|
|
40
|
-
autoload :AppliancePatchable, 'generated/azure_mgmt_managed_applications/models/appliance_patchable.rb'
|
|
41
|
-
autoload :ApplianceDefinition, 'generated/azure_mgmt_managed_applications/models/appliance_definition.rb'
|
|
42
|
-
autoload :ProvisioningState, 'generated/azure_mgmt_managed_applications/models/provisioning_state.rb'
|
|
43
|
-
autoload :ApplianceLockLevel, 'generated/azure_mgmt_managed_applications/models/appliance_lock_level.rb'
|
|
44
|
-
autoload :ApplianceArtifactType, 'generated/azure_mgmt_managed_applications/models/appliance_artifact_type.rb'
|
|
45
|
-
autoload :ResourceIdentityType, 'generated/azure_mgmt_managed_applications/models/resource_identity_type.rb'
|
|
46
|
-
end
|
|
47
|
-
end
|