azure_mgmt_managed_applications 0.15.2 → 0.16.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.
Files changed (33) hide show
  1. checksums.yaml +4 -4
  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 +4 -1
  5. data/lib/2017-09-01/generated/azure_mgmt_managed_applications.rb +47 -0
  6. data/lib/2017-09-01/generated/azure_mgmt_managed_applications/application_client.rb +134 -0
  7. data/lib/2017-09-01/generated/azure_mgmt_managed_applications/application_definitions.rb +1036 -0
  8. data/lib/2017-09-01/generated/azure_mgmt_managed_applications/applications.rb +1443 -0
  9. data/lib/2017-09-01/generated/azure_mgmt_managed_applications/models/application.rb +213 -0
  10. data/lib/2017-09-01/generated/azure_mgmt_managed_applications/models/application_artifact.rb +70 -0
  11. data/lib/2017-09-01/generated/azure_mgmt_managed_applications/models/application_artifact_type.rb +16 -0
  12. data/lib/2017-09-01/generated/azure_mgmt_managed_applications/models/application_definition.rb +240 -0
  13. data/lib/2017-09-01/generated/azure_mgmt_managed_applications/models/application_definition_list_result.rb +99 -0
  14. data/lib/2017-09-01/generated/azure_mgmt_managed_applications/models/application_list_result.rb +98 -0
  15. data/lib/2017-09-01/generated/azure_mgmt_managed_applications/models/application_lock_level.rb +17 -0
  16. data/lib/2017-09-01/generated/azure_mgmt_managed_applications/models/application_patchable.rb +213 -0
  17. data/lib/2017-09-01/generated/azure_mgmt_managed_applications/models/application_provider_authorization.rb +62 -0
  18. data/lib/2017-09-01/generated/azure_mgmt_managed_applications/models/error_response.rb +69 -0
  19. data/lib/2017-09-01/generated/azure_mgmt_managed_applications/models/generic_resource.rb +121 -0
  20. data/lib/2017-09-01/generated/azure_mgmt_managed_applications/models/identity.rb +72 -0
  21. data/lib/2017-09-01/generated/azure_mgmt_managed_applications/models/plan.rb +90 -0
  22. data/lib/2017-09-01/generated/azure_mgmt_managed_applications/models/plan_patchable.rb +90 -0
  23. data/lib/2017-09-01/generated/azure_mgmt_managed_applications/models/provisioning_state.rb +25 -0
  24. data/lib/2017-09-01/generated/azure_mgmt_managed_applications/models/resource.rb +101 -0
  25. data/lib/2017-09-01/generated/azure_mgmt_managed_applications/models/resource_identity_type.rb +15 -0
  26. data/lib/2017-09-01/generated/azure_mgmt_managed_applications/models/sku.rb +101 -0
  27. data/lib/2017-09-01/generated/azure_mgmt_managed_applications/module_definition.rb +9 -0
  28. data/lib/azure_mgmt_managed_applications.rb +1 -0
  29. data/lib/profiles/latest/managedapplications_latest_profile_client.rb +28 -9
  30. data/lib/profiles/latest/managedapplications_module_definition.rb +0 -1
  31. data/lib/profiles/latest/modules/managedapplications_profile_module.rb +103 -84
  32. data/lib/version.rb +1 -1
  33. metadata +26 -3
@@ -0,0 +1,69 @@
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
+ # Error reponse indicates managed application is not able to process the
10
+ # incoming request. The reason is provided in the error message.
11
+ #
12
+ class ErrorResponse
13
+
14
+ include MsRestAzure
15
+
16
+ # @return [String] Http status code.
17
+ attr_accessor :http_status
18
+
19
+ # @return [String] Error code.
20
+ attr_accessor :error_code
21
+
22
+ # @return [String] Error message indicating why the operation failed.
23
+ attr_accessor :error_message
24
+
25
+
26
+ #
27
+ # Mapper for ErrorResponse 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: 'ErrorResponse',
35
+ type: {
36
+ name: 'Composite',
37
+ class_name: 'ErrorResponse',
38
+ model_properties: {
39
+ http_status: {
40
+ client_side_validation: true,
41
+ required: false,
42
+ serialized_name: 'httpStatus',
43
+ type: {
44
+ name: 'String'
45
+ }
46
+ },
47
+ error_code: {
48
+ client_side_validation: true,
49
+ required: false,
50
+ serialized_name: 'errorCode',
51
+ type: {
52
+ name: 'String'
53
+ }
54
+ },
55
+ error_message: {
56
+ client_side_validation: true,
57
+ required: false,
58
+ serialized_name: 'errorMessage',
59
+ type: {
60
+ name: 'String'
61
+ }
62
+ }
63
+ }
64
+ }
65
+ }
66
+ end
67
+ end
68
+ end
69
+ end
@@ -0,0 +1,121 @@
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
+ # Resource information.
10
+ #
11
+ class GenericResource < Resource
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] ID of the resource that manages this resource.
16
+ attr_accessor :managed_by
17
+
18
+ # @return [Sku] The SKU of the resource.
19
+ attr_accessor :sku
20
+
21
+ # @return [Identity] The identity of the resource.
22
+ attr_accessor :identity
23
+
24
+
25
+ #
26
+ # Mapper for GenericResource class as Ruby Hash.
27
+ # This will be used for serialization/deserialization.
28
+ #
29
+ def self.mapper()
30
+ {
31
+ client_side_validation: true,
32
+ required: false,
33
+ serialized_name: 'GenericResource',
34
+ type: {
35
+ name: 'Composite',
36
+ class_name: 'GenericResource',
37
+ model_properties: {
38
+ id: {
39
+ client_side_validation: true,
40
+ required: false,
41
+ read_only: true,
42
+ serialized_name: 'id',
43
+ type: {
44
+ name: 'String'
45
+ }
46
+ },
47
+ name: {
48
+ client_side_validation: true,
49
+ required: false,
50
+ read_only: true,
51
+ serialized_name: 'name',
52
+ type: {
53
+ name: 'String'
54
+ }
55
+ },
56
+ type: {
57
+ client_side_validation: true,
58
+ required: false,
59
+ read_only: true,
60
+ serialized_name: 'type',
61
+ type: {
62
+ name: 'String'
63
+ }
64
+ },
65
+ location: {
66
+ client_side_validation: true,
67
+ required: false,
68
+ serialized_name: 'location',
69
+ type: {
70
+ name: 'String'
71
+ }
72
+ },
73
+ tags: {
74
+ client_side_validation: true,
75
+ required: false,
76
+ serialized_name: 'tags',
77
+ type: {
78
+ name: 'Dictionary',
79
+ value: {
80
+ client_side_validation: true,
81
+ required: false,
82
+ serialized_name: 'StringElementType',
83
+ type: {
84
+ name: 'String'
85
+ }
86
+ }
87
+ }
88
+ },
89
+ managed_by: {
90
+ client_side_validation: true,
91
+ required: false,
92
+ serialized_name: 'managedBy',
93
+ type: {
94
+ name: 'String'
95
+ }
96
+ },
97
+ sku: {
98
+ client_side_validation: true,
99
+ required: false,
100
+ serialized_name: 'sku',
101
+ type: {
102
+ name: 'Composite',
103
+ class_name: 'Sku'
104
+ }
105
+ },
106
+ identity: {
107
+ client_side_validation: true,
108
+ required: false,
109
+ serialized_name: 'identity',
110
+ type: {
111
+ name: 'Composite',
112
+ class_name: 'Identity'
113
+ }
114
+ }
115
+ }
116
+ }
117
+ }
118
+ end
119
+ end
120
+ end
121
+ end
@@ -0,0 +1,72 @@
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
+ # Identity for the resource.
10
+ #
11
+ class Identity
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] The principal ID of resource identity.
16
+ attr_accessor :principal_id
17
+
18
+ # @return [String] The tenant ID of resource.
19
+ attr_accessor :tenant_id
20
+
21
+ # @return [ResourceIdentityType] The identity type. Possible values
22
+ # include: 'SystemAssigned'
23
+ attr_accessor :type
24
+
25
+
26
+ #
27
+ # Mapper for Identity 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: 'Identity',
35
+ type: {
36
+ name: 'Composite',
37
+ class_name: 'Identity',
38
+ model_properties: {
39
+ principal_id: {
40
+ client_side_validation: true,
41
+ required: false,
42
+ read_only: true,
43
+ serialized_name: 'principalId',
44
+ type: {
45
+ name: 'String'
46
+ }
47
+ },
48
+ tenant_id: {
49
+ client_side_validation: true,
50
+ required: false,
51
+ read_only: true,
52
+ serialized_name: 'tenantId',
53
+ type: {
54
+ name: 'String'
55
+ }
56
+ },
57
+ type: {
58
+ client_side_validation: true,
59
+ required: false,
60
+ serialized_name: 'type',
61
+ type: {
62
+ name: 'Enum',
63
+ module: 'ResourceIdentityType'
64
+ }
65
+ }
66
+ }
67
+ }
68
+ }
69
+ end
70
+ end
71
+ end
72
+ end
@@ -0,0 +1,90 @@
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
+ # Plan for the managed application.
10
+ #
11
+ class Plan
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] The plan name.
16
+ attr_accessor :name
17
+
18
+ # @return [String] The publisher ID.
19
+ attr_accessor :publisher
20
+
21
+ # @return [String] The product code.
22
+ attr_accessor :product
23
+
24
+ # @return [String] The promotion code.
25
+ attr_accessor :promotion_code
26
+
27
+ # @return [String] The plan's version.
28
+ attr_accessor :version
29
+
30
+
31
+ #
32
+ # Mapper for Plan class as Ruby Hash.
33
+ # This will be used for serialization/deserialization.
34
+ #
35
+ def self.mapper()
36
+ {
37
+ client_side_validation: true,
38
+ required: false,
39
+ serialized_name: 'Plan',
40
+ type: {
41
+ name: 'Composite',
42
+ class_name: 'Plan',
43
+ model_properties: {
44
+ name: {
45
+ client_side_validation: true,
46
+ required: true,
47
+ serialized_name: 'name',
48
+ type: {
49
+ name: 'String'
50
+ }
51
+ },
52
+ publisher: {
53
+ client_side_validation: true,
54
+ required: true,
55
+ serialized_name: 'publisher',
56
+ type: {
57
+ name: 'String'
58
+ }
59
+ },
60
+ product: {
61
+ client_side_validation: true,
62
+ required: true,
63
+ serialized_name: 'product',
64
+ type: {
65
+ name: 'String'
66
+ }
67
+ },
68
+ promotion_code: {
69
+ client_side_validation: true,
70
+ required: false,
71
+ serialized_name: 'promotionCode',
72
+ type: {
73
+ name: 'String'
74
+ }
75
+ },
76
+ version: {
77
+ client_side_validation: true,
78
+ required: true,
79
+ serialized_name: 'version',
80
+ type: {
81
+ name: 'String'
82
+ }
83
+ }
84
+ }
85
+ }
86
+ }
87
+ end
88
+ end
89
+ end
90
+ end
@@ -0,0 +1,90 @@
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
+ # Plan for the managed application.
10
+ #
11
+ class PlanPatchable
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] The plan name.
16
+ attr_accessor :name
17
+
18
+ # @return [String] The publisher ID.
19
+ attr_accessor :publisher
20
+
21
+ # @return [String] The product code.
22
+ attr_accessor :product
23
+
24
+ # @return [String] The promotion code.
25
+ attr_accessor :promotion_code
26
+
27
+ # @return [String] The plan's version.
28
+ attr_accessor :version
29
+
30
+
31
+ #
32
+ # Mapper for PlanPatchable class as Ruby Hash.
33
+ # This will be used for serialization/deserialization.
34
+ #
35
+ def self.mapper()
36
+ {
37
+ client_side_validation: true,
38
+ required: false,
39
+ serialized_name: 'PlanPatchable',
40
+ type: {
41
+ name: 'Composite',
42
+ class_name: 'PlanPatchable',
43
+ model_properties: {
44
+ name: {
45
+ client_side_validation: true,
46
+ required: false,
47
+ serialized_name: 'name',
48
+ type: {
49
+ name: 'String'
50
+ }
51
+ },
52
+ publisher: {
53
+ client_side_validation: true,
54
+ required: false,
55
+ serialized_name: 'publisher',
56
+ type: {
57
+ name: 'String'
58
+ }
59
+ },
60
+ product: {
61
+ client_side_validation: true,
62
+ required: false,
63
+ serialized_name: 'product',
64
+ type: {
65
+ name: 'String'
66
+ }
67
+ },
68
+ promotion_code: {
69
+ client_side_validation: true,
70
+ required: false,
71
+ serialized_name: 'promotionCode',
72
+ type: {
73
+ name: 'String'
74
+ }
75
+ },
76
+ version: {
77
+ client_side_validation: true,
78
+ required: false,
79
+ serialized_name: 'version',
80
+ type: {
81
+ name: 'String'
82
+ }
83
+ }
84
+ }
85
+ }
86
+ }
87
+ end
88
+ end
89
+ end
90
+ end
@@ -0,0 +1,25 @@
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 ProvisioningState
10
+ #
11
+ module ProvisioningState
12
+ Accepted = "Accepted"
13
+ Running = "Running"
14
+ Ready = "Ready"
15
+ Creating = "Creating"
16
+ Created = "Created"
17
+ Deleting = "Deleting"
18
+ Deleted = "Deleted"
19
+ Canceled = "Canceled"
20
+ Failed = "Failed"
21
+ Succeeded = "Succeeded"
22
+ Updating = "Updating"
23
+ end
24
+ end
25
+ end