azure_mgmt_managed_applications 0.16.0 → 0.17.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (30) hide show
  1. checksums.yaml +4 -4
  2. data/lib/2016-09-01-preview/generated/azure_mgmt_managed_applications/managed_application_client.rb +7 -6
  3. data/lib/2017-09-01/generated/azure_mgmt_managed_applications/application_client.rb +7 -6
  4. data/lib/2018-06-01/generated/azure_mgmt_managed_applications.rb +47 -0
  5. data/lib/2018-06-01/generated/azure_mgmt_managed_applications/application_client.rb +135 -0
  6. data/lib/2018-06-01/generated/azure_mgmt_managed_applications/application_definitions.rb +1036 -0
  7. data/lib/2018-06-01/generated/azure_mgmt_managed_applications/applications.rb +1443 -0
  8. data/lib/2018-06-01/generated/azure_mgmt_managed_applications/models/application.rb +202 -0
  9. data/lib/2018-06-01/generated/azure_mgmt_managed_applications/models/application_artifact.rb +70 -0
  10. data/lib/2018-06-01/generated/azure_mgmt_managed_applications/models/application_artifact_type.rb +16 -0
  11. data/lib/2018-06-01/generated/azure_mgmt_managed_applications/models/application_definition.rb +240 -0
  12. data/lib/2018-06-01/generated/azure_mgmt_managed_applications/models/application_definition_list_result.rb +99 -0
  13. data/lib/2018-06-01/generated/azure_mgmt_managed_applications/models/application_list_result.rb +98 -0
  14. data/lib/2018-06-01/generated/azure_mgmt_managed_applications/models/application_lock_level.rb +17 -0
  15. data/lib/2018-06-01/generated/azure_mgmt_managed_applications/models/application_patchable.rb +202 -0
  16. data/lib/2018-06-01/generated/azure_mgmt_managed_applications/models/application_provider_authorization.rb +62 -0
  17. data/lib/2018-06-01/generated/azure_mgmt_managed_applications/models/error_response.rb +69 -0
  18. data/lib/2018-06-01/generated/azure_mgmt_managed_applications/models/generic_resource.rb +121 -0
  19. data/lib/2018-06-01/generated/azure_mgmt_managed_applications/models/identity.rb +72 -0
  20. data/lib/2018-06-01/generated/azure_mgmt_managed_applications/models/plan.rb +90 -0
  21. data/lib/2018-06-01/generated/azure_mgmt_managed_applications/models/plan_patchable.rb +90 -0
  22. data/lib/2018-06-01/generated/azure_mgmt_managed_applications/models/provisioning_state.rb +25 -0
  23. data/lib/2018-06-01/generated/azure_mgmt_managed_applications/models/resource.rb +101 -0
  24. data/lib/2018-06-01/generated/azure_mgmt_managed_applications/models/resource_identity_type.rb +15 -0
  25. data/lib/2018-06-01/generated/azure_mgmt_managed_applications/models/sku.rb +101 -0
  26. data/lib/2018-06-01/generated/azure_mgmt_managed_applications/module_definition.rb +9 -0
  27. data/lib/azure_mgmt_managed_applications.rb +1 -0
  28. data/lib/profiles/latest/modules/managedapplications_profile_module.rb +39 -39
  29. data/lib/version.rb +1 -1
  30. metadata +28 -5
@@ -0,0 +1,202 @@
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::V2018_06_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 [Plan] The plan information.
37
+ attr_accessor :plan
38
+
39
+ # @return [String] The kind of the managed application. Allowed values
40
+ # are MarketPlace and ServiceCatalog.
41
+ attr_accessor :kind
42
+
43
+
44
+ #
45
+ # Mapper for Application class as Ruby Hash.
46
+ # This will be used for serialization/deserialization.
47
+ #
48
+ def self.mapper()
49
+ {
50
+ client_side_validation: true,
51
+ required: false,
52
+ serialized_name: 'Application',
53
+ type: {
54
+ name: 'Composite',
55
+ class_name: 'Application',
56
+ model_properties: {
57
+ id: {
58
+ client_side_validation: true,
59
+ required: false,
60
+ read_only: true,
61
+ serialized_name: 'id',
62
+ type: {
63
+ name: 'String'
64
+ }
65
+ },
66
+ name: {
67
+ client_side_validation: true,
68
+ required: false,
69
+ read_only: true,
70
+ serialized_name: 'name',
71
+ type: {
72
+ name: 'String'
73
+ }
74
+ },
75
+ type: {
76
+ client_side_validation: true,
77
+ required: false,
78
+ read_only: true,
79
+ serialized_name: 'type',
80
+ type: {
81
+ name: 'String'
82
+ }
83
+ },
84
+ location: {
85
+ client_side_validation: true,
86
+ required: false,
87
+ serialized_name: 'location',
88
+ type: {
89
+ name: 'String'
90
+ }
91
+ },
92
+ tags: {
93
+ client_side_validation: true,
94
+ required: false,
95
+ serialized_name: 'tags',
96
+ type: {
97
+ name: 'Dictionary',
98
+ value: {
99
+ client_side_validation: true,
100
+ required: false,
101
+ serialized_name: 'StringElementType',
102
+ type: {
103
+ name: 'String'
104
+ }
105
+ }
106
+ }
107
+ },
108
+ managed_by: {
109
+ client_side_validation: true,
110
+ required: false,
111
+ serialized_name: 'managedBy',
112
+ type: {
113
+ name: 'String'
114
+ }
115
+ },
116
+ sku: {
117
+ client_side_validation: true,
118
+ required: false,
119
+ serialized_name: 'sku',
120
+ type: {
121
+ name: 'Composite',
122
+ class_name: 'Sku'
123
+ }
124
+ },
125
+ identity: {
126
+ client_side_validation: true,
127
+ required: false,
128
+ serialized_name: 'identity',
129
+ type: {
130
+ name: 'Composite',
131
+ class_name: 'Identity'
132
+ }
133
+ },
134
+ managed_resource_group_id: {
135
+ client_side_validation: true,
136
+ required: true,
137
+ serialized_name: 'properties.managedResourceGroupId',
138
+ type: {
139
+ name: 'String'
140
+ }
141
+ },
142
+ application_definition_id: {
143
+ client_side_validation: true,
144
+ required: false,
145
+ serialized_name: 'properties.applicationDefinitionId',
146
+ type: {
147
+ name: 'String'
148
+ }
149
+ },
150
+ parameters: {
151
+ client_side_validation: true,
152
+ required: false,
153
+ serialized_name: 'properties.parameters',
154
+ type: {
155
+ name: 'Object'
156
+ }
157
+ },
158
+ outputs: {
159
+ client_side_validation: true,
160
+ required: false,
161
+ read_only: true,
162
+ serialized_name: 'properties.outputs',
163
+ type: {
164
+ name: 'Object'
165
+ }
166
+ },
167
+ provisioning_state: {
168
+ client_side_validation: true,
169
+ required: false,
170
+ read_only: true,
171
+ serialized_name: 'properties.provisioningState',
172
+ type: {
173
+ name: 'String'
174
+ }
175
+ },
176
+ plan: {
177
+ client_side_validation: true,
178
+ required: false,
179
+ serialized_name: 'plan',
180
+ type: {
181
+ name: 'Composite',
182
+ class_name: 'Plan'
183
+ }
184
+ },
185
+ kind: {
186
+ client_side_validation: true,
187
+ required: true,
188
+ serialized_name: 'kind',
189
+ constraints: {
190
+ Pattern: '^[-\w\._,\(\)]+$'
191
+ },
192
+ type: {
193
+ name: 'String'
194
+ }
195
+ }
196
+ }
197
+ }
198
+ }
199
+ end
200
+ end
201
+ end
202
+ 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::V2018_06_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::V2018_06_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::V2018_06_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