azure_mgmt_managed_applications 0.14.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (28) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE.txt +21 -0
  3. data/lib/azure_mgmt_managed_applications.rb +7 -0
  4. data/lib/generated/azure_mgmt_managed_applications.rb +47 -0
  5. data/lib/generated/azure_mgmt_managed_applications/appliance_definitions.rb +1014 -0
  6. data/lib/generated/azure_mgmt_managed_applications/appliances.rb +1400 -0
  7. data/lib/generated/azure_mgmt_managed_applications/managed_application_client.rb +133 -0
  8. data/lib/generated/azure_mgmt_managed_applications/models/appliance.rb +192 -0
  9. data/lib/generated/azure_mgmt_managed_applications/models/appliance_artifact.rb +66 -0
  10. data/lib/generated/azure_mgmt_managed_applications/models/appliance_artifact_type.rb +16 -0
  11. data/lib/generated/azure_mgmt_managed_applications/models/appliance_definition.rb +184 -0
  12. data/lib/generated/azure_mgmt_managed_applications/models/appliance_definition_list_result.rb +95 -0
  13. data/lib/generated/azure_mgmt_managed_applications/models/appliance_list_result.rb +94 -0
  14. data/lib/generated/azure_mgmt_managed_applications/models/appliance_lock_level.rb +17 -0
  15. data/lib/generated/azure_mgmt_managed_applications/models/appliance_patchable.rb +192 -0
  16. data/lib/generated/azure_mgmt_managed_applications/models/appliance_provider_authorization.rb +59 -0
  17. data/lib/generated/azure_mgmt_managed_applications/models/error_response.rb +65 -0
  18. data/lib/generated/azure_mgmt_managed_applications/models/generic_resource.rb +111 -0
  19. data/lib/generated/azure_mgmt_managed_applications/models/identity.rb +68 -0
  20. data/lib/generated/azure_mgmt_managed_applications/models/plan.rb +84 -0
  21. data/lib/generated/azure_mgmt_managed_applications/models/plan_patchable.rb +84 -0
  22. data/lib/generated/azure_mgmt_managed_applications/models/provisioning_state.rb +25 -0
  23. data/lib/generated/azure_mgmt_managed_applications/models/resource.rb +94 -0
  24. data/lib/generated/azure_mgmt_managed_applications/models/resource_identity_type.rb +15 -0
  25. data/lib/generated/azure_mgmt_managed_applications/models/sku.rb +94 -0
  26. data/lib/generated/azure_mgmt_managed_applications/module_definition.rb +8 -0
  27. data/lib/generated/azure_mgmt_managed_applications/version.rb +8 -0
  28. metadata +139 -0
@@ -0,0 +1,65 @@
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::ARM::ManagedApplications
7
+ module Models
8
+ #
9
+ # Error reponse indicates ARM appliance is not able to process the incoming
10
+ # request. The reason is provided in the error message.
11
+ #
12
+ class ErrorResponse
13
+
14
+ include MsRestAzure
15
+
16
+ # @return [String] Http status code.
17
+ attr_accessor :http_status
18
+
19
+ # @return [String] Error code.
20
+ attr_accessor :error_code
21
+
22
+ # @return [String] Error message indicating why the operation failed.
23
+ attr_accessor :error_message
24
+
25
+
26
+ #
27
+ # Mapper for ErrorResponse class as Ruby Hash.
28
+ # This will be used for serialization/deserialization.
29
+ #
30
+ def self.mapper()
31
+ {
32
+ required: false,
33
+ serialized_name: 'ErrorResponse',
34
+ type: {
35
+ name: 'Composite',
36
+ class_name: 'ErrorResponse',
37
+ model_properties: {
38
+ http_status: {
39
+ required: false,
40
+ serialized_name: 'httpStatus',
41
+ type: {
42
+ name: 'String'
43
+ }
44
+ },
45
+ error_code: {
46
+ required: false,
47
+ serialized_name: 'errorCode',
48
+ type: {
49
+ name: 'String'
50
+ }
51
+ },
52
+ error_message: {
53
+ required: false,
54
+ serialized_name: 'errorMessage',
55
+ type: {
56
+ name: 'String'
57
+ }
58
+ }
59
+ }
60
+ }
61
+ }
62
+ end
63
+ end
64
+ end
65
+ end
@@ -0,0 +1,111 @@
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::ARM::ManagedApplications
7
+ module Models
8
+ #
9
+ # Resource information.
10
+ #
11
+ class GenericResource < Resource
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] ID of the resource that manages this resource.
16
+ attr_accessor :managed_by
17
+
18
+ # @return [Sku] The SKU of the resource.
19
+ attr_accessor :sku
20
+
21
+ # @return [Identity] The identity of the resource.
22
+ attr_accessor :identity
23
+
24
+
25
+ #
26
+ # Mapper for GenericResource class as Ruby Hash.
27
+ # This will be used for serialization/deserialization.
28
+ #
29
+ def self.mapper()
30
+ {
31
+ required: false,
32
+ serialized_name: 'GenericResource',
33
+ type: {
34
+ name: 'Composite',
35
+ class_name: 'GenericResource',
36
+ model_properties: {
37
+ id: {
38
+ required: false,
39
+ read_only: true,
40
+ serialized_name: 'id',
41
+ type: {
42
+ name: 'String'
43
+ }
44
+ },
45
+ name: {
46
+ required: false,
47
+ read_only: true,
48
+ serialized_name: 'name',
49
+ type: {
50
+ name: 'String'
51
+ }
52
+ },
53
+ type: {
54
+ required: false,
55
+ read_only: true,
56
+ serialized_name: 'type',
57
+ type: {
58
+ name: 'String'
59
+ }
60
+ },
61
+ location: {
62
+ required: false,
63
+ serialized_name: 'location',
64
+ type: {
65
+ name: 'String'
66
+ }
67
+ },
68
+ tags: {
69
+ required: false,
70
+ serialized_name: 'tags',
71
+ type: {
72
+ name: 'Dictionary',
73
+ value: {
74
+ required: false,
75
+ serialized_name: 'StringElementType',
76
+ type: {
77
+ name: 'String'
78
+ }
79
+ }
80
+ }
81
+ },
82
+ managed_by: {
83
+ required: false,
84
+ serialized_name: 'managedBy',
85
+ type: {
86
+ name: 'String'
87
+ }
88
+ },
89
+ sku: {
90
+ required: false,
91
+ serialized_name: 'sku',
92
+ type: {
93
+ name: 'Composite',
94
+ class_name: 'Sku'
95
+ }
96
+ },
97
+ identity: {
98
+ required: false,
99
+ serialized_name: 'identity',
100
+ type: {
101
+ name: 'Composite',
102
+ class_name: 'Identity'
103
+ }
104
+ }
105
+ }
106
+ }
107
+ }
108
+ end
109
+ end
110
+ end
111
+ end
@@ -0,0 +1,68 @@
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::ARM::ManagedApplications
7
+ module Models
8
+ #
9
+ # Identity for the resource.
10
+ #
11
+ class Identity
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] The principal ID of resource identity.
16
+ attr_accessor :principal_id
17
+
18
+ # @return [String] The tenant ID of resource.
19
+ attr_accessor :tenant_id
20
+
21
+ # @return [ResourceIdentityType] The identity type. Possible values
22
+ # include: 'SystemAssigned'
23
+ attr_accessor :type
24
+
25
+
26
+ #
27
+ # Mapper for Identity class as Ruby Hash.
28
+ # This will be used for serialization/deserialization.
29
+ #
30
+ def self.mapper()
31
+ {
32
+ required: false,
33
+ serialized_name: 'Identity',
34
+ type: {
35
+ name: 'Composite',
36
+ class_name: 'Identity',
37
+ model_properties: {
38
+ principal_id: {
39
+ required: false,
40
+ read_only: true,
41
+ serialized_name: 'principalId',
42
+ type: {
43
+ name: 'String'
44
+ }
45
+ },
46
+ tenant_id: {
47
+ required: false,
48
+ read_only: true,
49
+ serialized_name: 'tenantId',
50
+ type: {
51
+ name: 'String'
52
+ }
53
+ },
54
+ type: {
55
+ required: false,
56
+ serialized_name: 'type',
57
+ type: {
58
+ name: 'Enum',
59
+ module: 'ResourceIdentityType'
60
+ }
61
+ }
62
+ }
63
+ }
64
+ }
65
+ end
66
+ end
67
+ end
68
+ end
@@ -0,0 +1,84 @@
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::ARM::ManagedApplications
7
+ module Models
8
+ #
9
+ # Plan for the appliance.
10
+ #
11
+ class Plan
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] The plan name.
16
+ attr_accessor :name
17
+
18
+ # @return [String] The publisher ID.
19
+ attr_accessor :publisher
20
+
21
+ # @return [String] The product code.
22
+ attr_accessor :product
23
+
24
+ # @return [String] The promotion code.
25
+ attr_accessor :promotion_code
26
+
27
+ # @return [String] The plan's version.
28
+ attr_accessor :version
29
+
30
+
31
+ #
32
+ # Mapper for Plan class as Ruby Hash.
33
+ # This will be used for serialization/deserialization.
34
+ #
35
+ def self.mapper()
36
+ {
37
+ required: false,
38
+ serialized_name: 'Plan',
39
+ type: {
40
+ name: 'Composite',
41
+ class_name: 'Plan',
42
+ model_properties: {
43
+ name: {
44
+ required: true,
45
+ serialized_name: 'name',
46
+ type: {
47
+ name: 'String'
48
+ }
49
+ },
50
+ publisher: {
51
+ required: true,
52
+ serialized_name: 'publisher',
53
+ type: {
54
+ name: 'String'
55
+ }
56
+ },
57
+ product: {
58
+ required: true,
59
+ serialized_name: 'product',
60
+ type: {
61
+ name: 'String'
62
+ }
63
+ },
64
+ promotion_code: {
65
+ required: false,
66
+ serialized_name: 'promotionCode',
67
+ type: {
68
+ name: 'String'
69
+ }
70
+ },
71
+ version: {
72
+ required: true,
73
+ serialized_name: 'version',
74
+ type: {
75
+ name: 'String'
76
+ }
77
+ }
78
+ }
79
+ }
80
+ }
81
+ end
82
+ end
83
+ end
84
+ end
@@ -0,0 +1,84 @@
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::ARM::ManagedApplications
7
+ module Models
8
+ #
9
+ # Plan for the appliance.
10
+ #
11
+ class PlanPatchable
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] The plan name.
16
+ attr_accessor :name
17
+
18
+ # @return [String] The publisher ID.
19
+ attr_accessor :publisher
20
+
21
+ # @return [String] The product code.
22
+ attr_accessor :product
23
+
24
+ # @return [String] The promotion code.
25
+ attr_accessor :promotion_code
26
+
27
+ # @return [String] The plan's version.
28
+ attr_accessor :version
29
+
30
+
31
+ #
32
+ # Mapper for PlanPatchable class as Ruby Hash.
33
+ # This will be used for serialization/deserialization.
34
+ #
35
+ def self.mapper()
36
+ {
37
+ required: false,
38
+ serialized_name: 'PlanPatchable',
39
+ type: {
40
+ name: 'Composite',
41
+ class_name: 'PlanPatchable',
42
+ model_properties: {
43
+ name: {
44
+ required: false,
45
+ serialized_name: 'name',
46
+ type: {
47
+ name: 'String'
48
+ }
49
+ },
50
+ publisher: {
51
+ required: false,
52
+ serialized_name: 'publisher',
53
+ type: {
54
+ name: 'String'
55
+ }
56
+ },
57
+ product: {
58
+ required: false,
59
+ serialized_name: 'product',
60
+ type: {
61
+ name: 'String'
62
+ }
63
+ },
64
+ promotion_code: {
65
+ required: false,
66
+ serialized_name: 'promotionCode',
67
+ type: {
68
+ name: 'String'
69
+ }
70
+ },
71
+ version: {
72
+ required: false,
73
+ serialized_name: 'version',
74
+ type: {
75
+ name: 'String'
76
+ }
77
+ }
78
+ }
79
+ }
80
+ }
81
+ end
82
+ end
83
+ end
84
+ end
@@ -0,0 +1,25 @@
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::ARM::ManagedApplications
7
+ module Models
8
+ #
9
+ # Defines values for ProvisioningState
10
+ #
11
+ module ProvisioningState
12
+ Accepted = "Accepted"
13
+ Running = "Running"
14
+ Ready = "Ready"
15
+ Creating = "Creating"
16
+ Created = "Created"
17
+ Deleting = "Deleting"
18
+ Deleted = "Deleted"
19
+ Canceled = "Canceled"
20
+ Failed = "Failed"
21
+ Succeeded = "Succeeded"
22
+ Updating = "Updating"
23
+ end
24
+ end
25
+ end
@@ -0,0 +1,94 @@
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::ARM::ManagedApplications
7
+ module Models
8
+ #
9
+ # Resource information.
10
+ #
11
+ class Resource
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] Resource ID
16
+ attr_accessor :id
17
+
18
+ # @return [String] Resource name
19
+ attr_accessor :name
20
+
21
+ # @return [String] Resource type
22
+ attr_accessor :type
23
+
24
+ # @return [String] Resource location
25
+ attr_accessor :location
26
+
27
+ # @return [Hash{String => String}] Resource tags
28
+ attr_accessor :tags
29
+
30
+
31
+ #
32
+ # Mapper for Resource class as Ruby Hash.
33
+ # This will be used for serialization/deserialization.
34
+ #
35
+ def self.mapper()
36
+ {
37
+ required: false,
38
+ serialized_name: 'Resource',
39
+ type: {
40
+ name: 'Composite',
41
+ class_name: 'Resource',
42
+ model_properties: {
43
+ id: {
44
+ required: false,
45
+ read_only: true,
46
+ serialized_name: 'id',
47
+ type: {
48
+ name: 'String'
49
+ }
50
+ },
51
+ name: {
52
+ required: false,
53
+ read_only: true,
54
+ serialized_name: 'name',
55
+ type: {
56
+ name: 'String'
57
+ }
58
+ },
59
+ type: {
60
+ required: false,
61
+ read_only: true,
62
+ serialized_name: 'type',
63
+ type: {
64
+ name: 'String'
65
+ }
66
+ },
67
+ location: {
68
+ required: false,
69
+ serialized_name: 'location',
70
+ type: {
71
+ name: 'String'
72
+ }
73
+ },
74
+ tags: {
75
+ required: false,
76
+ serialized_name: 'tags',
77
+ type: {
78
+ name: 'Dictionary',
79
+ value: {
80
+ required: false,
81
+ serialized_name: 'StringElementType',
82
+ type: {
83
+ name: 'String'
84
+ }
85
+ }
86
+ }
87
+ }
88
+ }
89
+ }
90
+ }
91
+ end
92
+ end
93
+ end
94
+ end