azure_mgmt_managed_applications 0.14.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 +7 -0
- data/LICENSE.txt +21 -0
- data/lib/azure_mgmt_managed_applications.rb +7 -0
- data/lib/generated/azure_mgmt_managed_applications.rb +47 -0
- data/lib/generated/azure_mgmt_managed_applications/appliance_definitions.rb +1014 -0
- data/lib/generated/azure_mgmt_managed_applications/appliances.rb +1400 -0
- data/lib/generated/azure_mgmt_managed_applications/managed_application_client.rb +133 -0
- data/lib/generated/azure_mgmt_managed_applications/models/appliance.rb +192 -0
- data/lib/generated/azure_mgmt_managed_applications/models/appliance_artifact.rb +66 -0
- data/lib/generated/azure_mgmt_managed_applications/models/appliance_artifact_type.rb +16 -0
- data/lib/generated/azure_mgmt_managed_applications/models/appliance_definition.rb +184 -0
- data/lib/generated/azure_mgmt_managed_applications/models/appliance_definition_list_result.rb +95 -0
- data/lib/generated/azure_mgmt_managed_applications/models/appliance_list_result.rb +94 -0
- data/lib/generated/azure_mgmt_managed_applications/models/appliance_lock_level.rb +17 -0
- data/lib/generated/azure_mgmt_managed_applications/models/appliance_patchable.rb +192 -0
- data/lib/generated/azure_mgmt_managed_applications/models/appliance_provider_authorization.rb +59 -0
- data/lib/generated/azure_mgmt_managed_applications/models/error_response.rb +65 -0
- data/lib/generated/azure_mgmt_managed_applications/models/generic_resource.rb +111 -0
- data/lib/generated/azure_mgmt_managed_applications/models/identity.rb +68 -0
- data/lib/generated/azure_mgmt_managed_applications/models/plan.rb +84 -0
- data/lib/generated/azure_mgmt_managed_applications/models/plan_patchable.rb +84 -0
- data/lib/generated/azure_mgmt_managed_applications/models/provisioning_state.rb +25 -0
- data/lib/generated/azure_mgmt_managed_applications/models/resource.rb +94 -0
- data/lib/generated/azure_mgmt_managed_applications/models/resource_identity_type.rb +15 -0
- data/lib/generated/azure_mgmt_managed_applications/models/sku.rb +94 -0
- data/lib/generated/azure_mgmt_managed_applications/module_definition.rb +8 -0
- data/lib/generated/azure_mgmt_managed_applications/version.rb +8 -0
- metadata +139 -0
@@ -0,0 +1,95 @@
|
|
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
|
+
# List of appliance definitions.
|
10
|
+
#
|
11
|
+
class ApplianceDefinitionListResult
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
include MsRest::JSONable
|
16
|
+
# @return [Array<ApplianceDefinition>] The array of appliance
|
17
|
+
# definitions.
|
18
|
+
attr_accessor :value
|
19
|
+
|
20
|
+
# @return [String] The URL to use for getting the next set of results.
|
21
|
+
attr_accessor :next_link
|
22
|
+
|
23
|
+
# return [Proc] with next page method call.
|
24
|
+
attr_accessor :next_method
|
25
|
+
|
26
|
+
#
|
27
|
+
# Gets the rest of the items for the request, enabling auto-pagination.
|
28
|
+
#
|
29
|
+
# @return [Array<ApplianceDefinition>] operation results.
|
30
|
+
#
|
31
|
+
def get_all_items
|
32
|
+
items = @value
|
33
|
+
page = self
|
34
|
+
while page.next_link != nil do
|
35
|
+
page = page.get_next_page
|
36
|
+
items.concat(page.value)
|
37
|
+
end
|
38
|
+
items
|
39
|
+
end
|
40
|
+
|
41
|
+
#
|
42
|
+
# Gets the next page of results.
|
43
|
+
#
|
44
|
+
# @return [ApplianceDefinitionListResult] with next page content.
|
45
|
+
#
|
46
|
+
def get_next_page
|
47
|
+
response = @next_method.call(@next_link).value! unless @next_method.nil?
|
48
|
+
unless response.nil?
|
49
|
+
@next_link = response.body.next_link
|
50
|
+
@value = response.body.value
|
51
|
+
self
|
52
|
+
end
|
53
|
+
end
|
54
|
+
|
55
|
+
#
|
56
|
+
# Mapper for ApplianceDefinitionListResult class as Ruby Hash.
|
57
|
+
# This will be used for serialization/deserialization.
|
58
|
+
#
|
59
|
+
def self.mapper()
|
60
|
+
{
|
61
|
+
required: false,
|
62
|
+
serialized_name: 'ApplianceDefinitionListResult',
|
63
|
+
type: {
|
64
|
+
name: 'Composite',
|
65
|
+
class_name: 'ApplianceDefinitionListResult',
|
66
|
+
model_properties: {
|
67
|
+
value: {
|
68
|
+
required: false,
|
69
|
+
serialized_name: 'value',
|
70
|
+
type: {
|
71
|
+
name: 'Sequence',
|
72
|
+
element: {
|
73
|
+
required: false,
|
74
|
+
serialized_name: 'ApplianceDefinitionElementType',
|
75
|
+
type: {
|
76
|
+
name: 'Composite',
|
77
|
+
class_name: 'ApplianceDefinition'
|
78
|
+
}
|
79
|
+
}
|
80
|
+
}
|
81
|
+
},
|
82
|
+
next_link: {
|
83
|
+
required: false,
|
84
|
+
serialized_name: 'nextLink',
|
85
|
+
type: {
|
86
|
+
name: 'String'
|
87
|
+
}
|
88
|
+
}
|
89
|
+
}
|
90
|
+
}
|
91
|
+
}
|
92
|
+
end
|
93
|
+
end
|
94
|
+
end
|
95
|
+
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
|
+
# List of appliances.
|
10
|
+
#
|
11
|
+
class ApplianceListResult
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
include MsRest::JSONable
|
16
|
+
# @return [Array<Appliance>] The array of appliances.
|
17
|
+
attr_accessor :value
|
18
|
+
|
19
|
+
# @return [String] The URL to use for getting the next set of results.
|
20
|
+
attr_accessor :next_link
|
21
|
+
|
22
|
+
# return [Proc] with next page method call.
|
23
|
+
attr_accessor :next_method
|
24
|
+
|
25
|
+
#
|
26
|
+
# Gets the rest of the items for the request, enabling auto-pagination.
|
27
|
+
#
|
28
|
+
# @return [Array<Appliance>] operation results.
|
29
|
+
#
|
30
|
+
def get_all_items
|
31
|
+
items = @value
|
32
|
+
page = self
|
33
|
+
while page.next_link != nil do
|
34
|
+
page = page.get_next_page
|
35
|
+
items.concat(page.value)
|
36
|
+
end
|
37
|
+
items
|
38
|
+
end
|
39
|
+
|
40
|
+
#
|
41
|
+
# Gets the next page of results.
|
42
|
+
#
|
43
|
+
# @return [ApplianceListResult] with next page content.
|
44
|
+
#
|
45
|
+
def get_next_page
|
46
|
+
response = @next_method.call(@next_link).value! unless @next_method.nil?
|
47
|
+
unless response.nil?
|
48
|
+
@next_link = response.body.next_link
|
49
|
+
@value = response.body.value
|
50
|
+
self
|
51
|
+
end
|
52
|
+
end
|
53
|
+
|
54
|
+
#
|
55
|
+
# Mapper for ApplianceListResult class as Ruby Hash.
|
56
|
+
# This will be used for serialization/deserialization.
|
57
|
+
#
|
58
|
+
def self.mapper()
|
59
|
+
{
|
60
|
+
required: false,
|
61
|
+
serialized_name: 'ApplianceListResult',
|
62
|
+
type: {
|
63
|
+
name: 'Composite',
|
64
|
+
class_name: 'ApplianceListResult',
|
65
|
+
model_properties: {
|
66
|
+
value: {
|
67
|
+
required: false,
|
68
|
+
serialized_name: 'value',
|
69
|
+
type: {
|
70
|
+
name: 'Sequence',
|
71
|
+
element: {
|
72
|
+
required: false,
|
73
|
+
serialized_name: 'ApplianceElementType',
|
74
|
+
type: {
|
75
|
+
name: 'Composite',
|
76
|
+
class_name: 'Appliance'
|
77
|
+
}
|
78
|
+
}
|
79
|
+
}
|
80
|
+
},
|
81
|
+
next_link: {
|
82
|
+
required: false,
|
83
|
+
serialized_name: 'nextLink',
|
84
|
+
type: {
|
85
|
+
name: 'String'
|
86
|
+
}
|
87
|
+
}
|
88
|
+
}
|
89
|
+
}
|
90
|
+
}
|
91
|
+
end
|
92
|
+
end
|
93
|
+
end
|
94
|
+
end
|
@@ -0,0 +1,17 @@
|
|
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 ApplianceLockLevel
|
10
|
+
#
|
11
|
+
module ApplianceLockLevel
|
12
|
+
CanNotDelete = "CanNotDelete"
|
13
|
+
ReadOnly = "ReadOnly"
|
14
|
+
None = "None"
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
@@ -0,0 +1,192 @@
|
|
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
|
+
# Information about appliance.
|
10
|
+
#
|
11
|
+
class AppliancePatchable < GenericResource
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] The managed resource group Id.
|
16
|
+
attr_accessor :managed_resource_group_id
|
17
|
+
|
18
|
+
# @return [String] The fully qualified path of appliance definition Id.
|
19
|
+
attr_accessor :appliance_definition_id
|
20
|
+
|
21
|
+
# @return Name and value pairs that define the appliance parameters. It
|
22
|
+
# can be a JObject or a well formed JSON string.
|
23
|
+
attr_accessor :parameters
|
24
|
+
|
25
|
+
# @return Name and value pairs that define the appliance outputs.
|
26
|
+
attr_accessor :outputs
|
27
|
+
|
28
|
+
# @return [ProvisioningState] The appliance provisioning state. Possible
|
29
|
+
# values include: 'Accepted', 'Running', 'Ready', 'Creating', 'Created',
|
30
|
+
# 'Deleting', 'Deleted', 'Canceled', 'Failed', 'Succeeded', 'Updating'
|
31
|
+
attr_accessor :provisioning_state
|
32
|
+
|
33
|
+
# @return [String] The blob URI where the UI definition file is located.
|
34
|
+
attr_accessor :ui_definition_uri
|
35
|
+
|
36
|
+
# @return [PlanPatchable] The plan information.
|
37
|
+
attr_accessor :plan
|
38
|
+
|
39
|
+
# @return [String] The kind of the appliance. Allowed values are
|
40
|
+
# MarketPlace and ServiceCatalog.
|
41
|
+
attr_accessor :kind
|
42
|
+
|
43
|
+
|
44
|
+
#
|
45
|
+
# Mapper for AppliancePatchable class as Ruby Hash.
|
46
|
+
# This will be used for serialization/deserialization.
|
47
|
+
#
|
48
|
+
def self.mapper()
|
49
|
+
{
|
50
|
+
required: false,
|
51
|
+
serialized_name: 'AppliancePatchable',
|
52
|
+
type: {
|
53
|
+
name: 'Composite',
|
54
|
+
class_name: 'AppliancePatchable',
|
55
|
+
model_properties: {
|
56
|
+
id: {
|
57
|
+
required: false,
|
58
|
+
read_only: true,
|
59
|
+
serialized_name: 'id',
|
60
|
+
type: {
|
61
|
+
name: 'String'
|
62
|
+
}
|
63
|
+
},
|
64
|
+
name: {
|
65
|
+
required: false,
|
66
|
+
read_only: true,
|
67
|
+
serialized_name: 'name',
|
68
|
+
type: {
|
69
|
+
name: 'String'
|
70
|
+
}
|
71
|
+
},
|
72
|
+
type: {
|
73
|
+
required: false,
|
74
|
+
read_only: true,
|
75
|
+
serialized_name: 'type',
|
76
|
+
type: {
|
77
|
+
name: 'String'
|
78
|
+
}
|
79
|
+
},
|
80
|
+
location: {
|
81
|
+
required: false,
|
82
|
+
serialized_name: 'location',
|
83
|
+
type: {
|
84
|
+
name: 'String'
|
85
|
+
}
|
86
|
+
},
|
87
|
+
tags: {
|
88
|
+
required: false,
|
89
|
+
serialized_name: 'tags',
|
90
|
+
type: {
|
91
|
+
name: 'Dictionary',
|
92
|
+
value: {
|
93
|
+
required: false,
|
94
|
+
serialized_name: 'StringElementType',
|
95
|
+
type: {
|
96
|
+
name: 'String'
|
97
|
+
}
|
98
|
+
}
|
99
|
+
}
|
100
|
+
},
|
101
|
+
managed_by: {
|
102
|
+
required: false,
|
103
|
+
serialized_name: 'managedBy',
|
104
|
+
type: {
|
105
|
+
name: 'String'
|
106
|
+
}
|
107
|
+
},
|
108
|
+
sku: {
|
109
|
+
required: false,
|
110
|
+
serialized_name: 'sku',
|
111
|
+
type: {
|
112
|
+
name: 'Composite',
|
113
|
+
class_name: 'Sku'
|
114
|
+
}
|
115
|
+
},
|
116
|
+
identity: {
|
117
|
+
required: false,
|
118
|
+
serialized_name: 'identity',
|
119
|
+
type: {
|
120
|
+
name: 'Composite',
|
121
|
+
class_name: 'Identity'
|
122
|
+
}
|
123
|
+
},
|
124
|
+
managed_resource_group_id: {
|
125
|
+
required: false,
|
126
|
+
serialized_name: 'properties.managedResourceGroupId',
|
127
|
+
type: {
|
128
|
+
name: 'String'
|
129
|
+
}
|
130
|
+
},
|
131
|
+
appliance_definition_id: {
|
132
|
+
required: false,
|
133
|
+
serialized_name: 'properties.applianceDefinitionId',
|
134
|
+
type: {
|
135
|
+
name: 'String'
|
136
|
+
}
|
137
|
+
},
|
138
|
+
parameters: {
|
139
|
+
required: false,
|
140
|
+
serialized_name: 'properties.parameters',
|
141
|
+
type: {
|
142
|
+
name: 'Object'
|
143
|
+
}
|
144
|
+
},
|
145
|
+
outputs: {
|
146
|
+
required: false,
|
147
|
+
read_only: true,
|
148
|
+
serialized_name: 'properties.outputs',
|
149
|
+
type: {
|
150
|
+
name: 'Object'
|
151
|
+
}
|
152
|
+
},
|
153
|
+
provisioning_state: {
|
154
|
+
required: false,
|
155
|
+
read_only: true,
|
156
|
+
serialized_name: 'properties.provisioningState',
|
157
|
+
type: {
|
158
|
+
name: 'String'
|
159
|
+
}
|
160
|
+
},
|
161
|
+
ui_definition_uri: {
|
162
|
+
required: false,
|
163
|
+
serialized_name: 'properties.uiDefinitionUri',
|
164
|
+
type: {
|
165
|
+
name: 'String'
|
166
|
+
}
|
167
|
+
},
|
168
|
+
plan: {
|
169
|
+
required: false,
|
170
|
+
serialized_name: 'plan',
|
171
|
+
type: {
|
172
|
+
name: 'Composite',
|
173
|
+
class_name: 'PlanPatchable'
|
174
|
+
}
|
175
|
+
},
|
176
|
+
kind: {
|
177
|
+
required: false,
|
178
|
+
serialized_name: 'kind',
|
179
|
+
constraints: {
|
180
|
+
Pattern: '^[-\w\._,\(\)]+$'
|
181
|
+
},
|
182
|
+
type: {
|
183
|
+
name: 'String'
|
184
|
+
}
|
185
|
+
}
|
186
|
+
}
|
187
|
+
}
|
188
|
+
}
|
189
|
+
end
|
190
|
+
end
|
191
|
+
end
|
192
|
+
end
|
@@ -0,0 +1,59 @@
|
|
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
|
+
# The appliance provider authorization.
|
10
|
+
#
|
11
|
+
class ApplianceProviderAuthorization
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] The provider's principal identifier. This is the
|
16
|
+
# identity that the provider will use to call ARM to manage the appliance
|
17
|
+
# resources.
|
18
|
+
attr_accessor :principal_id
|
19
|
+
|
20
|
+
# @return [String] The provider's role definition identifier. This role
|
21
|
+
# will define all the permissions that the provider must have on the
|
22
|
+
# appliance's container resource group. This role definition cannot have
|
23
|
+
# permission to delete the resource group.
|
24
|
+
attr_accessor :role_definition_id
|
25
|
+
|
26
|
+
|
27
|
+
#
|
28
|
+
# Mapper for ApplianceProviderAuthorization class as Ruby Hash.
|
29
|
+
# This will be used for serialization/deserialization.
|
30
|
+
#
|
31
|
+
def self.mapper()
|
32
|
+
{
|
33
|
+
required: false,
|
34
|
+
serialized_name: 'ApplianceProviderAuthorization',
|
35
|
+
type: {
|
36
|
+
name: 'Composite',
|
37
|
+
class_name: 'ApplianceProviderAuthorization',
|
38
|
+
model_properties: {
|
39
|
+
principal_id: {
|
40
|
+
required: true,
|
41
|
+
serialized_name: 'principalId',
|
42
|
+
type: {
|
43
|
+
name: 'String'
|
44
|
+
}
|
45
|
+
},
|
46
|
+
role_definition_id: {
|
47
|
+
required: true,
|
48
|
+
serialized_name: 'roleDefinitionId',
|
49
|
+
type: {
|
50
|
+
name: 'String'
|
51
|
+
}
|
52
|
+
}
|
53
|
+
}
|
54
|
+
}
|
55
|
+
}
|
56
|
+
end
|
57
|
+
end
|
58
|
+
end
|
59
|
+
end
|