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.
- checksums.yaml +7 -0
- data/LICENSE.txt +21 -0
- data/lib/2020-03-01/generated/azure_mgmt_confluent.rb +47 -0
- data/lib/2020-03-01/generated/azure_mgmt_confluent/confluent_management_client.rb +139 -0
- data/lib/2020-03-01/generated/azure_mgmt_confluent/marketplace_agreements.rb +317 -0
- data/lib/2020-03-01/generated/azure_mgmt_confluent/models/confluent_agreement_resource.rb +161 -0
- data/lib/2020-03-01/generated/azure_mgmt_confluent/models/confluent_agreement_resource_list_response.rb +100 -0
- data/lib/2020-03-01/generated/azure_mgmt_confluent/models/error_response_body.rb +94 -0
- data/lib/2020-03-01/generated/azure_mgmt_confluent/models/offer_detail.rb +119 -0
- data/lib/2020-03-01/generated/azure_mgmt_confluent/models/operation_display.rb +80 -0
- data/lib/2020-03-01/generated/azure_mgmt_confluent/models/operation_list_result.rb +100 -0
- data/lib/2020-03-01/generated/azure_mgmt_confluent/models/operation_result.rb +69 -0
- data/lib/2020-03-01/generated/azure_mgmt_confluent/models/organization_resource.rb +176 -0
- data/lib/2020-03-01/generated/azure_mgmt_confluent/models/organization_resource_list_result.rb +98 -0
- data/lib/2020-03-01/generated/azure_mgmt_confluent/models/organization_resource_properties.rb +110 -0
- data/lib/2020-03-01/generated/azure_mgmt_confluent/models/organization_resource_properties_offer_detail.rb +99 -0
- data/lib/2020-03-01/generated/azure_mgmt_confluent/models/organization_resource_properties_user_detail.rb +68 -0
- data/lib/2020-03-01/generated/azure_mgmt_confluent/models/organization_resource_update.rb +54 -0
- data/lib/2020-03-01/generated/azure_mgmt_confluent/models/provision_state.rb +23 -0
- data/lib/2020-03-01/generated/azure_mgmt_confluent/models/resource_provider_default_error_response.rb +50 -0
- data/lib/2020-03-01/generated/azure_mgmt_confluent/models/saa_soffer_status.rb +24 -0
- data/lib/2020-03-01/generated/azure_mgmt_confluent/models/user_detail.rb +77 -0
- data/lib/2020-03-01/generated/azure_mgmt_confluent/module_definition.rb +9 -0
- data/lib/2020-03-01/generated/azure_mgmt_confluent/organization.rb +899 -0
- data/lib/2020-03-01/generated/azure_mgmt_confluent/organization_operations.rb +219 -0
- data/lib/azure_mgmt_confluent.rb +6 -0
- data/lib/module_definition.rb +7 -0
- data/lib/profiles/latest/confluent_latest_profile_client.rb +40 -0
- data/lib/profiles/latest/confluent_module_definition.rb +8 -0
- data/lib/profiles/latest/modules/confluent_profile_module.rb +133 -0
- data/lib/version.rb +7 -0
- metadata +147 -0
@@ -0,0 +1,161 @@
|
|
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
|
+
# Confluent Agreements Resource.
|
10
|
+
#
|
11
|
+
class ConfluentAgreementResource
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] ARM id of the resource.
|
16
|
+
attr_accessor :id
|
17
|
+
|
18
|
+
# @return [String] Name of the agreement.
|
19
|
+
attr_accessor :name
|
20
|
+
|
21
|
+
# @return [String] The type of the resource.
|
22
|
+
attr_accessor :type
|
23
|
+
|
24
|
+
# @return [String] Publisher identifier string.
|
25
|
+
attr_accessor :publisher
|
26
|
+
|
27
|
+
# @return [String] Product identifier string.
|
28
|
+
attr_accessor :product
|
29
|
+
|
30
|
+
# @return [String] Plan identifier string.
|
31
|
+
attr_accessor :plan
|
32
|
+
|
33
|
+
# @return [String] Link to HTML with Microsoft and Publisher terms.
|
34
|
+
attr_accessor :license_text_link
|
35
|
+
|
36
|
+
# @return [String] Link to the privacy policy of the publisher.
|
37
|
+
attr_accessor :privacy_policy_link
|
38
|
+
|
39
|
+
# @return [DateTime] Date and time in UTC of when the terms were
|
40
|
+
# accepted. This is empty if Accepted is false.
|
41
|
+
attr_accessor :retrieve_datetime
|
42
|
+
|
43
|
+
# @return [String] Terms signature.
|
44
|
+
attr_accessor :signature
|
45
|
+
|
46
|
+
# @return [Boolean] If any version of the terms have been accepted,
|
47
|
+
# otherwise false.
|
48
|
+
attr_accessor :accepted
|
49
|
+
|
50
|
+
|
51
|
+
#
|
52
|
+
# Mapper for ConfluentAgreementResource class as Ruby Hash.
|
53
|
+
# This will be used for serialization/deserialization.
|
54
|
+
#
|
55
|
+
def self.mapper()
|
56
|
+
{
|
57
|
+
client_side_validation: true,
|
58
|
+
required: false,
|
59
|
+
serialized_name: 'ConfluentAgreementResource',
|
60
|
+
type: {
|
61
|
+
name: 'Composite',
|
62
|
+
class_name: 'ConfluentAgreementResource',
|
63
|
+
model_properties: {
|
64
|
+
id: {
|
65
|
+
client_side_validation: true,
|
66
|
+
required: false,
|
67
|
+
read_only: true,
|
68
|
+
serialized_name: 'id',
|
69
|
+
type: {
|
70
|
+
name: 'String'
|
71
|
+
}
|
72
|
+
},
|
73
|
+
name: {
|
74
|
+
client_side_validation: true,
|
75
|
+
required: false,
|
76
|
+
read_only: true,
|
77
|
+
serialized_name: 'name',
|
78
|
+
type: {
|
79
|
+
name: 'String'
|
80
|
+
}
|
81
|
+
},
|
82
|
+
type: {
|
83
|
+
client_side_validation: true,
|
84
|
+
required: false,
|
85
|
+
read_only: true,
|
86
|
+
serialized_name: 'type',
|
87
|
+
type: {
|
88
|
+
name: 'String'
|
89
|
+
}
|
90
|
+
},
|
91
|
+
publisher: {
|
92
|
+
client_side_validation: true,
|
93
|
+
required: false,
|
94
|
+
serialized_name: 'properties.publisher',
|
95
|
+
type: {
|
96
|
+
name: 'String'
|
97
|
+
}
|
98
|
+
},
|
99
|
+
product: {
|
100
|
+
client_side_validation: true,
|
101
|
+
required: false,
|
102
|
+
serialized_name: 'properties.product',
|
103
|
+
type: {
|
104
|
+
name: 'String'
|
105
|
+
}
|
106
|
+
},
|
107
|
+
plan: {
|
108
|
+
client_side_validation: true,
|
109
|
+
required: false,
|
110
|
+
serialized_name: 'properties.plan',
|
111
|
+
type: {
|
112
|
+
name: 'String'
|
113
|
+
}
|
114
|
+
},
|
115
|
+
license_text_link: {
|
116
|
+
client_side_validation: true,
|
117
|
+
required: false,
|
118
|
+
serialized_name: 'properties.licenseTextLink',
|
119
|
+
type: {
|
120
|
+
name: 'String'
|
121
|
+
}
|
122
|
+
},
|
123
|
+
privacy_policy_link: {
|
124
|
+
client_side_validation: true,
|
125
|
+
required: false,
|
126
|
+
serialized_name: 'properties.privacyPolicyLink',
|
127
|
+
type: {
|
128
|
+
name: 'String'
|
129
|
+
}
|
130
|
+
},
|
131
|
+
retrieve_datetime: {
|
132
|
+
client_side_validation: true,
|
133
|
+
required: false,
|
134
|
+
serialized_name: 'properties.retrieveDatetime',
|
135
|
+
type: {
|
136
|
+
name: 'DateTime'
|
137
|
+
}
|
138
|
+
},
|
139
|
+
signature: {
|
140
|
+
client_side_validation: true,
|
141
|
+
required: false,
|
142
|
+
serialized_name: 'properties.signature',
|
143
|
+
type: {
|
144
|
+
name: 'String'
|
145
|
+
}
|
146
|
+
},
|
147
|
+
accepted: {
|
148
|
+
client_side_validation: true,
|
149
|
+
required: false,
|
150
|
+
serialized_name: 'properties.accepted',
|
151
|
+
type: {
|
152
|
+
name: 'Boolean'
|
153
|
+
}
|
154
|
+
}
|
155
|
+
}
|
156
|
+
}
|
157
|
+
}
|
158
|
+
end
|
159
|
+
end
|
160
|
+
end
|
161
|
+
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
|
+
# Response of a list operation.
|
10
|
+
#
|
11
|
+
class ConfluentAgreementResourceListResponse
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
include MsRest::JSONable
|
16
|
+
# @return [Array<ConfluentAgreementResource>] Results of a list
|
17
|
+
# operation.
|
18
|
+
attr_accessor :value
|
19
|
+
|
20
|
+
# @return [String] Link to the next set of results, if any.
|
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<ConfluentAgreementResource>] 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 [ConfluentAgreementResourceListResponse] with next page
|
45
|
+
# 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 ConfluentAgreementResourceListResponse 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: 'ConfluentAgreementResourceListResponse',
|
65
|
+
type: {
|
66
|
+
name: 'Composite',
|
67
|
+
class_name: 'ConfluentAgreementResourceListResponse',
|
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: 'ConfluentAgreementResourceElementType',
|
79
|
+
type: {
|
80
|
+
name: 'Composite',
|
81
|
+
class_name: 'ConfluentAgreementResource'
|
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,94 @@
|
|
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
|
+
# ErrorResponseBody
|
10
|
+
|
11
|
+
# Response body of Error
|
12
|
+
#
|
13
|
+
class ErrorResponseBody
|
14
|
+
|
15
|
+
include MsRestAzure
|
16
|
+
|
17
|
+
# @return [String] Error code
|
18
|
+
attr_accessor :code
|
19
|
+
|
20
|
+
# @return [String] Error message
|
21
|
+
attr_accessor :message
|
22
|
+
|
23
|
+
# @return [String] Error target
|
24
|
+
attr_accessor :target
|
25
|
+
|
26
|
+
# @return [Array<ErrorResponseBody>] Error detail
|
27
|
+
attr_accessor :details
|
28
|
+
|
29
|
+
|
30
|
+
#
|
31
|
+
# Mapper for ErrorResponseBody class as Ruby Hash.
|
32
|
+
# This will be used for serialization/deserialization.
|
33
|
+
#
|
34
|
+
def self.mapper()
|
35
|
+
{
|
36
|
+
client_side_validation: true,
|
37
|
+
required: false,
|
38
|
+
serialized_name: 'ErrorResponseBody',
|
39
|
+
type: {
|
40
|
+
name: 'Composite',
|
41
|
+
class_name: 'ErrorResponseBody',
|
42
|
+
model_properties: {
|
43
|
+
code: {
|
44
|
+
client_side_validation: true,
|
45
|
+
required: false,
|
46
|
+
read_only: true,
|
47
|
+
serialized_name: 'code',
|
48
|
+
type: {
|
49
|
+
name: 'String'
|
50
|
+
}
|
51
|
+
},
|
52
|
+
message: {
|
53
|
+
client_side_validation: true,
|
54
|
+
required: false,
|
55
|
+
read_only: true,
|
56
|
+
serialized_name: 'message',
|
57
|
+
type: {
|
58
|
+
name: 'String'
|
59
|
+
}
|
60
|
+
},
|
61
|
+
target: {
|
62
|
+
client_side_validation: true,
|
63
|
+
required: false,
|
64
|
+
read_only: true,
|
65
|
+
serialized_name: 'target',
|
66
|
+
type: {
|
67
|
+
name: 'String'
|
68
|
+
}
|
69
|
+
},
|
70
|
+
details: {
|
71
|
+
client_side_validation: true,
|
72
|
+
required: false,
|
73
|
+
read_only: true,
|
74
|
+
serialized_name: 'details',
|
75
|
+
type: {
|
76
|
+
name: 'Sequence',
|
77
|
+
element: {
|
78
|
+
client_side_validation: true,
|
79
|
+
required: false,
|
80
|
+
serialized_name: 'ErrorResponseBodyElementType',
|
81
|
+
type: {
|
82
|
+
name: 'Composite',
|
83
|
+
class_name: 'ErrorResponseBody'
|
84
|
+
}
|
85
|
+
}
|
86
|
+
}
|
87
|
+
}
|
88
|
+
}
|
89
|
+
}
|
90
|
+
}
|
91
|
+
end
|
92
|
+
end
|
93
|
+
end
|
94
|
+
end
|
@@ -0,0 +1,119 @@
|
|
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
|
+
# Confluent Offer detail
|
10
|
+
#
|
11
|
+
class OfferDetail
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] Publisher Id
|
16
|
+
attr_accessor :publisher_id
|
17
|
+
|
18
|
+
# @return [String] Offer Id
|
19
|
+
attr_accessor :id
|
20
|
+
|
21
|
+
# @return [String] Offer Plan Id
|
22
|
+
attr_accessor :plan_id
|
23
|
+
|
24
|
+
# @return [String] Offer Plan Name
|
25
|
+
attr_accessor :plan_name
|
26
|
+
|
27
|
+
# @return [String] Offer Plan Term unit
|
28
|
+
attr_accessor :term_unit
|
29
|
+
|
30
|
+
# @return [SaaSOfferStatus] SaaS Offer Status. Possible values include:
|
31
|
+
# 'Started', 'PendingFulfillmentStart', 'InProgress', 'Subscribed',
|
32
|
+
# 'Suspended', 'Reinstated', 'Succeeded', 'Failed', 'Unsubscribed',
|
33
|
+
# 'Updating'
|
34
|
+
attr_accessor :status
|
35
|
+
|
36
|
+
|
37
|
+
#
|
38
|
+
# Mapper for OfferDetail class as Ruby Hash.
|
39
|
+
# This will be used for serialization/deserialization.
|
40
|
+
#
|
41
|
+
def self.mapper()
|
42
|
+
{
|
43
|
+
client_side_validation: true,
|
44
|
+
required: false,
|
45
|
+
serialized_name: 'OfferDetail',
|
46
|
+
type: {
|
47
|
+
name: 'Composite',
|
48
|
+
class_name: 'OfferDetail',
|
49
|
+
model_properties: {
|
50
|
+
publisher_id: {
|
51
|
+
client_side_validation: true,
|
52
|
+
required: false,
|
53
|
+
serialized_name: 'publisherId',
|
54
|
+
constraints: {
|
55
|
+
MaxLength: 50
|
56
|
+
},
|
57
|
+
type: {
|
58
|
+
name: 'String'
|
59
|
+
}
|
60
|
+
},
|
61
|
+
id: {
|
62
|
+
client_side_validation: true,
|
63
|
+
required: false,
|
64
|
+
serialized_name: 'id',
|
65
|
+
constraints: {
|
66
|
+
MaxLength: 50
|
67
|
+
},
|
68
|
+
type: {
|
69
|
+
name: 'String'
|
70
|
+
}
|
71
|
+
},
|
72
|
+
plan_id: {
|
73
|
+
client_side_validation: true,
|
74
|
+
required: false,
|
75
|
+
serialized_name: 'planId',
|
76
|
+
constraints: {
|
77
|
+
MaxLength: 50
|
78
|
+
},
|
79
|
+
type: {
|
80
|
+
name: 'String'
|
81
|
+
}
|
82
|
+
},
|
83
|
+
plan_name: {
|
84
|
+
client_side_validation: true,
|
85
|
+
required: false,
|
86
|
+
serialized_name: 'planName',
|
87
|
+
constraints: {
|
88
|
+
MaxLength: 50
|
89
|
+
},
|
90
|
+
type: {
|
91
|
+
name: 'String'
|
92
|
+
}
|
93
|
+
},
|
94
|
+
term_unit: {
|
95
|
+
client_side_validation: true,
|
96
|
+
required: false,
|
97
|
+
serialized_name: 'termUnit',
|
98
|
+
constraints: {
|
99
|
+
MaxLength: 25
|
100
|
+
},
|
101
|
+
type: {
|
102
|
+
name: 'String'
|
103
|
+
}
|
104
|
+
},
|
105
|
+
status: {
|
106
|
+
client_side_validation: true,
|
107
|
+
required: false,
|
108
|
+
serialized_name: 'status',
|
109
|
+
type: {
|
110
|
+
name: 'String'
|
111
|
+
}
|
112
|
+
}
|
113
|
+
}
|
114
|
+
}
|
115
|
+
}
|
116
|
+
end
|
117
|
+
end
|
118
|
+
end
|
119
|
+
end
|