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::V2018_06_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::V2018_06_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::V2018_06_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,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 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 [PlanPatchable] 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 ApplicationPatchable 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: 'ApplicationPatchable',
53
+ type: {
54
+ name: 'Composite',
55
+ class_name: 'ApplicationPatchable',
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: false,
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: 'PlanPatchable'
183
+ }
184
+ },
185
+ kind: {
186
+ client_side_validation: true,
187
+ required: false,
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,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::V2018_06_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