azure_mgmt_managed_applications 0.15.2 → 0.17.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (59) hide show
  1. checksums.yaml +5 -5
  2. data/lib/2016-09-01-preview/generated/azure_mgmt_managed_applications/appliance_definitions.rb +67 -63
  3. data/lib/2016-09-01-preview/generated/azure_mgmt_managed_applications/appliances.rb +94 -90
  4. data/lib/2016-09-01-preview/generated/azure_mgmt_managed_applications/managed_application_client.rb +10 -6
  5. data/lib/2016-09-01-preview/generated/azure_mgmt_managed_applications/models/appliance_definition_list_result.rb +1 -1
  6. data/lib/2016-09-01-preview/generated/azure_mgmt_managed_applications/models/appliance_list_result.rb +1 -1
  7. data/lib/2016-09-01-preview/generated/azure_mgmt_managed_applications/models/resource.rb +9 -0
  8. data/lib/2017-09-01/generated/azure_mgmt_managed_applications.rb +47 -0
  9. data/lib/2017-09-01/generated/azure_mgmt_managed_applications/application_client.rb +135 -0
  10. data/lib/2017-09-01/generated/azure_mgmt_managed_applications/application_definitions.rb +1036 -0
  11. data/lib/2017-09-01/generated/azure_mgmt_managed_applications/applications.rb +1443 -0
  12. data/lib/2017-09-01/generated/azure_mgmt_managed_applications/models/application.rb +213 -0
  13. data/lib/2017-09-01/generated/azure_mgmt_managed_applications/models/application_artifact.rb +70 -0
  14. data/lib/2017-09-01/generated/azure_mgmt_managed_applications/models/application_artifact_type.rb +16 -0
  15. data/lib/2017-09-01/generated/azure_mgmt_managed_applications/models/application_definition.rb +240 -0
  16. data/lib/2017-09-01/generated/azure_mgmt_managed_applications/models/application_definition_list_result.rb +99 -0
  17. data/lib/2017-09-01/generated/azure_mgmt_managed_applications/models/application_list_result.rb +98 -0
  18. data/lib/2017-09-01/generated/azure_mgmt_managed_applications/models/application_lock_level.rb +17 -0
  19. data/lib/2017-09-01/generated/azure_mgmt_managed_applications/models/application_patchable.rb +213 -0
  20. data/lib/2017-09-01/generated/azure_mgmt_managed_applications/models/application_provider_authorization.rb +62 -0
  21. data/lib/2017-09-01/generated/azure_mgmt_managed_applications/models/error_response.rb +69 -0
  22. data/lib/2017-09-01/generated/azure_mgmt_managed_applications/models/generic_resource.rb +121 -0
  23. data/lib/2017-09-01/generated/azure_mgmt_managed_applications/models/identity.rb +72 -0
  24. data/lib/2017-09-01/generated/azure_mgmt_managed_applications/models/plan.rb +90 -0
  25. data/lib/2017-09-01/generated/azure_mgmt_managed_applications/models/plan_patchable.rb +90 -0
  26. data/lib/2017-09-01/generated/azure_mgmt_managed_applications/models/provisioning_state.rb +25 -0
  27. data/lib/2017-09-01/generated/azure_mgmt_managed_applications/models/resource.rb +110 -0
  28. data/lib/2017-09-01/generated/azure_mgmt_managed_applications/models/resource_identity_type.rb +15 -0
  29. data/lib/2017-09-01/generated/azure_mgmt_managed_applications/models/sku.rb +101 -0
  30. data/lib/2017-09-01/generated/azure_mgmt_managed_applications/module_definition.rb +9 -0
  31. data/lib/2018-06-01/generated/azure_mgmt_managed_applications.rb +47 -0
  32. data/lib/2018-06-01/generated/azure_mgmt_managed_applications/application_client.rb +135 -0
  33. data/lib/2018-06-01/generated/azure_mgmt_managed_applications/application_definitions.rb +1036 -0
  34. data/lib/2018-06-01/generated/azure_mgmt_managed_applications/applications.rb +1443 -0
  35. data/lib/2018-06-01/generated/azure_mgmt_managed_applications/models/application.rb +202 -0
  36. data/lib/2018-06-01/generated/azure_mgmt_managed_applications/models/application_artifact.rb +70 -0
  37. data/lib/2018-06-01/generated/azure_mgmt_managed_applications/models/application_artifact_type.rb +16 -0
  38. data/lib/2018-06-01/generated/azure_mgmt_managed_applications/models/application_definition.rb +240 -0
  39. data/lib/2018-06-01/generated/azure_mgmt_managed_applications/models/application_definition_list_result.rb +99 -0
  40. data/lib/2018-06-01/generated/azure_mgmt_managed_applications/models/application_list_result.rb +98 -0
  41. data/lib/2018-06-01/generated/azure_mgmt_managed_applications/models/application_lock_level.rb +17 -0
  42. data/lib/2018-06-01/generated/azure_mgmt_managed_applications/models/application_patchable.rb +202 -0
  43. data/lib/2018-06-01/generated/azure_mgmt_managed_applications/models/application_provider_authorization.rb +62 -0
  44. data/lib/2018-06-01/generated/azure_mgmt_managed_applications/models/error_response.rb +69 -0
  45. data/lib/2018-06-01/generated/azure_mgmt_managed_applications/models/generic_resource.rb +121 -0
  46. data/lib/2018-06-01/generated/azure_mgmt_managed_applications/models/identity.rb +72 -0
  47. data/lib/2018-06-01/generated/azure_mgmt_managed_applications/models/plan.rb +90 -0
  48. data/lib/2018-06-01/generated/azure_mgmt_managed_applications/models/plan_patchable.rb +90 -0
  49. data/lib/2018-06-01/generated/azure_mgmt_managed_applications/models/provisioning_state.rb +25 -0
  50. data/lib/2018-06-01/generated/azure_mgmt_managed_applications/models/resource.rb +110 -0
  51. data/lib/2018-06-01/generated/azure_mgmt_managed_applications/models/resource_identity_type.rb +15 -0
  52. data/lib/2018-06-01/generated/azure_mgmt_managed_applications/models/sku.rb +101 -0
  53. data/lib/2018-06-01/generated/azure_mgmt_managed_applications/module_definition.rb +9 -0
  54. data/lib/azure_mgmt_managed_applications.rb +2 -0
  55. data/lib/profiles/latest/managedapplications_latest_profile_client.rb +28 -9
  56. data/lib/profiles/latest/managedapplications_module_definition.rb +0 -1
  57. data/lib/profiles/latest/modules/managedapplications_profile_module.rb +103 -84
  58. data/lib/version.rb +1 -1
  59. metadata +51 -5
@@ -0,0 +1,213 @@
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::ManagedApplications::Mgmt::V2017_09_01
7
+ module Models
8
+ #
9
+ # Information about managed application.
10
+ #
11
+ class Application < 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 managed application
19
+ # definition Id.
20
+ attr_accessor :application_definition_id
21
+
22
+ # @return Name and value pairs that define the managed application
23
+ # parameters. It can be a JObject or a well formed JSON string.
24
+ attr_accessor :parameters
25
+
26
+ # @return Name and value pairs that define the managed application
27
+ # outputs.
28
+ attr_accessor :outputs
29
+
30
+ # @return [ProvisioningState] The managed application provisioning state.
31
+ # Possible values include: 'Accepted', 'Running', 'Ready', 'Creating',
32
+ # 'Created', 'Deleting', 'Deleted', 'Canceled', 'Failed', 'Succeeded',
33
+ # 'Updating'
34
+ attr_accessor :provisioning_state
35
+
36
+ # @return [String] The blob URI where the UI definition file is located.
37
+ attr_accessor :ui_definition_uri
38
+
39
+ # @return [Plan] The plan information.
40
+ attr_accessor :plan
41
+
42
+ # @return [String] The kind of the managed application. Allowed values
43
+ # are MarketPlace and ServiceCatalog.
44
+ attr_accessor :kind
45
+
46
+
47
+ #
48
+ # Mapper for Application class as Ruby Hash.
49
+ # This will be used for serialization/deserialization.
50
+ #
51
+ def self.mapper()
52
+ {
53
+ client_side_validation: true,
54
+ required: false,
55
+ serialized_name: 'Application',
56
+ type: {
57
+ name: 'Composite',
58
+ class_name: 'Application',
59
+ model_properties: {
60
+ id: {
61
+ client_side_validation: true,
62
+ required: false,
63
+ read_only: true,
64
+ serialized_name: 'id',
65
+ type: {
66
+ name: 'String'
67
+ }
68
+ },
69
+ name: {
70
+ client_side_validation: true,
71
+ required: false,
72
+ read_only: true,
73
+ serialized_name: 'name',
74
+ type: {
75
+ name: 'String'
76
+ }
77
+ },
78
+ type: {
79
+ client_side_validation: true,
80
+ required: false,
81
+ read_only: true,
82
+ serialized_name: 'type',
83
+ type: {
84
+ name: 'String'
85
+ }
86
+ },
87
+ location: {
88
+ client_side_validation: true,
89
+ required: false,
90
+ serialized_name: 'location',
91
+ type: {
92
+ name: 'String'
93
+ }
94
+ },
95
+ tags: {
96
+ client_side_validation: true,
97
+ required: false,
98
+ serialized_name: 'tags',
99
+ type: {
100
+ name: 'Dictionary',
101
+ value: {
102
+ client_side_validation: true,
103
+ required: false,
104
+ serialized_name: 'StringElementType',
105
+ type: {
106
+ name: 'String'
107
+ }
108
+ }
109
+ }
110
+ },
111
+ managed_by: {
112
+ client_side_validation: true,
113
+ required: false,
114
+ serialized_name: 'managedBy',
115
+ type: {
116
+ name: 'String'
117
+ }
118
+ },
119
+ sku: {
120
+ client_side_validation: true,
121
+ required: false,
122
+ serialized_name: 'sku',
123
+ type: {
124
+ name: 'Composite',
125
+ class_name: 'Sku'
126
+ }
127
+ },
128
+ identity: {
129
+ client_side_validation: true,
130
+ required: false,
131
+ serialized_name: 'identity',
132
+ type: {
133
+ name: 'Composite',
134
+ class_name: 'Identity'
135
+ }
136
+ },
137
+ managed_resource_group_id: {
138
+ client_side_validation: true,
139
+ required: true,
140
+ serialized_name: 'properties.managedResourceGroupId',
141
+ type: {
142
+ name: 'String'
143
+ }
144
+ },
145
+ application_definition_id: {
146
+ client_side_validation: true,
147
+ required: false,
148
+ serialized_name: 'properties.applicationDefinitionId',
149
+ type: {
150
+ name: 'String'
151
+ }
152
+ },
153
+ parameters: {
154
+ client_side_validation: true,
155
+ required: false,
156
+ serialized_name: 'properties.parameters',
157
+ type: {
158
+ name: 'Object'
159
+ }
160
+ },
161
+ outputs: {
162
+ client_side_validation: true,
163
+ required: false,
164
+ read_only: true,
165
+ serialized_name: 'properties.outputs',
166
+ type: {
167
+ name: 'Object'
168
+ }
169
+ },
170
+ provisioning_state: {
171
+ client_side_validation: true,
172
+ required: false,
173
+ read_only: true,
174
+ serialized_name: 'properties.provisioningState',
175
+ type: {
176
+ name: 'String'
177
+ }
178
+ },
179
+ ui_definition_uri: {
180
+ client_side_validation: true,
181
+ required: false,
182
+ serialized_name: 'properties.uiDefinitionUri',
183
+ type: {
184
+ name: 'String'
185
+ }
186
+ },
187
+ plan: {
188
+ client_side_validation: true,
189
+ required: false,
190
+ serialized_name: 'plan',
191
+ type: {
192
+ name: 'Composite',
193
+ class_name: 'Plan'
194
+ }
195
+ },
196
+ kind: {
197
+ client_side_validation: true,
198
+ required: true,
199
+ serialized_name: 'kind',
200
+ constraints: {
201
+ Pattern: '^[-\w\._,\(\)]+$'
202
+ },
203
+ type: {
204
+ name: 'String'
205
+ }
206
+ }
207
+ }
208
+ }
209
+ }
210
+ end
211
+ end
212
+ end
213
+ end
@@ -0,0 +1,70 @@
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::ManagedApplications::Mgmt::V2017_09_01
7
+ module Models
8
+ #
9
+ # Managed application artifact.
10
+ #
11
+ class ApplicationArtifact
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] The managed application artifact name.
16
+ attr_accessor :name
17
+
18
+ # @return [String] The managed application artifact blob uri.
19
+ attr_accessor :uri
20
+
21
+ # @return [ApplicationArtifactType] The managed application artifact
22
+ # type. Possible values include: 'Template', 'Custom'
23
+ attr_accessor :type
24
+
25
+
26
+ #
27
+ # Mapper for ApplicationArtifact class as Ruby Hash.
28
+ # This will be used for serialization/deserialization.
29
+ #
30
+ def self.mapper()
31
+ {
32
+ client_side_validation: true,
33
+ required: false,
34
+ serialized_name: 'ApplicationArtifact',
35
+ type: {
36
+ name: 'Composite',
37
+ class_name: 'ApplicationArtifact',
38
+ model_properties: {
39
+ name: {
40
+ client_side_validation: true,
41
+ required: false,
42
+ serialized_name: 'name',
43
+ type: {
44
+ name: 'String'
45
+ }
46
+ },
47
+ uri: {
48
+ client_side_validation: true,
49
+ required: false,
50
+ serialized_name: 'uri',
51
+ type: {
52
+ name: 'String'
53
+ }
54
+ },
55
+ type: {
56
+ client_side_validation: true,
57
+ required: false,
58
+ serialized_name: 'type',
59
+ type: {
60
+ name: 'Enum',
61
+ module: 'ApplicationArtifactType'
62
+ }
63
+ }
64
+ }
65
+ }
66
+ }
67
+ end
68
+ end
69
+ end
70
+ end
@@ -0,0 +1,16 @@
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::ManagedApplications::Mgmt::V2017_09_01
7
+ module Models
8
+ #
9
+ # Defines values for ApplicationArtifactType
10
+ #
11
+ module ApplicationArtifactType
12
+ Template = "Template"
13
+ Custom = "Custom"
14
+ end
15
+ end
16
+ end
@@ -0,0 +1,240 @@
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::ManagedApplications::Mgmt::V2017_09_01
7
+ module Models
8
+ #
9
+ # Information about managed application definition.
10
+ #
11
+ class ApplicationDefinition < GenericResource
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [ApplicationLockLevel] The managed application lock level.
16
+ # Possible values include: 'CanNotDelete', 'ReadOnly', 'None'
17
+ attr_accessor :lock_level
18
+
19
+ # @return [String] The managed application definition display name.
20
+ attr_accessor :display_name
21
+
22
+ # @return [String] A value indicating whether the package is enabled or
23
+ # not.
24
+ attr_accessor :is_enabled
25
+
26
+ # @return [Array<ApplicationProviderAuthorization>] The managed
27
+ # application provider authorizations.
28
+ attr_accessor :authorizations
29
+
30
+ # @return [Array<ApplicationArtifact>] The collection of managed
31
+ # application artifacts. The portal will use the files specified as
32
+ # artifacts to construct the user experience of creating a managed
33
+ # application from a managed application definition.
34
+ attr_accessor :artifacts
35
+
36
+ # @return [String] The managed application definition description.
37
+ attr_accessor :description
38
+
39
+ # @return [String] The managed application definition package file Uri.
40
+ # Use this element
41
+ attr_accessor :package_file_uri
42
+
43
+ # @return The inline main template json which has resources to be
44
+ # provisioned. It can be a JObject or well-formed JSON string.
45
+ attr_accessor :main_template
46
+
47
+ # @return The createUiDefinition json for the backing template with
48
+ # Microsoft.Solutions/applications resource. It can be a JObject or
49
+ # well-formed JSON string.
50
+ attr_accessor :create_ui_definition
51
+
52
+
53
+ #
54
+ # Mapper for ApplicationDefinition class as Ruby Hash.
55
+ # This will be used for serialization/deserialization.
56
+ #
57
+ def self.mapper()
58
+ {
59
+ client_side_validation: true,
60
+ required: false,
61
+ serialized_name: 'ApplicationDefinition',
62
+ type: {
63
+ name: 'Composite',
64
+ class_name: 'ApplicationDefinition',
65
+ model_properties: {
66
+ id: {
67
+ client_side_validation: true,
68
+ required: false,
69
+ read_only: true,
70
+ serialized_name: 'id',
71
+ type: {
72
+ name: 'String'
73
+ }
74
+ },
75
+ name: {
76
+ client_side_validation: true,
77
+ required: false,
78
+ read_only: true,
79
+ serialized_name: 'name',
80
+ type: {
81
+ name: 'String'
82
+ }
83
+ },
84
+ type: {
85
+ client_side_validation: true,
86
+ required: false,
87
+ read_only: true,
88
+ serialized_name: 'type',
89
+ type: {
90
+ name: 'String'
91
+ }
92
+ },
93
+ location: {
94
+ client_side_validation: true,
95
+ required: false,
96
+ serialized_name: 'location',
97
+ type: {
98
+ name: 'String'
99
+ }
100
+ },
101
+ tags: {
102
+ client_side_validation: true,
103
+ required: false,
104
+ serialized_name: 'tags',
105
+ type: {
106
+ name: 'Dictionary',
107
+ value: {
108
+ client_side_validation: true,
109
+ required: false,
110
+ serialized_name: 'StringElementType',
111
+ type: {
112
+ name: 'String'
113
+ }
114
+ }
115
+ }
116
+ },
117
+ managed_by: {
118
+ client_side_validation: true,
119
+ required: false,
120
+ serialized_name: 'managedBy',
121
+ type: {
122
+ name: 'String'
123
+ }
124
+ },
125
+ sku: {
126
+ client_side_validation: true,
127
+ required: false,
128
+ serialized_name: 'sku',
129
+ type: {
130
+ name: 'Composite',
131
+ class_name: 'Sku'
132
+ }
133
+ },
134
+ identity: {
135
+ client_side_validation: true,
136
+ required: false,
137
+ serialized_name: 'identity',
138
+ type: {
139
+ name: 'Composite',
140
+ class_name: 'Identity'
141
+ }
142
+ },
143
+ lock_level: {
144
+ client_side_validation: true,
145
+ required: true,
146
+ serialized_name: 'properties.lockLevel',
147
+ type: {
148
+ name: 'Enum',
149
+ module: 'ApplicationLockLevel'
150
+ }
151
+ },
152
+ display_name: {
153
+ client_side_validation: true,
154
+ required: false,
155
+ serialized_name: 'properties.displayName',
156
+ type: {
157
+ name: 'String'
158
+ }
159
+ },
160
+ is_enabled: {
161
+ client_side_validation: true,
162
+ required: false,
163
+ serialized_name: 'properties.isEnabled',
164
+ type: {
165
+ name: 'String'
166
+ }
167
+ },
168
+ authorizations: {
169
+ client_side_validation: true,
170
+ required: true,
171
+ serialized_name: 'properties.authorizations',
172
+ type: {
173
+ name: 'Sequence',
174
+ element: {
175
+ client_side_validation: true,
176
+ required: false,
177
+ serialized_name: 'ApplicationProviderAuthorizationElementType',
178
+ type: {
179
+ name: 'Composite',
180
+ class_name: 'ApplicationProviderAuthorization'
181
+ }
182
+ }
183
+ }
184
+ },
185
+ artifacts: {
186
+ client_side_validation: true,
187
+ required: false,
188
+ serialized_name: 'properties.artifacts',
189
+ type: {
190
+ name: 'Sequence',
191
+ element: {
192
+ client_side_validation: true,
193
+ required: false,
194
+ serialized_name: 'ApplicationArtifactElementType',
195
+ type: {
196
+ name: 'Composite',
197
+ class_name: 'ApplicationArtifact'
198
+ }
199
+ }
200
+ }
201
+ },
202
+ description: {
203
+ client_side_validation: true,
204
+ required: false,
205
+ serialized_name: 'properties.description',
206
+ type: {
207
+ name: 'String'
208
+ }
209
+ },
210
+ package_file_uri: {
211
+ client_side_validation: true,
212
+ required: false,
213
+ serialized_name: 'properties.packageFileUri',
214
+ type: {
215
+ name: 'String'
216
+ }
217
+ },
218
+ main_template: {
219
+ client_side_validation: true,
220
+ required: false,
221
+ serialized_name: 'properties.mainTemplate',
222
+ type: {
223
+ name: 'Object'
224
+ }
225
+ },
226
+ create_ui_definition: {
227
+ client_side_validation: true,
228
+ required: false,
229
+ serialized_name: 'properties.createUiDefinition',
230
+ type: {
231
+ name: 'Object'
232
+ }
233
+ }
234
+ }
235
+ }
236
+ }
237
+ end
238
+ end
239
+ end
240
+ end