@azure/arm-confluent 2.2.0 → 3.0.0-beta.1

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 (155) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/{LICENSE.txt → LICENSE} +2 -2
  3. package/README.md +70 -78
  4. package/dist/index.js +1547 -0
  5. package/dist/index.js.map +1 -0
  6. package/dist/index.min.js +1 -0
  7. package/dist/index.min.js.map +1 -0
  8. package/dist-esm/src/confluentManagementClient.d.ts +21 -0
  9. package/dist-esm/src/confluentManagementClient.d.ts.map +1 -0
  10. package/dist-esm/src/confluentManagementClient.js +54 -0
  11. package/dist-esm/src/confluentManagementClient.js.map +1 -0
  12. package/dist-esm/src/index.d.ts +5 -0
  13. package/dist-esm/src/index.d.ts.map +1 -0
  14. package/dist-esm/src/index.js +12 -0
  15. package/dist-esm/src/index.js.map +1 -0
  16. package/dist-esm/src/lroImpl.d.ts +16 -0
  17. package/dist-esm/src/lroImpl.d.ts.map +1 -0
  18. package/dist-esm/src/lroImpl.js +29 -0
  19. package/dist-esm/src/lroImpl.js.map +1 -0
  20. package/dist-esm/src/models/index.d.ts +382 -0
  21. package/dist-esm/src/models/index.d.ts.map +1 -0
  22. package/dist-esm/src/models/index.js +43 -0
  23. package/dist-esm/src/models/index.js.map +1 -0
  24. package/dist-esm/src/models/mappers.d.ts +15 -0
  25. package/dist-esm/src/models/mappers.d.ts.map +1 -0
  26. package/{esm → dist-esm/src}/models/mappers.js +209 -237
  27. package/dist-esm/src/models/mappers.js.map +1 -0
  28. package/dist-esm/src/models/parameters.d.ts +14 -0
  29. package/dist-esm/src/models/parameters.d.ts.map +1 -0
  30. package/dist-esm/src/models/parameters.js +110 -0
  31. package/dist-esm/src/models/parameters.js.map +1 -0
  32. package/{esm → dist-esm/src}/operations/index.d.ts +0 -0
  33. package/dist-esm/src/operations/index.d.ts.map +1 -0
  34. package/{esm → dist-esm/src}/operations/index.js +1 -2
  35. package/dist-esm/src/operations/index.js.map +1 -0
  36. package/dist-esm/src/operations/marketplaceAgreements.d.ts +37 -0
  37. package/dist-esm/src/operations/marketplaceAgreements.d.ts.map +1 -0
  38. package/dist-esm/src/operations/marketplaceAgreements.js +149 -0
  39. package/dist-esm/src/operations/marketplaceAgreements.js.map +1 -0
  40. package/dist-esm/src/operations/organization.d.ts +96 -0
  41. package/dist-esm/src/operations/organization.d.ts.map +1 -0
  42. package/dist-esm/src/operations/organization.js +449 -0
  43. package/dist-esm/src/operations/organization.js.map +1 -0
  44. package/dist-esm/src/operations/organizationOperations.d.ts +32 -0
  45. package/dist-esm/src/operations/organizationOperations.d.ts.map +1 -0
  46. package/dist-esm/src/operations/organizationOperations.js +120 -0
  47. package/dist-esm/src/operations/organizationOperations.js.map +1 -0
  48. package/dist-esm/src/operations/validations.d.ts +21 -0
  49. package/dist-esm/src/operations/validations.d.ts.map +1 -0
  50. package/dist-esm/src/operations/validations.js +56 -0
  51. package/dist-esm/src/operations/validations.js.map +1 -0
  52. package/dist-esm/src/operationsInterfaces/index.d.ts +5 -0
  53. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
  54. package/{esm/models/organizationOperationsMappers.js → dist-esm/src/operationsInterfaces/index.js} +5 -2
  55. package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
  56. package/dist-esm/src/operationsInterfaces/marketplaceAgreements.d.ts +16 -0
  57. package/dist-esm/src/operationsInterfaces/marketplaceAgreements.d.ts.map +1 -0
  58. package/dist-esm/src/operationsInterfaces/marketplaceAgreements.js +9 -0
  59. package/dist-esm/src/operationsInterfaces/marketplaceAgreements.js.map +1 -0
  60. package/dist-esm/src/operationsInterfaces/organization.d.ts +60 -0
  61. package/dist-esm/src/operationsInterfaces/organization.d.ts.map +1 -0
  62. package/dist-esm/src/operationsInterfaces/organization.js +9 -0
  63. package/dist-esm/src/operationsInterfaces/organization.js.map +1 -0
  64. package/dist-esm/src/operationsInterfaces/organizationOperations.d.ts +11 -0
  65. package/dist-esm/src/operationsInterfaces/organizationOperations.d.ts.map +1 -0
  66. package/dist-esm/src/operationsInterfaces/organizationOperations.js +9 -0
  67. package/dist-esm/src/operationsInterfaces/organizationOperations.js.map +1 -0
  68. package/dist-esm/src/operationsInterfaces/validations.d.ts +13 -0
  69. package/dist-esm/src/operationsInterfaces/validations.d.ts.map +1 -0
  70. package/{esm/models/index.js → dist-esm/src/operationsInterfaces/validations.js} +2 -1
  71. package/dist-esm/src/operationsInterfaces/validations.js.map +1 -0
  72. package/dist-esm/test/sampleTest.d.ts +2 -0
  73. package/dist-esm/test/sampleTest.d.ts.map +1 -0
  74. package/dist-esm/test/sampleTest.js +40 -0
  75. package/dist-esm/test/sampleTest.js.map +1 -0
  76. package/package.json +65 -32
  77. package/review/arm-confluent.api.md +352 -0
  78. package/rollup.config.js +181 -30
  79. package/src/confluentManagementClient.ts +76 -38
  80. package/src/{models/validationsMappers.ts → index.ts} +4 -10
  81. package/src/lroImpl.ts +34 -0
  82. package/src/models/index.ts +297 -553
  83. package/src/models/mappers.ts +211 -240
  84. package/src/models/parameters.ts +81 -24
  85. package/src/operations/index.ts +1 -2
  86. package/src/operations/marketplaceAgreements.ts +108 -117
  87. package/src/operations/organization.ts +414 -300
  88. package/src/operations/organizationOperations.ts +87 -75
  89. package/src/operations/validations.ts +42 -62
  90. package/src/{models/organizationOperationsMappers.ts → operationsInterfaces/index.ts} +4 -7
  91. package/src/operationsInterfaces/marketplaceAgreements.ts +34 -0
  92. package/src/operationsInterfaces/organization.ts +114 -0
  93. package/src/operationsInterfaces/organizationOperations.ts +25 -0
  94. package/src/operationsInterfaces/validations.ts +30 -0
  95. package/tsconfig.json +3 -3
  96. package/types/arm-confluent.d.ts +543 -0
  97. package/types/tsdoc-metadata.json +11 -0
  98. package/dist/arm-confluent.js +0 -1460
  99. package/dist/arm-confluent.js.map +0 -1
  100. package/dist/arm-confluent.min.js +0 -1
  101. package/dist/arm-confluent.min.js.map +0 -1
  102. package/esm/confluentManagementClient.d.ts +0 -27
  103. package/esm/confluentManagementClient.d.ts.map +0 -1
  104. package/esm/confluentManagementClient.js +0 -40
  105. package/esm/confluentManagementClient.js.map +0 -1
  106. package/esm/confluentManagementClientContext.d.ts +0 -22
  107. package/esm/confluentManagementClientContext.d.ts.map +0 -1
  108. package/esm/confluentManagementClientContext.js +0 -60
  109. package/esm/confluentManagementClientContext.js.map +0 -1
  110. package/esm/models/index.d.ts +0 -640
  111. package/esm/models/index.d.ts.map +0 -1
  112. package/esm/models/index.js.map +0 -1
  113. package/esm/models/mappers.d.ts +0 -17
  114. package/esm/models/mappers.d.ts.map +0 -1
  115. package/esm/models/mappers.js.map +0 -1
  116. package/esm/models/marketplaceAgreementsMappers.d.ts +0 -2
  117. package/esm/models/marketplaceAgreementsMappers.d.ts.map +0 -1
  118. package/esm/models/marketplaceAgreementsMappers.js +0 -9
  119. package/esm/models/marketplaceAgreementsMappers.js.map +0 -1
  120. package/esm/models/organizationMappers.d.ts +0 -2
  121. package/esm/models/organizationMappers.d.ts.map +0 -1
  122. package/esm/models/organizationMappers.js +0 -9
  123. package/esm/models/organizationMappers.js.map +0 -1
  124. package/esm/models/organizationOperationsMappers.d.ts +0 -2
  125. package/esm/models/organizationOperationsMappers.d.ts.map +0 -1
  126. package/esm/models/organizationOperationsMappers.js.map +0 -1
  127. package/esm/models/parameters.d.ts +0 -8
  128. package/esm/models/parameters.d.ts.map +0 -1
  129. package/esm/models/parameters.js +0 -72
  130. package/esm/models/parameters.js.map +0 -1
  131. package/esm/models/validationsMappers.d.ts +0 -2
  132. package/esm/models/validationsMappers.d.ts.map +0 -1
  133. package/esm/models/validationsMappers.js +0 -9
  134. package/esm/models/validationsMappers.js.map +0 -1
  135. package/esm/operations/index.d.ts.map +0 -1
  136. package/esm/operations/index.js.map +0 -1
  137. package/esm/operations/marketplaceAgreements.d.ts +0 -61
  138. package/esm/operations/marketplaceAgreements.d.ts.map +0 -1
  139. package/esm/operations/marketplaceAgreements.js +0 -116
  140. package/esm/operations/marketplaceAgreements.js.map +0 -1
  141. package/esm/operations/organization.d.ts +0 -157
  142. package/esm/operations/organization.d.ts.map +0 -1
  143. package/esm/operations/organization.js +0 -317
  144. package/esm/operations/organization.js.map +0 -1
  145. package/esm/operations/organizationOperations.d.ts +0 -46
  146. package/esm/operations/organizationOperations.d.ts.map +0 -1
  147. package/esm/operations/organizationOperations.js +0 -79
  148. package/esm/operations/organizationOperations.js.map +0 -1
  149. package/esm/operations/validations.d.ts +0 -37
  150. package/esm/operations/validations.d.ts.map +0 -1
  151. package/esm/operations/validations.js +0 -63
  152. package/esm/operations/validations.js.map +0 -1
  153. package/src/confluentManagementClientContext.ts +0 -67
  154. package/src/models/marketplaceAgreementsMappers.ts +0 -19
  155. package/src/models/organizationMappers.ts +0 -20
@@ -0,0 +1,543 @@
1
+ import * as coreAuth from '@azure/core-auth';
2
+ import * as coreClient from '@azure/core-client';
3
+ import { PagedAsyncIterableIterator } from '@azure/core-paging';
4
+ import { PollerLike } from '@azure/core-lro';
5
+ import { PollOperationState } from '@azure/core-lro';
6
+
7
+ /** Agreement Terms definition */
8
+ export declare interface ConfluentAgreementResource {
9
+ /**
10
+ * The ARM id of the resource.
11
+ * NOTE: This property will not be serialized. It can only be populated by the server.
12
+ */
13
+ readonly id?: string;
14
+ /**
15
+ * The name of the agreement.
16
+ * NOTE: This property will not be serialized. It can only be populated by the server.
17
+ */
18
+ readonly name?: string;
19
+ /**
20
+ * The type of the agreement.
21
+ * NOTE: This property will not be serialized. It can only be populated by the server.
22
+ */
23
+ readonly type?: string;
24
+ /**
25
+ * Metadata pertaining to creation and last modification of the resource
26
+ * NOTE: This property will not be serialized. It can only be populated by the server.
27
+ */
28
+ readonly systemData?: SystemData;
29
+ /** Publisher identifier string. */
30
+ publisher?: string;
31
+ /** Product identifier string. */
32
+ product?: string;
33
+ /** Plan identifier string. */
34
+ plan?: string;
35
+ /** Link to HTML with Microsoft and Publisher terms. */
36
+ licenseTextLink?: string;
37
+ /** Link to the privacy policy of the publisher. */
38
+ privacyPolicyLink?: string;
39
+ /** Date and time in UTC of when the terms were accepted. This is empty if Accepted is false. */
40
+ retrieveDatetime?: Date;
41
+ /** Terms signature. */
42
+ signature?: string;
43
+ /** If any version of the terms have been accepted, otherwise false. */
44
+ accepted?: boolean;
45
+ }
46
+
47
+ /** Response of a list operation. */
48
+ export declare interface ConfluentAgreementResourceListResponse {
49
+ /** Results of a list operation. */
50
+ value?: ConfluentAgreementResource[];
51
+ /** Link to the next set of results, if any. */
52
+ nextLink?: string;
53
+ }
54
+
55
+ export declare class ConfluentManagementClient extends coreClient.ServiceClient {
56
+ $host: string;
57
+ apiVersion: string;
58
+ subscriptionId: string;
59
+ /**
60
+ * Initializes a new instance of the ConfluentManagementClient class.
61
+ * @param credentials Subscription credentials which uniquely identify client subscription.
62
+ * @param subscriptionId Microsoft Azure subscription id
63
+ * @param options The parameter options
64
+ */
65
+ constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: ConfluentManagementClientOptionalParams);
66
+ marketplaceAgreements: MarketplaceAgreements;
67
+ organizationOperations: OrganizationOperations;
68
+ organization: Organization;
69
+ validations: Validations;
70
+ }
71
+
72
+ /** Optional parameters. */
73
+ export declare interface ConfluentManagementClientOptionalParams extends coreClient.ServiceClientOptions {
74
+ /** server parameter */
75
+ $host?: string;
76
+ /** Api Version */
77
+ apiVersion?: string;
78
+ /** Overrides client endpoint. */
79
+ endpoint?: string;
80
+ }
81
+
82
+ /**
83
+ * Defines values for CreatedByType. \
84
+ * {@link KnownCreatedByType} can be used interchangeably with CreatedByType,
85
+ * this enum contains the known values that the service supports.
86
+ * ### Known values supported by the service
87
+ * **User** \
88
+ * **Application** \
89
+ * **ManagedIdentity** \
90
+ * **Key**
91
+ */
92
+ export declare type CreatedByType = string;
93
+
94
+ /** Response body of Error */
95
+ export declare interface ErrorResponseBody {
96
+ /**
97
+ * Error code
98
+ * NOTE: This property will not be serialized. It can only be populated by the server.
99
+ */
100
+ readonly code?: string;
101
+ /**
102
+ * Error message
103
+ * NOTE: This property will not be serialized. It can only be populated by the server.
104
+ */
105
+ readonly message?: string;
106
+ /**
107
+ * Error target
108
+ * NOTE: This property will not be serialized. It can only be populated by the server.
109
+ */
110
+ readonly target?: string;
111
+ /**
112
+ * Error detail
113
+ * NOTE: This property will not be serialized. It can only be populated by the server.
114
+ */
115
+ readonly details?: ErrorResponseBody[];
116
+ }
117
+
118
+ /** Known values of {@link CreatedByType} that the service accepts. */
119
+ export declare enum KnownCreatedByType {
120
+ User = "User",
121
+ Application = "Application",
122
+ ManagedIdentity = "ManagedIdentity",
123
+ Key = "Key"
124
+ }
125
+
126
+ /** Known values of {@link ProvisionState} that the service accepts. */
127
+ export declare enum KnownProvisionState {
128
+ Accepted = "Accepted",
129
+ Creating = "Creating",
130
+ Updating = "Updating",
131
+ Deleting = "Deleting",
132
+ Succeeded = "Succeeded",
133
+ Failed = "Failed",
134
+ Canceled = "Canceled",
135
+ Deleted = "Deleted",
136
+ NotSpecified = "NotSpecified"
137
+ }
138
+
139
+ /** Known values of {@link SaaSOfferStatus} that the service accepts. */
140
+ export declare enum KnownSaaSOfferStatus {
141
+ Started = "Started",
142
+ PendingFulfillmentStart = "PendingFulfillmentStart",
143
+ InProgress = "InProgress",
144
+ Subscribed = "Subscribed",
145
+ Suspended = "Suspended",
146
+ Reinstated = "Reinstated",
147
+ Succeeded = "Succeeded",
148
+ Failed = "Failed",
149
+ Unsubscribed = "Unsubscribed",
150
+ Updating = "Updating"
151
+ }
152
+
153
+ /** Interface representing a MarketplaceAgreements. */
154
+ export declare interface MarketplaceAgreements {
155
+ /**
156
+ * List Confluent marketplace agreements in the subscription.
157
+ * @param options The options parameters.
158
+ */
159
+ list(options?: MarketplaceAgreementsListOptionalParams): PagedAsyncIterableIterator<ConfluentAgreementResource>;
160
+ /**
161
+ * Create Confluent Marketplace agreement in the subscription.
162
+ * @param options The options parameters.
163
+ */
164
+ create(options?: MarketplaceAgreementsCreateOptionalParams): Promise<MarketplaceAgreementsCreateResponse>;
165
+ }
166
+
167
+ /** Optional parameters. */
168
+ export declare interface MarketplaceAgreementsCreateOptionalParams extends coreClient.OperationOptions {
169
+ /** Confluent Marketplace Agreement resource */
170
+ body?: ConfluentAgreementResource;
171
+ }
172
+
173
+ /** Contains response data for the create operation. */
174
+ export declare type MarketplaceAgreementsCreateResponse = ConfluentAgreementResource;
175
+
176
+ /** Optional parameters. */
177
+ export declare interface MarketplaceAgreementsListNextOptionalParams extends coreClient.OperationOptions {
178
+ }
179
+
180
+ /** Contains response data for the listNext operation. */
181
+ export declare type MarketplaceAgreementsListNextResponse = ConfluentAgreementResourceListResponse;
182
+
183
+ /** Optional parameters. */
184
+ export declare interface MarketplaceAgreementsListOptionalParams extends coreClient.OperationOptions {
185
+ }
186
+
187
+ /** Contains response data for the list operation. */
188
+ export declare type MarketplaceAgreementsListResponse = ConfluentAgreementResourceListResponse;
189
+
190
+ /** Confluent Offer detail */
191
+ export declare interface OfferDetail {
192
+ /** Publisher Id */
193
+ publisherId: string;
194
+ /** Offer Id */
195
+ id: string;
196
+ /** Offer Plan Id */
197
+ planId: string;
198
+ /** Offer Plan Name */
199
+ planName: string;
200
+ /** Offer Plan Term unit */
201
+ termUnit: string;
202
+ /**
203
+ * SaaS Offer Status
204
+ * NOTE: This property will not be serialized. It can only be populated by the server.
205
+ */
206
+ readonly status?: SaaSOfferStatus;
207
+ }
208
+
209
+ /** The object that represents the operation. */
210
+ export declare interface OperationDisplay {
211
+ /** Service provider: Microsoft.Confluent */
212
+ provider?: string;
213
+ /** Type on which the operation is performed, e.g., 'clusters'. */
214
+ resource?: string;
215
+ /** Operation type, e.g., read, write, delete, etc. */
216
+ operation?: string;
217
+ /** Description of the operation, e.g., 'Write confluent'. */
218
+ description?: string;
219
+ }
220
+
221
+ /** Result of GET request to list Confluent operations. */
222
+ export declare interface OperationListResult {
223
+ /** List of Confluent operations supported by the Microsoft.Confluent provider. */
224
+ value?: OperationResult[];
225
+ /** URL to get the next set of operation list results if there are any. */
226
+ nextLink?: string;
227
+ }
228
+
229
+ /** An Confluent REST API operation. */
230
+ export declare interface OperationResult {
231
+ /** Operation name: {provider}/{resource}/{operation} */
232
+ name?: string;
233
+ /** The object that represents the operation. */
234
+ display?: OperationDisplay;
235
+ /** Indicates whether the operation is a data action */
236
+ isDataAction?: boolean;
237
+ }
238
+
239
+ /** Interface representing a Organization. */
240
+ export declare interface Organization {
241
+ /**
242
+ * List all organizations under the specified subscription.
243
+ * @param options The options parameters.
244
+ */
245
+ listBySubscription(options?: OrganizationListBySubscriptionOptionalParams): PagedAsyncIterableIterator<OrganizationResource>;
246
+ /**
247
+ * List all Organizations under the specified resource group.
248
+ * @param resourceGroupName Resource group name
249
+ * @param options The options parameters.
250
+ */
251
+ listByResourceGroup(resourceGroupName: string, options?: OrganizationListByResourceGroupOptionalParams): PagedAsyncIterableIterator<OrganizationResource>;
252
+ /**
253
+ * Get the properties of a specific Organization resource.
254
+ * @param resourceGroupName Resource group name
255
+ * @param organizationName Organization resource name
256
+ * @param options The options parameters.
257
+ */
258
+ get(resourceGroupName: string, organizationName: string, options?: OrganizationGetOptionalParams): Promise<OrganizationGetResponse>;
259
+ /**
260
+ * Create Organization resource
261
+ * @param resourceGroupName Resource group name
262
+ * @param organizationName Organization resource name
263
+ * @param options The options parameters.
264
+ */
265
+ beginCreate(resourceGroupName: string, organizationName: string, options?: OrganizationCreateOptionalParams): Promise<PollerLike<PollOperationState<OrganizationCreateResponse>, OrganizationCreateResponse>>;
266
+ /**
267
+ * Create Organization resource
268
+ * @param resourceGroupName Resource group name
269
+ * @param organizationName Organization resource name
270
+ * @param options The options parameters.
271
+ */
272
+ beginCreateAndWait(resourceGroupName: string, organizationName: string, options?: OrganizationCreateOptionalParams): Promise<OrganizationCreateResponse>;
273
+ /**
274
+ * Update Organization resource
275
+ * @param resourceGroupName Resource group name
276
+ * @param organizationName Organization resource name
277
+ * @param options The options parameters.
278
+ */
279
+ update(resourceGroupName: string, organizationName: string, options?: OrganizationUpdateOptionalParams): Promise<OrganizationUpdateResponse>;
280
+ /**
281
+ * Delete Organization resource
282
+ * @param resourceGroupName Resource group name
283
+ * @param organizationName Organization resource name
284
+ * @param options The options parameters.
285
+ */
286
+ beginDelete(resourceGroupName: string, organizationName: string, options?: OrganizationDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
287
+ /**
288
+ * Delete Organization resource
289
+ * @param resourceGroupName Resource group name
290
+ * @param organizationName Organization resource name
291
+ * @param options The options parameters.
292
+ */
293
+ beginDeleteAndWait(resourceGroupName: string, organizationName: string, options?: OrganizationDeleteOptionalParams): Promise<void>;
294
+ }
295
+
296
+ /** Optional parameters. */
297
+ export declare interface OrganizationCreateOptionalParams extends coreClient.OperationOptions {
298
+ /** Organization resource model */
299
+ body?: OrganizationResource;
300
+ /** Delay to wait until next poll, in milliseconds. */
301
+ updateIntervalInMs?: number;
302
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
303
+ resumeFrom?: string;
304
+ }
305
+
306
+ /** Contains response data for the create operation. */
307
+ export declare type OrganizationCreateResponse = OrganizationResource;
308
+
309
+ /** Optional parameters. */
310
+ export declare interface OrganizationDeleteOptionalParams extends coreClient.OperationOptions {
311
+ /** Delay to wait until next poll, in milliseconds. */
312
+ updateIntervalInMs?: number;
313
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
314
+ resumeFrom?: string;
315
+ }
316
+
317
+ /** Optional parameters. */
318
+ export declare interface OrganizationGetOptionalParams extends coreClient.OperationOptions {
319
+ }
320
+
321
+ /** Contains response data for the get operation. */
322
+ export declare type OrganizationGetResponse = OrganizationResource;
323
+
324
+ /** Optional parameters. */
325
+ export declare interface OrganizationListByResourceGroupNextOptionalParams extends coreClient.OperationOptions {
326
+ }
327
+
328
+ /** Contains response data for the listByResourceGroupNext operation. */
329
+ export declare type OrganizationListByResourceGroupNextResponse = OrganizationResourceListResult;
330
+
331
+ /** Optional parameters. */
332
+ export declare interface OrganizationListByResourceGroupOptionalParams extends coreClient.OperationOptions {
333
+ }
334
+
335
+ /** Contains response data for the listByResourceGroup operation. */
336
+ export declare type OrganizationListByResourceGroupResponse = OrganizationResourceListResult;
337
+
338
+ /** Optional parameters. */
339
+ export declare interface OrganizationListBySubscriptionNextOptionalParams extends coreClient.OperationOptions {
340
+ }
341
+
342
+ /** Contains response data for the listBySubscriptionNext operation. */
343
+ export declare type OrganizationListBySubscriptionNextResponse = OrganizationResourceListResult;
344
+
345
+ /** Optional parameters. */
346
+ export declare interface OrganizationListBySubscriptionOptionalParams extends coreClient.OperationOptions {
347
+ }
348
+
349
+ /** Contains response data for the listBySubscription operation. */
350
+ export declare type OrganizationListBySubscriptionResponse = OrganizationResourceListResult;
351
+
352
+ /** Interface representing a OrganizationOperations. */
353
+ export declare interface OrganizationOperations {
354
+ /**
355
+ * List all operations provided by Microsoft.Confluent.
356
+ * @param options The options parameters.
357
+ */
358
+ list(options?: OrganizationOperationsListOptionalParams): PagedAsyncIterableIterator<OperationResult>;
359
+ }
360
+
361
+ /** Optional parameters. */
362
+ export declare interface OrganizationOperationsListNextOptionalParams extends coreClient.OperationOptions {
363
+ }
364
+
365
+ /** Contains response data for the listNext operation. */
366
+ export declare type OrganizationOperationsListNextResponse = OperationListResult;
367
+
368
+ /** Optional parameters. */
369
+ export declare interface OrganizationOperationsListOptionalParams extends coreClient.OperationOptions {
370
+ }
371
+
372
+ /** Contains response data for the list operation. */
373
+ export declare type OrganizationOperationsListResponse = OperationListResult;
374
+
375
+ /** Organization resource. */
376
+ export declare interface OrganizationResource {
377
+ /**
378
+ * The ARM id of the resource.
379
+ * NOTE: This property will not be serialized. It can only be populated by the server.
380
+ */
381
+ readonly id?: string;
382
+ /**
383
+ * The name of the resource.
384
+ * NOTE: This property will not be serialized. It can only be populated by the server.
385
+ */
386
+ readonly name?: string;
387
+ /**
388
+ * The type of the resource.
389
+ * NOTE: This property will not be serialized. It can only be populated by the server.
390
+ */
391
+ readonly type?: string;
392
+ /**
393
+ * Metadata pertaining to creation and last modification of the resource
394
+ * NOTE: This property will not be serialized. It can only be populated by the server.
395
+ */
396
+ readonly systemData?: SystemData;
397
+ /** Organization resource tags */
398
+ tags?: {
399
+ [propertyName: string]: string;
400
+ };
401
+ /** Location of Organization resource */
402
+ location?: string;
403
+ /**
404
+ * The creation time of the resource.
405
+ * NOTE: This property will not be serialized. It can only be populated by the server.
406
+ */
407
+ readonly createdTime?: Date;
408
+ /**
409
+ * Provision states for confluent RP
410
+ * NOTE: This property will not be serialized. It can only be populated by the server.
411
+ */
412
+ readonly provisioningState?: ProvisionState;
413
+ /**
414
+ * Id of the Confluent organization.
415
+ * NOTE: This property will not be serialized. It can only be populated by the server.
416
+ */
417
+ readonly organizationId?: string;
418
+ /**
419
+ * SSO url for the Confluent organization.
420
+ * NOTE: This property will not be serialized. It can only be populated by the server.
421
+ */
422
+ readonly ssoUrl?: string;
423
+ /** Confluent offer detail */
424
+ offerDetail: OfferDetail;
425
+ /** Subscriber detail */
426
+ userDetail: UserDetail;
427
+ }
428
+
429
+ /** The response of a list operation. */
430
+ export declare interface OrganizationResourceListResult {
431
+ /** Result of a list operation. */
432
+ value?: OrganizationResource[];
433
+ /** Link to the next set of results, if any. */
434
+ nextLink?: string;
435
+ }
436
+
437
+ /** Organization Resource update */
438
+ export declare interface OrganizationResourceUpdate {
439
+ /** ARM resource tags */
440
+ tags?: {
441
+ [propertyName: string]: string;
442
+ };
443
+ }
444
+
445
+ /** Optional parameters. */
446
+ export declare interface OrganizationUpdateOptionalParams extends coreClient.OperationOptions {
447
+ /** Updated Organization resource */
448
+ body?: OrganizationResourceUpdate;
449
+ }
450
+
451
+ /** Contains response data for the update operation. */
452
+ export declare type OrganizationUpdateResponse = OrganizationResource;
453
+
454
+ /**
455
+ * Defines values for ProvisionState. \
456
+ * {@link KnownProvisionState} can be used interchangeably with ProvisionState,
457
+ * this enum contains the known values that the service supports.
458
+ * ### Known values supported by the service
459
+ * **Accepted** \
460
+ * **Creating** \
461
+ * **Updating** \
462
+ * **Deleting** \
463
+ * **Succeeded** \
464
+ * **Failed** \
465
+ * **Canceled** \
466
+ * **Deleted** \
467
+ * **NotSpecified**
468
+ */
469
+ export declare type ProvisionState = string;
470
+
471
+ /** Default error response for resource provider */
472
+ export declare interface ResourceProviderDefaultErrorResponse {
473
+ /**
474
+ * Response body of Error
475
+ * NOTE: This property will not be serialized. It can only be populated by the server.
476
+ */
477
+ readonly error?: ErrorResponseBody;
478
+ }
479
+
480
+ /**
481
+ * Defines values for SaaSOfferStatus. \
482
+ * {@link KnownSaaSOfferStatus} can be used interchangeably with SaaSOfferStatus,
483
+ * this enum contains the known values that the service supports.
484
+ * ### Known values supported by the service
485
+ * **Started** \
486
+ * **PendingFulfillmentStart** \
487
+ * **InProgress** \
488
+ * **Subscribed** \
489
+ * **Suspended** \
490
+ * **Reinstated** \
491
+ * **Succeeded** \
492
+ * **Failed** \
493
+ * **Unsubscribed** \
494
+ * **Updating**
495
+ */
496
+ export declare type SaaSOfferStatus = string;
497
+
498
+ /** Metadata pertaining to creation and last modification of the resource. */
499
+ export declare interface SystemData {
500
+ /** The identity that created the resource. */
501
+ createdBy?: string;
502
+ /** The type of identity that created the resource. */
503
+ createdByType?: CreatedByType;
504
+ /** The timestamp of resource creation (UTC). */
505
+ createdAt?: Date;
506
+ /** The identity that last modified the resource. */
507
+ lastModifiedBy?: string;
508
+ /** The type of identity that last modified the resource. */
509
+ lastModifiedByType?: CreatedByType;
510
+ /** The timestamp of resource last modification (UTC) */
511
+ lastModifiedAt?: Date;
512
+ }
513
+
514
+ /** Subscriber detail */
515
+ export declare interface UserDetail {
516
+ /** First name */
517
+ firstName?: string;
518
+ /** Last name */
519
+ lastName?: string;
520
+ /** Email address */
521
+ emailAddress: string;
522
+ }
523
+
524
+ /** Interface representing a Validations. */
525
+ export declare interface Validations {
526
+ /**
527
+ * Organization Validate proxy resource
528
+ * @param resourceGroupName Resource group name
529
+ * @param organizationName Organization resource name
530
+ * @param body Organization resource model
531
+ * @param options The options parameters.
532
+ */
533
+ validateOrganization(resourceGroupName: string, organizationName: string, body: OrganizationResource, options?: ValidationsValidateOrganizationOptionalParams): Promise<ValidationsValidateOrganizationResponse>;
534
+ }
535
+
536
+ /** Optional parameters. */
537
+ export declare interface ValidationsValidateOrganizationOptionalParams extends coreClient.OperationOptions {
538
+ }
539
+
540
+ /** Contains response data for the validateOrganization operation. */
541
+ export declare type ValidationsValidateOrganizationResponse = OrganizationResource;
542
+
543
+ export { }
@@ -0,0 +1,11 @@
1
+ // This file is read by tools that parse documentation comments conforming to the TSDoc standard.
2
+ // It should be published with your NPM package. It should not be tracked by Git.
3
+ {
4
+ "tsdocVersion": "0.12",
5
+ "toolPackages": [
6
+ {
7
+ "packageName": "@microsoft/api-extractor",
8
+ "packageVersion": "7.19.2"
9
+ }
10
+ ]
11
+ }