@azure/arm-confluent 3.0.0-beta.2 → 3.0.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.
- package/CHANGELOG.md +4 -4
- package/LICENSE +1 -1
- package/README.md +2 -2
- package/dist/index.js +1575 -211
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/dist-esm/samples-dev/accessInviteUserSample.d.ts +2 -0
- package/dist-esm/samples-dev/accessInviteUserSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/accessInviteUserSample.js +45 -0
- package/dist-esm/samples-dev/accessInviteUserSample.js.map +1 -0
- package/dist-esm/samples-dev/accessListClustersSample.d.ts +2 -0
- package/dist-esm/samples-dev/accessListClustersSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/accessListClustersSample.js +42 -0
- package/dist-esm/samples-dev/accessListClustersSample.js.map +1 -0
- package/dist-esm/samples-dev/accessListEnvironmentsSample.d.ts +2 -0
- package/dist-esm/samples-dev/accessListEnvironmentsSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/accessListEnvironmentsSample.js +42 -0
- package/dist-esm/samples-dev/accessListEnvironmentsSample.js.map +1 -0
- package/dist-esm/samples-dev/accessListInvitationsSample.d.ts +2 -0
- package/dist-esm/samples-dev/accessListInvitationsSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/accessListInvitationsSample.js +46 -0
- package/dist-esm/samples-dev/accessListInvitationsSample.js.map +1 -0
- package/dist-esm/samples-dev/accessListRoleBindingsSample.d.ts +2 -0
- package/dist-esm/samples-dev/accessListRoleBindingsSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/accessListRoleBindingsSample.js +42 -0
- package/dist-esm/samples-dev/accessListRoleBindingsSample.js.map +1 -0
- package/dist-esm/samples-dev/accessListServiceAccountsSample.d.ts +2 -0
- package/dist-esm/samples-dev/accessListServiceAccountsSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/accessListServiceAccountsSample.js +42 -0
- package/dist-esm/samples-dev/accessListServiceAccountsSample.js.map +1 -0
- package/dist-esm/samples-dev/accessListUsersSample.d.ts +2 -0
- package/dist-esm/samples-dev/accessListUsersSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/accessListUsersSample.js +42 -0
- package/dist-esm/samples-dev/accessListUsersSample.js.map +1 -0
- package/dist-esm/samples-dev/marketplaceAgreementsCreateSample.js +11 -3
- package/dist-esm/samples-dev/marketplaceAgreementsCreateSample.js.map +1 -1
- package/dist-esm/samples-dev/marketplaceAgreementsListSample.js +17 -7
- package/dist-esm/samples-dev/marketplaceAgreementsListSample.js.map +1 -1
- package/dist-esm/samples-dev/organizationCreateSample.js +18 -5
- package/dist-esm/samples-dev/organizationCreateSample.js.map +1 -1
- package/dist-esm/samples-dev/organizationDeleteSample.js +12 -4
- package/dist-esm/samples-dev/organizationDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/organizationGetSample.js +12 -4
- package/dist-esm/samples-dev/organizationGetSample.js.map +1 -1
- package/dist-esm/samples-dev/organizationListByResourceGroupSample.js +18 -8
- package/dist-esm/samples-dev/organizationListByResourceGroupSample.js.map +1 -1
- package/dist-esm/samples-dev/organizationListBySubscriptionSample.js +17 -7
- package/dist-esm/samples-dev/organizationListBySubscriptionSample.js.map +1 -1
- package/dist-esm/samples-dev/organizationOperationsListSample.js +16 -8
- package/dist-esm/samples-dev/organizationOperationsListSample.js.map +1 -1
- package/dist-esm/samples-dev/organizationUpdateSample.js +12 -4
- package/dist-esm/samples-dev/organizationUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/validationsValidateOrganizationSample.js +17 -5
- package/dist-esm/samples-dev/validationsValidateOrganizationSample.js.map +1 -1
- package/dist-esm/samples-dev/validationsValidateOrganizationV2Sample.d.ts +2 -0
- package/dist-esm/samples-dev/validationsValidateOrganizationV2Sample.d.ts.map +1 -0
- package/dist-esm/samples-dev/validationsValidateOrganizationV2Sample.js +59 -0
- package/dist-esm/samples-dev/validationsValidateOrganizationV2Sample.js.map +1 -0
- package/dist-esm/src/confluentManagementClient.d.ts +7 -3
- package/dist-esm/src/confluentManagementClient.d.ts.map +1 -1
- package/dist-esm/src/confluentManagementClient.js +64 -17
- package/dist-esm/src/confluentManagementClient.js.map +1 -1
- package/dist-esm/src/index.d.ts +1 -0
- package/dist-esm/src/index.d.ts.map +1 -1
- package/dist-esm/src/index.js +1 -0
- package/dist-esm/src/index.js.map +1 -1
- package/dist-esm/src/lroImpl.d.ts +6 -11
- package/dist-esm/src/lroImpl.d.ts.map +1 -1
- package/dist-esm/src/lroImpl.js +12 -20
- package/dist-esm/src/lroImpl.js.map +1 -1
- package/dist-esm/src/models/index.d.ts +368 -21
- package/dist-esm/src/models/index.d.ts.map +1 -1
- package/dist-esm/src/models/index.js +23 -0
- package/dist-esm/src/models/index.js.map +1 -1
- package/dist-esm/src/models/mappers.d.ts +25 -0
- package/dist-esm/src/models/mappers.d.ts.map +1 -1
- package/dist-esm/src/models/mappers.js +896 -3
- package/dist-esm/src/models/mappers.js.map +1 -1
- package/dist-esm/src/models/parameters.d.ts +2 -0
- package/dist-esm/src/models/parameters.d.ts.map +1 -1
- package/dist-esm/src/models/parameters.js +15 -3
- package/dist-esm/src/models/parameters.js.map +1 -1
- package/dist-esm/src/operations/access.d.ts +69 -0
- package/dist-esm/src/operations/access.d.ts.map +1 -0
- package/dist-esm/src/operations/access.js +254 -0
- package/dist-esm/src/operations/access.js.map +1 -0
- package/dist-esm/src/operations/index.d.ts +1 -0
- package/dist-esm/src/operations/index.d.ts.map +1 -1
- package/dist-esm/src/operations/index.js +1 -0
- package/dist-esm/src/operations/index.js.map +1 -1
- package/dist-esm/src/operations/marketplaceAgreements.d.ts.map +1 -1
- package/dist-esm/src/operations/marketplaceAgreements.js +25 -12
- package/dist-esm/src/operations/marketplaceAgreements.js.map +1 -1
- package/dist-esm/src/operations/organization.d.ts +12 -12
- package/dist-esm/src/operations/organization.d.ts.map +1 -1
- package/dist-esm/src/operations/organization.js +78 -45
- package/dist-esm/src/operations/organization.js.map +1 -1
- package/dist-esm/src/operations/organizationOperations.d.ts.map +1 -1
- package/dist-esm/src/operations/organizationOperations.js +25 -12
- package/dist-esm/src/operations/organizationOperations.js.map +1 -1
- package/dist-esm/src/operations/validations.d.ts +10 -2
- package/dist-esm/src/operations/validations.d.ts.map +1 -1
- package/dist-esm/src/operations/validations.js +34 -1
- package/dist-esm/src/operations/validations.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/access.d.ts +61 -0
- package/dist-esm/src/operationsInterfaces/access.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/access.js +9 -0
- package/dist-esm/src/operationsInterfaces/access.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts +1 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/index.js +1 -0
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/organization.d.ts +10 -10
- package/dist-esm/src/operationsInterfaces/organization.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/validations.d.ts +10 -2
- package/dist-esm/src/operationsInterfaces/validations.d.ts.map +1 -1
- package/dist-esm/src/pagingHelper.d.ts +13 -0
- package/dist-esm/src/pagingHelper.d.ts.map +1 -0
- package/dist-esm/src/pagingHelper.js +32 -0
- package/dist-esm/src/pagingHelper.js.map +1 -0
- package/dist-esm/test/confluent_operations_test.spec.d.ts +4 -0
- package/dist-esm/test/confluent_operations_test.spec.d.ts.map +1 -0
- package/dist-esm/test/confluent_operations_test.spec.js +73 -0
- package/dist-esm/test/confluent_operations_test.spec.js.map +1 -0
- package/package.json +27 -26
- package/review/arm-confluent.api.md +288 -29
- package/src/confluentManagementClient.ts +94 -12
- package/src/index.ts +1 -0
- package/src/lroImpl.ts +31 -23
- package/src/models/index.ts +389 -5
- package/src/models/mappers.ts +921 -3
- package/src/models/parameters.ts +19 -3
- package/src/operations/access.ts +348 -0
- package/src/operations/index.ts +1 -0
- package/src/operations/marketplaceAgreements.ts +21 -9
- package/src/operations/organization.ts +84 -50
- package/src/operations/organizationOperations.ts +21 -9
- package/src/operations/validations.ts +47 -2
- package/src/operationsInterfaces/access.ts +121 -0
- package/src/operationsInterfaces/index.ts +1 -0
- package/src/operationsInterfaces/organization.ts +11 -11
- package/src/operationsInterfaces/validations.ts +17 -2
- package/src/pagingHelper.ts +39 -0
- package/types/arm-confluent.d.ts +488 -19
- package/types/tsdoc-metadata.json +1 -1
- package/dist-esm/test/sampleTest.d.ts +0 -2
- package/dist-esm/test/sampleTest.d.ts.map +0 -1
- package/dist-esm/test/sampleTest.js +0 -40
- package/dist-esm/test/sampleTest.js.map +0 -1
- package/rollup.config.js +0 -122
package/types/arm-confluent.d.ts
CHANGED
|
@@ -1,8 +1,289 @@
|
|
|
1
1
|
import * as coreAuth from '@azure/core-auth';
|
|
2
2
|
import * as coreClient from '@azure/core-client';
|
|
3
|
+
import { OperationState } from '@azure/core-lro';
|
|
3
4
|
import { PagedAsyncIterableIterator } from '@azure/core-paging';
|
|
4
|
-
import {
|
|
5
|
-
|
|
5
|
+
import { SimplePollerLike } from '@azure/core-lro';
|
|
6
|
+
|
|
7
|
+
/** Interface representing a Access. */
|
|
8
|
+
export declare interface Access {
|
|
9
|
+
/**
|
|
10
|
+
* Organization users details
|
|
11
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
12
|
+
* @param organizationName Organization resource name
|
|
13
|
+
* @param body List Access Request Model
|
|
14
|
+
* @param options The options parameters.
|
|
15
|
+
*/
|
|
16
|
+
listUsers(resourceGroupName: string, organizationName: string, body: ListAccessRequestModel, options?: AccessListUsersOptionalParams): Promise<AccessListUsersResponse>;
|
|
17
|
+
/**
|
|
18
|
+
* Organization service accounts details
|
|
19
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
20
|
+
* @param organizationName Organization resource name
|
|
21
|
+
* @param body List Access Request Model
|
|
22
|
+
* @param options The options parameters.
|
|
23
|
+
*/
|
|
24
|
+
listServiceAccounts(resourceGroupName: string, organizationName: string, body: ListAccessRequestModel, options?: AccessListServiceAccountsOptionalParams): Promise<AccessListServiceAccountsResponse>;
|
|
25
|
+
/**
|
|
26
|
+
* Organization accounts invitation details
|
|
27
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
28
|
+
* @param organizationName Organization resource name
|
|
29
|
+
* @param body List Access Request Model
|
|
30
|
+
* @param options The options parameters.
|
|
31
|
+
*/
|
|
32
|
+
listInvitations(resourceGroupName: string, organizationName: string, body: ListAccessRequestModel, options?: AccessListInvitationsOptionalParams): Promise<AccessListInvitationsResponse>;
|
|
33
|
+
/**
|
|
34
|
+
* Invite user to the organization
|
|
35
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
36
|
+
* @param organizationName Organization resource name
|
|
37
|
+
* @param body Invite user account model
|
|
38
|
+
* @param options The options parameters.
|
|
39
|
+
*/
|
|
40
|
+
inviteUser(resourceGroupName: string, organizationName: string, body: AccessInviteUserAccountModel, options?: AccessInviteUserOptionalParams): Promise<AccessInviteUserResponse>;
|
|
41
|
+
/**
|
|
42
|
+
* Environment list of an organization
|
|
43
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
44
|
+
* @param organizationName Organization resource name
|
|
45
|
+
* @param body List Access Request Model
|
|
46
|
+
* @param options The options parameters.
|
|
47
|
+
*/
|
|
48
|
+
listEnvironments(resourceGroupName: string, organizationName: string, body: ListAccessRequestModel, options?: AccessListEnvironmentsOptionalParams): Promise<AccessListEnvironmentsResponse>;
|
|
49
|
+
/**
|
|
50
|
+
* Cluster details
|
|
51
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
52
|
+
* @param organizationName Organization resource name
|
|
53
|
+
* @param body List Access Request Model
|
|
54
|
+
* @param options The options parameters.
|
|
55
|
+
*/
|
|
56
|
+
listClusters(resourceGroupName: string, organizationName: string, body: ListAccessRequestModel, options?: AccessListClustersOptionalParams): Promise<AccessListClustersResponse>;
|
|
57
|
+
/**
|
|
58
|
+
* Organization role bindings
|
|
59
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
60
|
+
* @param organizationName Organization resource name
|
|
61
|
+
* @param body List Access Request Model
|
|
62
|
+
* @param options The options parameters.
|
|
63
|
+
*/
|
|
64
|
+
listRoleBindings(resourceGroupName: string, organizationName: string, body: ListAccessRequestModel, options?: AccessListRoleBindingsOptionalParams): Promise<AccessListRoleBindingsResponse>;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
/** Details of the user being invited */
|
|
68
|
+
export declare interface AccessInvitedUserDetails {
|
|
69
|
+
/** UPN/Email of the user who is being invited */
|
|
70
|
+
invitedEmail?: string;
|
|
71
|
+
/** Auth type of the user */
|
|
72
|
+
authType?: string;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
/** Invite User Account model */
|
|
76
|
+
export declare interface AccessInviteUserAccountModel {
|
|
77
|
+
/** Id of the organization */
|
|
78
|
+
organizationId?: string;
|
|
79
|
+
/** Email of the logged in user */
|
|
80
|
+
email?: string;
|
|
81
|
+
/** Upn of the logged in user */
|
|
82
|
+
upn?: string;
|
|
83
|
+
/** Details of the user who is being invited */
|
|
84
|
+
invitedUserDetails?: AccessInvitedUserDetails;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
/** Optional parameters. */
|
|
88
|
+
export declare interface AccessInviteUserOptionalParams extends coreClient.OperationOptions {
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
/** Contains response data for the inviteUser operation. */
|
|
92
|
+
export declare type AccessInviteUserResponse = InvitationRecord;
|
|
93
|
+
|
|
94
|
+
/** Optional parameters. */
|
|
95
|
+
export declare interface AccessListClustersOptionalParams extends coreClient.OperationOptions {
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
/** Contains response data for the listClusters operation. */
|
|
99
|
+
export declare type AccessListClustersResponse = AccessListClusterSuccessResponse;
|
|
100
|
+
|
|
101
|
+
/** List cluster success response */
|
|
102
|
+
export declare interface AccessListClusterSuccessResponse {
|
|
103
|
+
/** Type of response */
|
|
104
|
+
kind?: string;
|
|
105
|
+
/** Metadata of the list */
|
|
106
|
+
metadata?: ConfluentListMetadata;
|
|
107
|
+
/** Data of the environments list */
|
|
108
|
+
data?: ClusterRecord[];
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
/** Optional parameters. */
|
|
112
|
+
export declare interface AccessListEnvironmentsOptionalParams extends coreClient.OperationOptions {
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
/** Contains response data for the listEnvironments operation. */
|
|
116
|
+
export declare type AccessListEnvironmentsResponse = AccessListEnvironmentsSuccessResponse;
|
|
117
|
+
|
|
118
|
+
/** List environments success response */
|
|
119
|
+
export declare interface AccessListEnvironmentsSuccessResponse {
|
|
120
|
+
/** Type of response */
|
|
121
|
+
kind?: string;
|
|
122
|
+
/** Metadata of the list */
|
|
123
|
+
metadata?: ConfluentListMetadata;
|
|
124
|
+
/** Data of the environments list */
|
|
125
|
+
data?: EnvironmentRecord[];
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
/** Optional parameters. */
|
|
129
|
+
export declare interface AccessListInvitationsOptionalParams extends coreClient.OperationOptions {
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
/** Contains response data for the listInvitations operation. */
|
|
133
|
+
export declare type AccessListInvitationsResponse = AccessListInvitationsSuccessResponse;
|
|
134
|
+
|
|
135
|
+
/** List invitations success response */
|
|
136
|
+
export declare interface AccessListInvitationsSuccessResponse {
|
|
137
|
+
/** Type of response */
|
|
138
|
+
kind?: string;
|
|
139
|
+
/** Metadata of the list */
|
|
140
|
+
metadata?: ConfluentListMetadata;
|
|
141
|
+
/** Data of the invitations list */
|
|
142
|
+
data?: InvitationRecord[];
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
/** Optional parameters. */
|
|
146
|
+
export declare interface AccessListRoleBindingsOptionalParams extends coreClient.OperationOptions {
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
/** Contains response data for the listRoleBindings operation. */
|
|
150
|
+
export declare type AccessListRoleBindingsResponse = AccessListRoleBindingsSuccessResponse;
|
|
151
|
+
|
|
152
|
+
/** List cluster success response */
|
|
153
|
+
export declare interface AccessListRoleBindingsSuccessResponse {
|
|
154
|
+
/** Type of response */
|
|
155
|
+
kind?: string;
|
|
156
|
+
/** Metadata of the list */
|
|
157
|
+
metadata?: ConfluentListMetadata;
|
|
158
|
+
/** Data of the environments list */
|
|
159
|
+
data?: RoleBindingRecord[];
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
/** Optional parameters. */
|
|
163
|
+
export declare interface AccessListServiceAccountsOptionalParams extends coreClient.OperationOptions {
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
/** Contains response data for the listServiceAccounts operation. */
|
|
167
|
+
export declare type AccessListServiceAccountsResponse = AccessListServiceAccountsSuccessResponse;
|
|
168
|
+
|
|
169
|
+
/** List service accounts success response */
|
|
170
|
+
export declare interface AccessListServiceAccountsSuccessResponse {
|
|
171
|
+
/** Type of response */
|
|
172
|
+
kind?: string;
|
|
173
|
+
/** Metadata of the list */
|
|
174
|
+
metadata?: ConfluentListMetadata;
|
|
175
|
+
/** Data of the service accounts list */
|
|
176
|
+
data?: ServiceAccountRecord[];
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
/** Optional parameters. */
|
|
180
|
+
export declare interface AccessListUsersOptionalParams extends coreClient.OperationOptions {
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
/** Contains response data for the listUsers operation. */
|
|
184
|
+
export declare type AccessListUsersResponse = AccessListUsersSuccessResponse;
|
|
185
|
+
|
|
186
|
+
/** List users success response */
|
|
187
|
+
export declare interface AccessListUsersSuccessResponse {
|
|
188
|
+
/** Type of response */
|
|
189
|
+
kind?: string;
|
|
190
|
+
/** Metadata of the list */
|
|
191
|
+
metadata?: ConfluentListMetadata;
|
|
192
|
+
/** Data of the users list */
|
|
193
|
+
data?: UserRecord[];
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
/** The network associated with this object */
|
|
197
|
+
export declare interface ClusterByokEntity {
|
|
198
|
+
/** ID of the referred resource */
|
|
199
|
+
id?: string;
|
|
200
|
+
/** API URL for accessing or modifying the referred object */
|
|
201
|
+
related?: string;
|
|
202
|
+
/** CRN reference to the referred resource */
|
|
203
|
+
resourceName?: string;
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
/** The configuration of the Kafka cluster */
|
|
207
|
+
export declare interface ClusterConfigEntity {
|
|
208
|
+
/** The lifecycle phase of the cluster */
|
|
209
|
+
kind?: string;
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
/** The environment to which cluster belongs */
|
|
213
|
+
export declare interface ClusterEnvironmentEntity {
|
|
214
|
+
/** ID of the referred resource */
|
|
215
|
+
id?: string;
|
|
216
|
+
/** Environment of the referred resource */
|
|
217
|
+
environment?: string;
|
|
218
|
+
/** API URL for accessing or modifying the referred object */
|
|
219
|
+
related?: string;
|
|
220
|
+
/** CRN reference to the referred resource */
|
|
221
|
+
resourceName?: string;
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
/** The network associated with this object */
|
|
225
|
+
export declare interface ClusterNetworkEntity {
|
|
226
|
+
/** ID of the referred resource */
|
|
227
|
+
id?: string;
|
|
228
|
+
/** Environment of the referred resource */
|
|
229
|
+
environment?: string;
|
|
230
|
+
/** API URL for accessing or modifying the referred object */
|
|
231
|
+
related?: string;
|
|
232
|
+
/** CRN reference to the referred resource */
|
|
233
|
+
resourceName?: string;
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
/** Record of the environment */
|
|
237
|
+
export declare interface ClusterRecord {
|
|
238
|
+
/** Type of environment */
|
|
239
|
+
kind?: string;
|
|
240
|
+
/** Id of the environment */
|
|
241
|
+
id?: string;
|
|
242
|
+
/** Metadata of the record */
|
|
243
|
+
metadata?: MetadataEntity;
|
|
244
|
+
/** Display name of the user */
|
|
245
|
+
displayName?: string;
|
|
246
|
+
/** Specification of the cluster */
|
|
247
|
+
spec?: ClusterSpecEntity;
|
|
248
|
+
/** Specification of the cluster */
|
|
249
|
+
status?: ClusterStatusEntity;
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
/** Spec of the cluster record */
|
|
253
|
+
export declare interface ClusterSpecEntity {
|
|
254
|
+
/** The name of the cluster */
|
|
255
|
+
displayName?: string;
|
|
256
|
+
/** The availability zone configuration of the cluster */
|
|
257
|
+
availability?: string;
|
|
258
|
+
/** The cloud service provider */
|
|
259
|
+
cloud?: string;
|
|
260
|
+
/** type of zone availability */
|
|
261
|
+
zone?: string;
|
|
262
|
+
/** The cloud service provider region */
|
|
263
|
+
region?: string;
|
|
264
|
+
/** The bootstrap endpoint used by Kafka clients to connect to the cluster */
|
|
265
|
+
kafkaBootstrapEndpoint?: string;
|
|
266
|
+
/** The cluster HTTP request URL. */
|
|
267
|
+
httpEndpoint?: string;
|
|
268
|
+
/** The Kafka API cluster endpoint */
|
|
269
|
+
apiEndpoint?: string;
|
|
270
|
+
/** Specification of the cluster */
|
|
271
|
+
config?: ClusterConfigEntity;
|
|
272
|
+
/** Specification of the cluster */
|
|
273
|
+
environment?: ClusterEnvironmentEntity;
|
|
274
|
+
/** Specification of the cluster */
|
|
275
|
+
network?: ClusterNetworkEntity;
|
|
276
|
+
/** Specification of the cluster */
|
|
277
|
+
byok?: ClusterByokEntity;
|
|
278
|
+
}
|
|
279
|
+
|
|
280
|
+
/** Status of the cluster record */
|
|
281
|
+
export declare interface ClusterStatusEntity {
|
|
282
|
+
/** The lifecycle phase of the cluster */
|
|
283
|
+
phase?: string;
|
|
284
|
+
/** The number of Confluent Kafka Units */
|
|
285
|
+
cku?: number;
|
|
286
|
+
}
|
|
6
287
|
|
|
7
288
|
/** Agreement Terms definition */
|
|
8
289
|
export declare interface ConfluentAgreementResource {
|
|
@@ -52,21 +333,39 @@ export declare interface ConfluentAgreementResourceListResponse {
|
|
|
52
333
|
nextLink?: string;
|
|
53
334
|
}
|
|
54
335
|
|
|
336
|
+
/** Metadata of the list */
|
|
337
|
+
export declare interface ConfluentListMetadata {
|
|
338
|
+
/** First page of the list */
|
|
339
|
+
first?: string;
|
|
340
|
+
/** Last page of the list */
|
|
341
|
+
last?: string;
|
|
342
|
+
/** Previous page of the list */
|
|
343
|
+
prev?: string;
|
|
344
|
+
/** Next page of the list */
|
|
345
|
+
next?: string;
|
|
346
|
+
/** Total size of the list */
|
|
347
|
+
totalSize?: number;
|
|
348
|
+
}
|
|
349
|
+
|
|
55
350
|
export declare class ConfluentManagementClient extends coreClient.ServiceClient {
|
|
56
351
|
$host: string;
|
|
57
352
|
apiVersion: string;
|
|
58
|
-
subscriptionId
|
|
353
|
+
subscriptionId?: string;
|
|
59
354
|
/**
|
|
60
355
|
* Initializes a new instance of the ConfluentManagementClient class.
|
|
61
356
|
* @param credentials Subscription credentials which uniquely identify client subscription.
|
|
62
|
-
* @param subscriptionId
|
|
357
|
+
* @param subscriptionId The ID of the target subscription. The value must be an UUID.
|
|
63
358
|
* @param options The parameter options
|
|
64
359
|
*/
|
|
65
360
|
constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: ConfluentManagementClientOptionalParams);
|
|
361
|
+
constructor(credentials: coreAuth.TokenCredential, options?: ConfluentManagementClientOptionalParams);
|
|
362
|
+
/** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
|
|
363
|
+
private addCustomApiVersionPolicy;
|
|
66
364
|
marketplaceAgreements: MarketplaceAgreements;
|
|
67
365
|
organizationOperations: OrganizationOperations;
|
|
68
366
|
organization: Organization;
|
|
69
367
|
validations: Validations;
|
|
368
|
+
access: Access;
|
|
70
369
|
}
|
|
71
370
|
|
|
72
371
|
/** Optional parameters. */
|
|
@@ -91,6 +390,18 @@ export declare interface ConfluentManagementClientOptionalParams extends coreCli
|
|
|
91
390
|
*/
|
|
92
391
|
export declare type CreatedByType = string;
|
|
93
392
|
|
|
393
|
+
/** Record of the environment */
|
|
394
|
+
export declare interface EnvironmentRecord {
|
|
395
|
+
/** Type of environment */
|
|
396
|
+
kind?: string;
|
|
397
|
+
/** Id of the environment */
|
|
398
|
+
id?: string;
|
|
399
|
+
/** Metadata of the record */
|
|
400
|
+
metadata?: MetadataEntity;
|
|
401
|
+
/** Display name of the user */
|
|
402
|
+
displayName?: string;
|
|
403
|
+
}
|
|
404
|
+
|
|
94
405
|
/** Response body of Error */
|
|
95
406
|
export declare interface ErrorResponseBody {
|
|
96
407
|
/**
|
|
@@ -115,41 +426,107 @@ export declare interface ErrorResponseBody {
|
|
|
115
426
|
readonly details?: ErrorResponseBody[];
|
|
116
427
|
}
|
|
117
428
|
|
|
429
|
+
/**
|
|
430
|
+
* Given the last `.value` produced by the `byPage` iterator,
|
|
431
|
+
* returns a continuation token that can be used to begin paging from
|
|
432
|
+
* that point later.
|
|
433
|
+
* @param page An object from accessing `value` on the IteratorResult from a `byPage` iterator.
|
|
434
|
+
* @returns The continuation token that can be passed into byPage() during future calls.
|
|
435
|
+
*/
|
|
436
|
+
export declare function getContinuationToken(page: unknown): string | undefined;
|
|
437
|
+
|
|
438
|
+
/** Record of the invitation */
|
|
439
|
+
export declare interface InvitationRecord {
|
|
440
|
+
/** Type of account */
|
|
441
|
+
kind?: string;
|
|
442
|
+
/** Id of the invitation */
|
|
443
|
+
id?: string;
|
|
444
|
+
/** Metadata of the record */
|
|
445
|
+
metadata?: MetadataEntity;
|
|
446
|
+
/** Email of the user */
|
|
447
|
+
email?: string;
|
|
448
|
+
/** Auth type of the user */
|
|
449
|
+
authType?: string;
|
|
450
|
+
/** Status of the invitation */
|
|
451
|
+
status?: string;
|
|
452
|
+
/** Accepted date time of the invitation */
|
|
453
|
+
acceptedAt?: string;
|
|
454
|
+
/** Expiration date time of the invitation */
|
|
455
|
+
expiresAt?: string;
|
|
456
|
+
}
|
|
457
|
+
|
|
118
458
|
/** Known values of {@link CreatedByType} that the service accepts. */
|
|
119
459
|
export declare enum KnownCreatedByType {
|
|
460
|
+
/** User */
|
|
120
461
|
User = "User",
|
|
462
|
+
/** Application */
|
|
121
463
|
Application = "Application",
|
|
464
|
+
/** ManagedIdentity */
|
|
122
465
|
ManagedIdentity = "ManagedIdentity",
|
|
466
|
+
/** Key */
|
|
123
467
|
Key = "Key"
|
|
124
468
|
}
|
|
125
469
|
|
|
126
470
|
/** Known values of {@link ProvisionState} that the service accepts. */
|
|
127
471
|
export declare enum KnownProvisionState {
|
|
472
|
+
/** Accepted */
|
|
128
473
|
Accepted = "Accepted",
|
|
474
|
+
/** Creating */
|
|
129
475
|
Creating = "Creating",
|
|
476
|
+
/** Updating */
|
|
130
477
|
Updating = "Updating",
|
|
478
|
+
/** Deleting */
|
|
131
479
|
Deleting = "Deleting",
|
|
480
|
+
/** Succeeded */
|
|
132
481
|
Succeeded = "Succeeded",
|
|
482
|
+
/** Failed */
|
|
133
483
|
Failed = "Failed",
|
|
484
|
+
/** Canceled */
|
|
134
485
|
Canceled = "Canceled",
|
|
486
|
+
/** Deleted */
|
|
135
487
|
Deleted = "Deleted",
|
|
488
|
+
/** NotSpecified */
|
|
136
489
|
NotSpecified = "NotSpecified"
|
|
137
490
|
}
|
|
138
491
|
|
|
139
492
|
/** Known values of {@link SaaSOfferStatus} that the service accepts. */
|
|
140
493
|
export declare enum KnownSaaSOfferStatus {
|
|
494
|
+
/** Started */
|
|
141
495
|
Started = "Started",
|
|
496
|
+
/** PendingFulfillmentStart */
|
|
142
497
|
PendingFulfillmentStart = "PendingFulfillmentStart",
|
|
498
|
+
/** InProgress */
|
|
143
499
|
InProgress = "InProgress",
|
|
500
|
+
/** Subscribed */
|
|
144
501
|
Subscribed = "Subscribed",
|
|
502
|
+
/** Suspended */
|
|
145
503
|
Suspended = "Suspended",
|
|
504
|
+
/** Reinstated */
|
|
146
505
|
Reinstated = "Reinstated",
|
|
506
|
+
/** Succeeded */
|
|
147
507
|
Succeeded = "Succeeded",
|
|
508
|
+
/** Failed */
|
|
148
509
|
Failed = "Failed",
|
|
510
|
+
/** Unsubscribed */
|
|
149
511
|
Unsubscribed = "Unsubscribed",
|
|
512
|
+
/** Updating */
|
|
150
513
|
Updating = "Updating"
|
|
151
514
|
}
|
|
152
515
|
|
|
516
|
+
/** Link an existing Confluent organization */
|
|
517
|
+
export declare interface LinkOrganization {
|
|
518
|
+
/** User auth token */
|
|
519
|
+
token: string;
|
|
520
|
+
}
|
|
521
|
+
|
|
522
|
+
/** List Access Request Model */
|
|
523
|
+
export declare interface ListAccessRequestModel {
|
|
524
|
+
/** Search filters for the request */
|
|
525
|
+
searchFilters?: {
|
|
526
|
+
[propertyName: string]: string;
|
|
527
|
+
};
|
|
528
|
+
}
|
|
529
|
+
|
|
153
530
|
/** Interface representing a MarketplaceAgreements. */
|
|
154
531
|
export declare interface MarketplaceAgreements {
|
|
155
532
|
/**
|
|
@@ -187,6 +564,20 @@ export declare interface MarketplaceAgreementsListOptionalParams extends coreCli
|
|
|
187
564
|
/** Contains response data for the list operation. */
|
|
188
565
|
export declare type MarketplaceAgreementsListResponse = ConfluentAgreementResourceListResponse;
|
|
189
566
|
|
|
567
|
+
/** Metadata of the data record */
|
|
568
|
+
export declare interface MetadataEntity {
|
|
569
|
+
/** Self lookup url */
|
|
570
|
+
self?: string;
|
|
571
|
+
/** Resource name of the record */
|
|
572
|
+
resourceName?: string;
|
|
573
|
+
/** Created Date Time */
|
|
574
|
+
createdAt?: string;
|
|
575
|
+
/** Updated Date time */
|
|
576
|
+
updatedAt?: string;
|
|
577
|
+
/** Deleted Date time */
|
|
578
|
+
deletedAt?: string;
|
|
579
|
+
}
|
|
580
|
+
|
|
190
581
|
/** Confluent Offer detail */
|
|
191
582
|
export declare interface OfferDetail {
|
|
192
583
|
/** Publisher Id */
|
|
@@ -199,11 +590,14 @@ export declare interface OfferDetail {
|
|
|
199
590
|
planName: string;
|
|
200
591
|
/** Offer Plan Term unit */
|
|
201
592
|
termUnit: string;
|
|
202
|
-
/**
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
593
|
+
/** Offer Plan Term Id */
|
|
594
|
+
termId?: string;
|
|
595
|
+
/** Private Offer Id */
|
|
596
|
+
privateOfferId?: string;
|
|
597
|
+
/** Array of Private Offer Ids */
|
|
598
|
+
privateOfferIds?: string[];
|
|
599
|
+
/** SaaS Offer Status */
|
|
600
|
+
status?: SaaSOfferStatus;
|
|
207
601
|
}
|
|
208
602
|
|
|
209
603
|
/** The object that represents the operation. */
|
|
@@ -245,48 +639,48 @@ export declare interface Organization {
|
|
|
245
639
|
listBySubscription(options?: OrganizationListBySubscriptionOptionalParams): PagedAsyncIterableIterator<OrganizationResource>;
|
|
246
640
|
/**
|
|
247
641
|
* List all Organizations under the specified resource group.
|
|
248
|
-
* @param resourceGroupName
|
|
642
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
249
643
|
* @param options The options parameters.
|
|
250
644
|
*/
|
|
251
645
|
listByResourceGroup(resourceGroupName: string, options?: OrganizationListByResourceGroupOptionalParams): PagedAsyncIterableIterator<OrganizationResource>;
|
|
252
646
|
/**
|
|
253
647
|
* Get the properties of a specific Organization resource.
|
|
254
|
-
* @param resourceGroupName
|
|
648
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
255
649
|
* @param organizationName Organization resource name
|
|
256
650
|
* @param options The options parameters.
|
|
257
651
|
*/
|
|
258
652
|
get(resourceGroupName: string, organizationName: string, options?: OrganizationGetOptionalParams): Promise<OrganizationGetResponse>;
|
|
259
653
|
/**
|
|
260
654
|
* Create Organization resource
|
|
261
|
-
* @param resourceGroupName
|
|
655
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
262
656
|
* @param organizationName Organization resource name
|
|
263
657
|
* @param options The options parameters.
|
|
264
658
|
*/
|
|
265
|
-
beginCreate(resourceGroupName: string, organizationName: string, options?: OrganizationCreateOptionalParams): Promise<
|
|
659
|
+
beginCreate(resourceGroupName: string, organizationName: string, options?: OrganizationCreateOptionalParams): Promise<SimplePollerLike<OperationState<OrganizationCreateResponse>, OrganizationCreateResponse>>;
|
|
266
660
|
/**
|
|
267
661
|
* Create Organization resource
|
|
268
|
-
* @param resourceGroupName
|
|
662
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
269
663
|
* @param organizationName Organization resource name
|
|
270
664
|
* @param options The options parameters.
|
|
271
665
|
*/
|
|
272
666
|
beginCreateAndWait(resourceGroupName: string, organizationName: string, options?: OrganizationCreateOptionalParams): Promise<OrganizationCreateResponse>;
|
|
273
667
|
/**
|
|
274
668
|
* Update Organization resource
|
|
275
|
-
* @param resourceGroupName
|
|
669
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
276
670
|
* @param organizationName Organization resource name
|
|
277
671
|
* @param options The options parameters.
|
|
278
672
|
*/
|
|
279
673
|
update(resourceGroupName: string, organizationName: string, options?: OrganizationUpdateOptionalParams): Promise<OrganizationUpdateResponse>;
|
|
280
674
|
/**
|
|
281
675
|
* Delete Organization resource
|
|
282
|
-
* @param resourceGroupName
|
|
676
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
283
677
|
* @param organizationName Organization resource name
|
|
284
678
|
* @param options The options parameters.
|
|
285
679
|
*/
|
|
286
|
-
beginDelete(resourceGroupName: string, organizationName: string, options?: OrganizationDeleteOptionalParams): Promise<
|
|
680
|
+
beginDelete(resourceGroupName: string, organizationName: string, options?: OrganizationDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
|
|
287
681
|
/**
|
|
288
682
|
* Delete Organization resource
|
|
289
|
-
* @param resourceGroupName
|
|
683
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
290
684
|
* @param organizationName Organization resource name
|
|
291
685
|
* @param options The options parameters.
|
|
292
686
|
*/
|
|
@@ -424,6 +818,8 @@ export declare interface OrganizationResource {
|
|
|
424
818
|
offerDetail: OfferDetail;
|
|
425
819
|
/** Subscriber detail */
|
|
426
820
|
userDetail: UserDetail;
|
|
821
|
+
/** Link an existing Confluent organization */
|
|
822
|
+
linkOrganization?: LinkOrganization;
|
|
427
823
|
}
|
|
428
824
|
|
|
429
825
|
/** The response of a list operation. */
|
|
@@ -477,6 +873,22 @@ export declare interface ResourceProviderDefaultErrorResponse {
|
|
|
477
873
|
readonly error?: ErrorResponseBody;
|
|
478
874
|
}
|
|
479
875
|
|
|
876
|
+
/** Record of the environment */
|
|
877
|
+
export declare interface RoleBindingRecord {
|
|
878
|
+
/** The type of the resource. */
|
|
879
|
+
kind?: string;
|
|
880
|
+
/** Id of the role */
|
|
881
|
+
id?: string;
|
|
882
|
+
/** Metadata of the record */
|
|
883
|
+
metadata?: MetadataEntity;
|
|
884
|
+
/** The principal User or Group to bind the role to */
|
|
885
|
+
principal?: string;
|
|
886
|
+
/** The name of the role to bind to the principal */
|
|
887
|
+
roleName?: string;
|
|
888
|
+
/** A CRN that specifies the scope and resource patterns necessary for the role to bind */
|
|
889
|
+
crnPattern?: string;
|
|
890
|
+
}
|
|
891
|
+
|
|
480
892
|
/**
|
|
481
893
|
* Defines values for SaaSOfferStatus. \
|
|
482
894
|
* {@link KnownSaaSOfferStatus} can be used interchangeably with SaaSOfferStatus,
|
|
@@ -495,6 +907,20 @@ export declare interface ResourceProviderDefaultErrorResponse {
|
|
|
495
907
|
*/
|
|
496
908
|
export declare type SaaSOfferStatus = string;
|
|
497
909
|
|
|
910
|
+
/** Record of the service account */
|
|
911
|
+
export declare interface ServiceAccountRecord {
|
|
912
|
+
/** Type of account */
|
|
913
|
+
kind?: string;
|
|
914
|
+
/** Id of the service account */
|
|
915
|
+
id?: string;
|
|
916
|
+
/** Metadata of the record */
|
|
917
|
+
metadata?: MetadataEntity;
|
|
918
|
+
/** Name of the service account */
|
|
919
|
+
displayName?: string;
|
|
920
|
+
/** Description of the service account */
|
|
921
|
+
description?: string;
|
|
922
|
+
}
|
|
923
|
+
|
|
498
924
|
/** Metadata pertaining to creation and last modification of the resource. */
|
|
499
925
|
export declare interface SystemData {
|
|
500
926
|
/** The identity that created the resource. */
|
|
@@ -519,18 +945,54 @@ export declare interface UserDetail {
|
|
|
519
945
|
lastName?: string;
|
|
520
946
|
/** Email address */
|
|
521
947
|
emailAddress: string;
|
|
948
|
+
/** User principal name */
|
|
949
|
+
userPrincipalName?: string;
|
|
950
|
+
/** AAD email address */
|
|
951
|
+
aadEmail?: string;
|
|
952
|
+
}
|
|
953
|
+
|
|
954
|
+
/** Record of the user */
|
|
955
|
+
export declare interface UserRecord {
|
|
956
|
+
/** Type of account */
|
|
957
|
+
kind?: string;
|
|
958
|
+
/** Id of the user */
|
|
959
|
+
id?: string;
|
|
960
|
+
/** Metadata of the record */
|
|
961
|
+
metadata?: MetadataEntity;
|
|
962
|
+
/** Email of the user */
|
|
963
|
+
email?: string;
|
|
964
|
+
/** Name of the user */
|
|
965
|
+
fullName?: string;
|
|
966
|
+
/** Auth type of the user */
|
|
967
|
+
authType?: string;
|
|
968
|
+
}
|
|
969
|
+
|
|
970
|
+
/** Validation response from the provider */
|
|
971
|
+
export declare interface ValidationResponse {
|
|
972
|
+
/** Info from the response */
|
|
973
|
+
info?: {
|
|
974
|
+
[propertyName: string]: string;
|
|
975
|
+
};
|
|
522
976
|
}
|
|
523
977
|
|
|
524
978
|
/** Interface representing a Validations. */
|
|
525
979
|
export declare interface Validations {
|
|
526
980
|
/**
|
|
527
981
|
* Organization Validate proxy resource
|
|
528
|
-
* @param resourceGroupName
|
|
982
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
529
983
|
* @param organizationName Organization resource name
|
|
530
984
|
* @param body Organization resource model
|
|
531
985
|
* @param options The options parameters.
|
|
532
986
|
*/
|
|
533
987
|
validateOrganization(resourceGroupName: string, organizationName: string, body: OrganizationResource, options?: ValidationsValidateOrganizationOptionalParams): Promise<ValidationsValidateOrganizationResponse>;
|
|
988
|
+
/**
|
|
989
|
+
* Organization Validate proxy resource
|
|
990
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
991
|
+
* @param organizationName Organization resource name
|
|
992
|
+
* @param body Organization resource model
|
|
993
|
+
* @param options The options parameters.
|
|
994
|
+
*/
|
|
995
|
+
validateOrganizationV2(resourceGroupName: string, organizationName: string, body: OrganizationResource, options?: ValidationsValidateOrganizationV2OptionalParams): Promise<ValidationsValidateOrganizationV2Response>;
|
|
534
996
|
}
|
|
535
997
|
|
|
536
998
|
/** Optional parameters. */
|
|
@@ -540,4 +1002,11 @@ export declare interface ValidationsValidateOrganizationOptionalParams extends c
|
|
|
540
1002
|
/** Contains response data for the validateOrganization operation. */
|
|
541
1003
|
export declare type ValidationsValidateOrganizationResponse = OrganizationResource;
|
|
542
1004
|
|
|
1005
|
+
/** Optional parameters. */
|
|
1006
|
+
export declare interface ValidationsValidateOrganizationV2OptionalParams extends coreClient.OperationOptions {
|
|
1007
|
+
}
|
|
1008
|
+
|
|
1009
|
+
/** Contains response data for the validateOrganizationV2 operation. */
|
|
1010
|
+
export declare type ValidationsValidateOrganizationV2Response = ValidationResponse;
|
|
1011
|
+
|
|
543
1012
|
export { }
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"sampleTest.d.ts","sourceRoot":"","sources":["../../test/sampleTest.ts"],"names":[],"mappings":""}
|