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,99 @@
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
+ # List of managed application definitions.
10
+ #
11
+ class ApplicationDefinitionListResult
12
+
13
+ include MsRestAzure
14
+
15
+ include MsRest::JSONable
16
+ # @return [Array<ApplicationDefinition>] The array of managed application
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<ApplicationDefinition>] operation results.
30
+ #
31
+ def get_all_items
32
+ items = @value
33
+ page = self
34
+ while page.next_link != nil && !page.next_link.strip.empty? 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 [ApplicationDefinitionListResult] 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 ApplicationDefinitionListResult class as Ruby Hash.
57
+ # This will be used for serialization/deserialization.
58
+ #
59
+ def self.mapper()
60
+ {
61
+ client_side_validation: true,
62
+ required: false,
63
+ serialized_name: 'ApplicationDefinitionListResult',
64
+ type: {
65
+ name: 'Composite',
66
+ class_name: 'ApplicationDefinitionListResult',
67
+ model_properties: {
68
+ value: {
69
+ client_side_validation: true,
70
+ required: false,
71
+ serialized_name: 'value',
72
+ type: {
73
+ name: 'Sequence',
74
+ element: {
75
+ client_side_validation: true,
76
+ required: false,
77
+ serialized_name: 'ApplicationDefinitionElementType',
78
+ type: {
79
+ name: 'Composite',
80
+ class_name: 'ApplicationDefinition'
81
+ }
82
+ }
83
+ }
84
+ },
85
+ next_link: {
86
+ client_side_validation: true,
87
+ required: false,
88
+ serialized_name: 'nextLink',
89
+ type: {
90
+ name: 'String'
91
+ }
92
+ }
93
+ }
94
+ }
95
+ }
96
+ end
97
+ end
98
+ end
99
+ end
@@ -0,0 +1,98 @@
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
+ # List of managed applications.
10
+ #
11
+ class ApplicationListResult
12
+
13
+ include MsRestAzure
14
+
15
+ include MsRest::JSONable
16
+ # @return [Array<Application>] The array of managed applications.
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<Application>] operation results.
29
+ #
30
+ def get_all_items
31
+ items = @value
32
+ page = self
33
+ while page.next_link != nil && !page.next_link.strip.empty? 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 [ApplicationListResult] 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 ApplicationListResult class as Ruby Hash.
56
+ # This will be used for serialization/deserialization.
57
+ #
58
+ def self.mapper()
59
+ {
60
+ client_side_validation: true,
61
+ required: false,
62
+ serialized_name: 'ApplicationListResult',
63
+ type: {
64
+ name: 'Composite',
65
+ class_name: 'ApplicationListResult',
66
+ model_properties: {
67
+ value: {
68
+ client_side_validation: true,
69
+ required: false,
70
+ serialized_name: 'value',
71
+ type: {
72
+ name: 'Sequence',
73
+ element: {
74
+ client_side_validation: true,
75
+ required: false,
76
+ serialized_name: 'ApplicationElementType',
77
+ type: {
78
+ name: 'Composite',
79
+ class_name: 'Application'
80
+ }
81
+ }
82
+ }
83
+ },
84
+ next_link: {
85
+ client_side_validation: true,
86
+ required: false,
87
+ serialized_name: 'nextLink',
88
+ type: {
89
+ name: 'String'
90
+ }
91
+ }
92
+ }
93
+ }
94
+ }
95
+ end
96
+ end
97
+ end
98
+ 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::ManagedApplications::Mgmt::V2017_09_01
7
+ module Models
8
+ #
9
+ # Defines values for ApplicationLockLevel
10
+ #
11
+ module ApplicationLockLevel
12
+ CanNotDelete = "CanNotDelete"
13
+ ReadOnly = "ReadOnly"
14
+ None = "None"
15
+ end
16
+ end
17
+ end
@@ -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 ApplicationPatchable < 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 [PlanPatchable] 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 ApplicationPatchable 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: 'ApplicationPatchable',
56
+ type: {
57
+ name: 'Composite',
58
+ class_name: 'ApplicationPatchable',
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: false,
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: 'PlanPatchable'
194
+ }
195
+ },
196
+ kind: {
197
+ client_side_validation: true,
198
+ required: false,
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,62 @@
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
+ # The managed application provider authorization.
10
+ #
11
+ class ApplicationProviderAuthorization
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 managed
17
+ # application 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
+ # managed application's container resource group. This role definition
23
+ # cannot have permission to delete the resource group.
24
+ attr_accessor :role_definition_id
25
+
26
+
27
+ #
28
+ # Mapper for ApplicationProviderAuthorization class as Ruby Hash.
29
+ # This will be used for serialization/deserialization.
30
+ #
31
+ def self.mapper()
32
+ {
33
+ client_side_validation: true,
34
+ required: false,
35
+ serialized_name: 'ApplicationProviderAuthorization',
36
+ type: {
37
+ name: 'Composite',
38
+ class_name: 'ApplicationProviderAuthorization',
39
+ model_properties: {
40
+ principal_id: {
41
+ client_side_validation: true,
42
+ required: true,
43
+ serialized_name: 'principalId',
44
+ type: {
45
+ name: 'String'
46
+ }
47
+ },
48
+ role_definition_id: {
49
+ client_side_validation: true,
50
+ required: true,
51
+ serialized_name: 'roleDefinitionId',
52
+ type: {
53
+ name: 'String'
54
+ }
55
+ }
56
+ }
57
+ }
58
+ }
59
+ end
60
+ end
61
+ end
62
+ end