azure_mgmt_confluent 0.17.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 (32) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE.txt +21 -0
  3. data/lib/2020-03-01/generated/azure_mgmt_confluent.rb +47 -0
  4. data/lib/2020-03-01/generated/azure_mgmt_confluent/confluent_management_client.rb +139 -0
  5. data/lib/2020-03-01/generated/azure_mgmt_confluent/marketplace_agreements.rb +317 -0
  6. data/lib/2020-03-01/generated/azure_mgmt_confluent/models/confluent_agreement_resource.rb +161 -0
  7. data/lib/2020-03-01/generated/azure_mgmt_confluent/models/confluent_agreement_resource_list_response.rb +100 -0
  8. data/lib/2020-03-01/generated/azure_mgmt_confluent/models/error_response_body.rb +94 -0
  9. data/lib/2020-03-01/generated/azure_mgmt_confluent/models/offer_detail.rb +119 -0
  10. data/lib/2020-03-01/generated/azure_mgmt_confluent/models/operation_display.rb +80 -0
  11. data/lib/2020-03-01/generated/azure_mgmt_confluent/models/operation_list_result.rb +100 -0
  12. data/lib/2020-03-01/generated/azure_mgmt_confluent/models/operation_result.rb +69 -0
  13. data/lib/2020-03-01/generated/azure_mgmt_confluent/models/organization_resource.rb +176 -0
  14. data/lib/2020-03-01/generated/azure_mgmt_confluent/models/organization_resource_list_result.rb +98 -0
  15. data/lib/2020-03-01/generated/azure_mgmt_confluent/models/organization_resource_properties.rb +110 -0
  16. data/lib/2020-03-01/generated/azure_mgmt_confluent/models/organization_resource_properties_offer_detail.rb +99 -0
  17. data/lib/2020-03-01/generated/azure_mgmt_confluent/models/organization_resource_properties_user_detail.rb +68 -0
  18. data/lib/2020-03-01/generated/azure_mgmt_confluent/models/organization_resource_update.rb +54 -0
  19. data/lib/2020-03-01/generated/azure_mgmt_confluent/models/provision_state.rb +23 -0
  20. data/lib/2020-03-01/generated/azure_mgmt_confluent/models/resource_provider_default_error_response.rb +50 -0
  21. data/lib/2020-03-01/generated/azure_mgmt_confluent/models/saa_soffer_status.rb +24 -0
  22. data/lib/2020-03-01/generated/azure_mgmt_confluent/models/user_detail.rb +77 -0
  23. data/lib/2020-03-01/generated/azure_mgmt_confluent/module_definition.rb +9 -0
  24. data/lib/2020-03-01/generated/azure_mgmt_confluent/organization.rb +899 -0
  25. data/lib/2020-03-01/generated/azure_mgmt_confluent/organization_operations.rb +219 -0
  26. data/lib/azure_mgmt_confluent.rb +6 -0
  27. data/lib/module_definition.rb +7 -0
  28. data/lib/profiles/latest/confluent_latest_profile_client.rb +40 -0
  29. data/lib/profiles/latest/confluent_module_definition.rb +8 -0
  30. data/lib/profiles/latest/modules/confluent_profile_module.rb +133 -0
  31. data/lib/version.rb +7 -0
  32. metadata +147 -0
@@ -0,0 +1,80 @@
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::Confluent::Mgmt::V2020_03_01
7
+ module Models
8
+ #
9
+ # The object that represents the operation.
10
+ #
11
+ class OperationDisplay
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] Service provider: Microsoft.Confluent
16
+ attr_accessor :provider
17
+
18
+ # @return [String] Type on which the operation is performed, e.g.,
19
+ # 'clusters'.
20
+ attr_accessor :resource
21
+
22
+ # @return [String] Operation type, e.g., read, write, delete, etc.
23
+ attr_accessor :operation
24
+
25
+ # @return [String] Description of the operation, e.g., 'Write confluent'.
26
+ attr_accessor :description
27
+
28
+
29
+ #
30
+ # Mapper for OperationDisplay class as Ruby Hash.
31
+ # This will be used for serialization/deserialization.
32
+ #
33
+ def self.mapper()
34
+ {
35
+ client_side_validation: true,
36
+ required: false,
37
+ serialized_name: 'OperationDisplay',
38
+ type: {
39
+ name: 'Composite',
40
+ class_name: 'OperationDisplay',
41
+ model_properties: {
42
+ provider: {
43
+ client_side_validation: true,
44
+ required: false,
45
+ serialized_name: 'provider',
46
+ type: {
47
+ name: 'String'
48
+ }
49
+ },
50
+ resource: {
51
+ client_side_validation: true,
52
+ required: false,
53
+ serialized_name: 'resource',
54
+ type: {
55
+ name: 'String'
56
+ }
57
+ },
58
+ operation: {
59
+ client_side_validation: true,
60
+ required: false,
61
+ serialized_name: 'operation',
62
+ type: {
63
+ name: 'String'
64
+ }
65
+ },
66
+ description: {
67
+ client_side_validation: true,
68
+ required: false,
69
+ serialized_name: 'description',
70
+ type: {
71
+ name: 'String'
72
+ }
73
+ }
74
+ }
75
+ }
76
+ }
77
+ end
78
+ end
79
+ end
80
+ end
@@ -0,0 +1,100 @@
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::Confluent::Mgmt::V2020_03_01
7
+ module Models
8
+ #
9
+ # Result of GET request to list Confluent operations.
10
+ #
11
+ class OperationListResult
12
+
13
+ include MsRestAzure
14
+
15
+ include MsRest::JSONable
16
+ # @return [Array<OperationResult>] List of Confluent operations supported
17
+ # by the Microsoft.Confluent provider.
18
+ attr_accessor :value
19
+
20
+ # @return [String] URL to get the next set of operation list results if
21
+ # there are any.
22
+ attr_accessor :next_link
23
+
24
+ # return [Proc] with next page method call.
25
+ attr_accessor :next_method
26
+
27
+ #
28
+ # Gets the rest of the items for the request, enabling auto-pagination.
29
+ #
30
+ # @return [Array<OperationResult>] operation results.
31
+ #
32
+ def get_all_items
33
+ items = @value
34
+ page = self
35
+ while page.next_link != nil && !page.next_link.strip.empty? do
36
+ page = page.get_next_page
37
+ items.concat(page.value)
38
+ end
39
+ items
40
+ end
41
+
42
+ #
43
+ # Gets the next page of results.
44
+ #
45
+ # @return [OperationListResult] with next page content.
46
+ #
47
+ def get_next_page
48
+ response = @next_method.call(@next_link).value! unless @next_method.nil?
49
+ unless response.nil?
50
+ @next_link = response.body.next_link
51
+ @value = response.body.value
52
+ self
53
+ end
54
+ end
55
+
56
+ #
57
+ # Mapper for OperationListResult class as Ruby Hash.
58
+ # This will be used for serialization/deserialization.
59
+ #
60
+ def self.mapper()
61
+ {
62
+ client_side_validation: true,
63
+ required: false,
64
+ serialized_name: 'OperationListResult',
65
+ type: {
66
+ name: 'Composite',
67
+ class_name: 'OperationListResult',
68
+ model_properties: {
69
+ value: {
70
+ client_side_validation: true,
71
+ required: false,
72
+ serialized_name: 'value',
73
+ type: {
74
+ name: 'Sequence',
75
+ element: {
76
+ client_side_validation: true,
77
+ required: false,
78
+ serialized_name: 'OperationResultElementType',
79
+ type: {
80
+ name: 'Composite',
81
+ class_name: 'OperationResult'
82
+ }
83
+ }
84
+ }
85
+ },
86
+ next_link: {
87
+ client_side_validation: true,
88
+ required: false,
89
+ serialized_name: 'nextLink',
90
+ type: {
91
+ name: 'String'
92
+ }
93
+ }
94
+ }
95
+ }
96
+ }
97
+ end
98
+ end
99
+ end
100
+ end
@@ -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::Confluent::Mgmt::V2020_03_01
7
+ module Models
8
+ #
9
+ # An Confluent REST API operation.
10
+ #
11
+ class OperationResult
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] Operation name: {provider}/{resource}/{operation}
16
+ attr_accessor :name
17
+
18
+ # @return [OperationDisplay] The object that represents the operation.
19
+ attr_accessor :display
20
+
21
+ # @return [Boolean] Indicates whether the operation is a data action
22
+ attr_accessor :is_data_action
23
+
24
+
25
+ #
26
+ # Mapper for OperationResult 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: 'OperationResult',
34
+ type: {
35
+ name: 'Composite',
36
+ class_name: 'OperationResult',
37
+ model_properties: {
38
+ name: {
39
+ client_side_validation: true,
40
+ required: false,
41
+ serialized_name: 'name',
42
+ type: {
43
+ name: 'String'
44
+ }
45
+ },
46
+ display: {
47
+ client_side_validation: true,
48
+ required: false,
49
+ serialized_name: 'display',
50
+ type: {
51
+ name: 'Composite',
52
+ class_name: 'OperationDisplay'
53
+ }
54
+ },
55
+ is_data_action: {
56
+ client_side_validation: true,
57
+ required: false,
58
+ serialized_name: 'isDataAction',
59
+ type: {
60
+ name: 'Boolean'
61
+ }
62
+ }
63
+ }
64
+ }
65
+ }
66
+ end
67
+ end
68
+ end
69
+ end
@@ -0,0 +1,176 @@
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::Confluent::Mgmt::V2020_03_01
7
+ module Models
8
+ #
9
+ # Organization resource.
10
+ #
11
+ class OrganizationResource
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] The ARM id of the resource.
16
+ attr_accessor :id
17
+
18
+ # @return [String] The name of the resource.
19
+ attr_accessor :name
20
+
21
+ # @return [String] The type of the resource.
22
+ attr_accessor :type
23
+
24
+ # @return [DateTime] The creation time of the resource.
25
+ attr_accessor :created_time
26
+
27
+ # @return [ProvisionState] Provision states for confluent RP. Possible
28
+ # values include: 'Accepted', 'Creating', 'Updating', 'Deleting',
29
+ # 'Succeeded', 'Failed', 'Canceled', 'Deleted', 'NotSpecified'
30
+ attr_accessor :provisioning_state
31
+
32
+ # @return [String] Id of the Confluent organization.
33
+ attr_accessor :organization_id
34
+
35
+ # @return [String] SSO url for the Confluent organization.
36
+ attr_accessor :sso_url
37
+
38
+ # @return [OrganizationResourcePropertiesOfferDetail] Confluent offer
39
+ # detail
40
+ attr_accessor :offer_detail
41
+
42
+ # @return [OrganizationResourcePropertiesUserDetail] Subscriber detail
43
+ attr_accessor :user_detail
44
+
45
+ # @return [Hash{String => String}] Organization resource tags
46
+ attr_accessor :tags
47
+
48
+ # @return [String] Location of Organization resource
49
+ attr_accessor :location
50
+
51
+
52
+ #
53
+ # Mapper for OrganizationResource class as Ruby Hash.
54
+ # This will be used for serialization/deserialization.
55
+ #
56
+ def self.mapper()
57
+ {
58
+ client_side_validation: true,
59
+ required: false,
60
+ serialized_name: 'OrganizationResource',
61
+ type: {
62
+ name: 'Composite',
63
+ class_name: 'OrganizationResource',
64
+ model_properties: {
65
+ id: {
66
+ client_side_validation: true,
67
+ required: false,
68
+ read_only: true,
69
+ serialized_name: 'id',
70
+ type: {
71
+ name: 'String'
72
+ }
73
+ },
74
+ name: {
75
+ client_side_validation: true,
76
+ required: false,
77
+ read_only: true,
78
+ serialized_name: 'name',
79
+ type: {
80
+ name: 'String'
81
+ }
82
+ },
83
+ type: {
84
+ client_side_validation: true,
85
+ required: false,
86
+ read_only: true,
87
+ serialized_name: 'type',
88
+ type: {
89
+ name: 'String'
90
+ }
91
+ },
92
+ created_time: {
93
+ client_side_validation: true,
94
+ required: false,
95
+ read_only: true,
96
+ serialized_name: 'properties.createdTime',
97
+ type: {
98
+ name: 'DateTime'
99
+ }
100
+ },
101
+ provisioning_state: {
102
+ client_side_validation: true,
103
+ required: false,
104
+ read_only: true,
105
+ serialized_name: 'properties.provisioningState',
106
+ type: {
107
+ name: 'String'
108
+ }
109
+ },
110
+ organization_id: {
111
+ client_side_validation: true,
112
+ required: false,
113
+ read_only: true,
114
+ serialized_name: 'properties.organizationId',
115
+ type: {
116
+ name: 'String'
117
+ }
118
+ },
119
+ sso_url: {
120
+ client_side_validation: true,
121
+ required: false,
122
+ read_only: true,
123
+ serialized_name: 'properties.ssoUrl',
124
+ type: {
125
+ name: 'String'
126
+ }
127
+ },
128
+ offer_detail: {
129
+ client_side_validation: true,
130
+ required: false,
131
+ serialized_name: 'properties.offerDetail',
132
+ type: {
133
+ name: 'Composite',
134
+ class_name: 'OrganizationResourcePropertiesOfferDetail'
135
+ }
136
+ },
137
+ user_detail: {
138
+ client_side_validation: true,
139
+ required: false,
140
+ serialized_name: 'properties.userDetail',
141
+ type: {
142
+ name: 'Composite',
143
+ class_name: 'OrganizationResourcePropertiesUserDetail'
144
+ }
145
+ },
146
+ tags: {
147
+ client_side_validation: true,
148
+ required: false,
149
+ serialized_name: 'tags',
150
+ type: {
151
+ name: 'Dictionary',
152
+ value: {
153
+ client_side_validation: true,
154
+ required: false,
155
+ serialized_name: 'StringElementType',
156
+ type: {
157
+ name: 'String'
158
+ }
159
+ }
160
+ }
161
+ },
162
+ location: {
163
+ client_side_validation: true,
164
+ required: false,
165
+ serialized_name: 'location',
166
+ type: {
167
+ name: 'String'
168
+ }
169
+ }
170
+ }
171
+ }
172
+ }
173
+ end
174
+ end
175
+ end
176
+ 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::Confluent::Mgmt::V2020_03_01
7
+ module Models
8
+ #
9
+ # The response of a list operation.
10
+ #
11
+ class OrganizationResourceListResult
12
+
13
+ include MsRestAzure
14
+
15
+ include MsRest::JSONable
16
+ # @return [Array<OrganizationResource>] Result of a list operation.
17
+ attr_accessor :value
18
+
19
+ # @return [String] Link to the next set of results, if any.
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<OrganizationResource>] 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 [OrganizationResourceListResult] 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 OrganizationResourceListResult 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: 'OrganizationResourceListResult',
63
+ type: {
64
+ name: 'Composite',
65
+ class_name: 'OrganizationResourceListResult',
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: 'OrganizationResourceElementType',
77
+ type: {
78
+ name: 'Composite',
79
+ class_name: 'OrganizationResource'
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