@azure/arm-confidentialledger 1.3.0-alpha.20250617.1 → 1.3.0-alpha.20250717.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.
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "sdk-type": "mgmt",
4
4
  "author": "Microsoft Corporation",
5
5
  "description": "A generated SDK for ConfidentialLedgerClient.",
6
- "version": "1.3.0-alpha.20250617.1",
6
+ "version": "1.3.0-alpha.20250717.1",
7
7
  "engines": {
8
8
  "node": ">=20.0.0"
9
9
  },
@@ -1,580 +1,580 @@
1
- ## API Report File for "@azure/arm-confidentialledger"
2
-
3
- > Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
4
-
5
- ```ts
6
-
7
- import * as coreAuth from '@azure/core-auth';
8
- import * as coreClient from '@azure/core-client';
9
- import { OperationState } from '@azure/core-lro';
10
- import { PagedAsyncIterableIterator } from '@azure/core-paging';
11
- import { SimplePollerLike } from '@azure/core-lro';
12
-
13
- // @public
14
- export interface AADBasedSecurityPrincipal {
15
- ledgerRoleName?: LedgerRoleName;
16
- principalId?: string;
17
- tenantId?: string;
18
- }
19
-
20
- // @public
21
- export type ApplicationType = string;
22
-
23
- // @public
24
- export interface CertBasedSecurityPrincipal {
25
- cert?: string;
26
- ledgerRoleName?: LedgerRoleName;
27
- }
28
-
29
- // @public
30
- export interface CertificateTags {
31
- tags?: {
32
- [propertyName: string]: string;
33
- };
34
- }
35
-
36
- // @public
37
- export type CheckNameAvailabilityOperationResponse = CheckNameAvailabilityResponse;
38
-
39
- // @public
40
- export interface CheckNameAvailabilityOptionalParams extends coreClient.OperationOptions {
41
- }
42
-
43
- // @public
44
- export type CheckNameAvailabilityReason = string;
45
-
46
- // @public
47
- export interface CheckNameAvailabilityRequest {
48
- name?: string;
49
- type?: string;
50
- }
51
-
52
- // @public
53
- export interface CheckNameAvailabilityResponse {
54
- message?: string;
55
- nameAvailable?: boolean;
56
- reason?: CheckNameAvailabilityReason;
57
- }
58
-
59
- // @public
60
- export interface ConfidentialLedger extends TrackedResource {
61
- properties?: LedgerProperties;
62
- }
63
-
64
- // @public
65
- export interface ConfidentialLedgerBackup {
66
- restoreRegion?: string;
67
- uri: string;
68
- }
69
-
70
- // @public
71
- export interface ConfidentialLedgerBackupResponse {
72
- readonly message?: string;
73
- }
74
-
75
- // @public (undocumented)
76
- export class ConfidentialLedgerClient extends coreClient.ServiceClient {
77
- // (undocumented)
78
- $host: string;
79
- constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: ConfidentialLedgerClientOptionalParams);
80
- // (undocumented)
81
- apiVersion: string;
82
- checkNameAvailability(nameAvailabilityRequest: CheckNameAvailabilityRequest, options?: CheckNameAvailabilityOptionalParams): Promise<CheckNameAvailabilityOperationResponse>;
83
- // (undocumented)
84
- ledger: Ledger;
85
- // (undocumented)
86
- managedCCFOperations: ManagedCCFOperations;
87
- // (undocumented)
88
- operations: Operations;
89
- // (undocumented)
90
- subscriptionId: string;
91
- }
92
-
93
- // @public
94
- export interface ConfidentialLedgerClientOptionalParams extends coreClient.ServiceClientOptions {
95
- $host?: string;
96
- apiVersion?: string;
97
- endpoint?: string;
98
- }
99
-
100
- // @public
101
- export interface ConfidentialLedgerList {
102
- nextLink?: string;
103
- value?: ConfidentialLedger[];
104
- }
105
-
106
- // @public
107
- export interface ConfidentialLedgerRestore {
108
- fileShareName: string;
109
- restoreRegion: string;
110
- uri: string;
111
- }
112
-
113
- // @public
114
- export interface ConfidentialLedgerRestoreResponse {
115
- readonly message?: string;
116
- }
117
-
118
- // @public
119
- export type CreatedByType = string;
120
-
121
- // @public
122
- export interface DeploymentType {
123
- appSourceUri?: string;
124
- languageRuntime?: LanguageRuntime;
125
- }
126
-
127
- // @public
128
- export type EnclavePlatform = string;
129
-
130
- // @public
131
- export interface ErrorAdditionalInfo {
132
- readonly info?: Record<string, unknown>;
133
- readonly type?: string;
134
- }
135
-
136
- // @public
137
- export interface ErrorDetail {
138
- readonly additionalInfo?: ErrorAdditionalInfo[];
139
- readonly code?: string;
140
- readonly details?: ErrorDetail[];
141
- readonly message?: string;
142
- readonly target?: string;
143
- }
144
-
145
- // @public
146
- export interface ErrorResponse {
147
- error?: ErrorDetail;
148
- }
149
-
150
- // @public
151
- export function getContinuationToken(page: unknown): string | undefined;
152
-
153
- // @public
154
- export enum KnownApplicationType {
155
- CodeTransparency = "CodeTransparency",
156
- ConfidentialLedger = "ConfidentialLedger"
157
- }
158
-
159
- // @public
160
- export enum KnownCheckNameAvailabilityReason {
161
- AlreadyExists = "AlreadyExists",
162
- Invalid = "Invalid"
163
- }
164
-
165
- // @public
166
- export enum KnownCreatedByType {
167
- Application = "Application",
168
- Key = "Key",
169
- ManagedIdentity = "ManagedIdentity",
170
- User = "User"
171
- }
172
-
173
- // @public
174
- export enum KnownEnclavePlatform {
175
- AmdSevSnp = "AmdSevSnp",
176
- IntelSgx = "IntelSgx"
177
- }
178
-
179
- // @public
180
- export enum KnownLanguageRuntime {
181
- CPP = "CPP",
182
- JS = "JS"
183
- }
184
-
185
- // @public
186
- export enum KnownLedgerRoleName {
187
- Administrator = "Administrator",
188
- Contributor = "Contributor",
189
- Reader = "Reader"
190
- }
191
-
192
- // @public
193
- export enum KnownLedgerSku {
194
- Basic = "Basic",
195
- Standard = "Standard",
196
- Unknown = "Unknown"
197
- }
198
-
199
- // @public
200
- export enum KnownLedgerType {
201
- Private = "Private",
202
- Public = "Public",
203
- Unknown = "Unknown"
204
- }
205
-
206
- // @public
207
- export enum KnownProvisioningState {
208
- Canceled = "Canceled",
209
- Creating = "Creating",
210
- Deleting = "Deleting",
211
- Failed = "Failed",
212
- Succeeded = "Succeeded",
213
- Unknown = "Unknown",
214
- Updating = "Updating"
215
- }
216
-
217
- // @public
218
- export enum KnownRunningState {
219
- Active = "Active",
220
- Paused = "Paused",
221
- Pausing = "Pausing",
222
- Resuming = "Resuming",
223
- Unknown = "Unknown"
224
- }
225
-
226
- // @public
227
- export type LanguageRuntime = string;
228
-
229
- // @public
230
- export interface Ledger {
231
- beginBackup(resourceGroupName: string, ledgerName: string, confidentialLedger: ConfidentialLedgerBackup, options?: LedgerBackupOptionalParams): Promise<SimplePollerLike<OperationState<LedgerBackupResponse>, LedgerBackupResponse>>;
232
- beginBackupAndWait(resourceGroupName: string, ledgerName: string, confidentialLedger: ConfidentialLedgerBackup, options?: LedgerBackupOptionalParams): Promise<LedgerBackupResponse>;
233
- beginCreate(resourceGroupName: string, ledgerName: string, confidentialLedger: ConfidentialLedger, options?: LedgerCreateOptionalParams): Promise<SimplePollerLike<OperationState<LedgerCreateResponse>, LedgerCreateResponse>>;
234
- beginCreateAndWait(resourceGroupName: string, ledgerName: string, confidentialLedger: ConfidentialLedger, options?: LedgerCreateOptionalParams): Promise<LedgerCreateResponse>;
235
- beginDelete(resourceGroupName: string, ledgerName: string, options?: LedgerDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
236
- beginDeleteAndWait(resourceGroupName: string, ledgerName: string, options?: LedgerDeleteOptionalParams): Promise<void>;
237
- beginRestore(resourceGroupName: string, ledgerName: string, confidentialLedger: ConfidentialLedgerRestore, options?: LedgerRestoreOptionalParams): Promise<SimplePollerLike<OperationState<LedgerRestoreResponse>, LedgerRestoreResponse>>;
238
- beginRestoreAndWait(resourceGroupName: string, ledgerName: string, confidentialLedger: ConfidentialLedgerRestore, options?: LedgerRestoreOptionalParams): Promise<LedgerRestoreResponse>;
239
- beginUpdate(resourceGroupName: string, ledgerName: string, confidentialLedger: ConfidentialLedger, options?: LedgerUpdateOptionalParams): Promise<SimplePollerLike<OperationState<LedgerUpdateResponse>, LedgerUpdateResponse>>;
240
- beginUpdateAndWait(resourceGroupName: string, ledgerName: string, confidentialLedger: ConfidentialLedger, options?: LedgerUpdateOptionalParams): Promise<LedgerUpdateResponse>;
241
- get(resourceGroupName: string, ledgerName: string, options?: LedgerGetOptionalParams): Promise<LedgerGetResponse>;
242
- listByResourceGroup(resourceGroupName: string, options?: LedgerListByResourceGroupOptionalParams): PagedAsyncIterableIterator<ConfidentialLedger>;
243
- listBySubscription(options?: LedgerListBySubscriptionOptionalParams): PagedAsyncIterableIterator<ConfidentialLedger>;
244
- }
245
-
246
- // @public
247
- export interface LedgerBackupOptionalParams extends coreClient.OperationOptions {
248
- resumeFrom?: string;
249
- updateIntervalInMs?: number;
250
- }
251
-
252
- // @public
253
- export type LedgerBackupResponse = ConfidentialLedgerBackupResponse;
254
-
255
- // @public
256
- export interface LedgerCreateOptionalParams extends coreClient.OperationOptions {
257
- resumeFrom?: string;
258
- updateIntervalInMs?: number;
259
- }
260
-
261
- // @public
262
- export type LedgerCreateResponse = ConfidentialLedger;
263
-
264
- // @public
265
- export interface LedgerDeleteOptionalParams extends coreClient.OperationOptions {
266
- resumeFrom?: string;
267
- updateIntervalInMs?: number;
268
- }
269
-
270
- // @public
271
- export interface LedgerGetOptionalParams extends coreClient.OperationOptions {
272
- }
273
-
274
- // @public
275
- export type LedgerGetResponse = ConfidentialLedger;
276
-
277
- // @public
278
- export interface LedgerListByResourceGroupNextOptionalParams extends coreClient.OperationOptions {
279
- }
280
-
281
- // @public
282
- export type LedgerListByResourceGroupNextResponse = ConfidentialLedgerList;
283
-
284
- // @public
285
- export interface LedgerListByResourceGroupOptionalParams extends coreClient.OperationOptions {
286
- filter?: string;
287
- }
288
-
289
- // @public
290
- export type LedgerListByResourceGroupResponse = ConfidentialLedgerList;
291
-
292
- // @public
293
- export interface LedgerListBySubscriptionNextOptionalParams extends coreClient.OperationOptions {
294
- }
295
-
296
- // @public
297
- export type LedgerListBySubscriptionNextResponse = ConfidentialLedgerList;
298
-
299
- // @public
300
- export interface LedgerListBySubscriptionOptionalParams extends coreClient.OperationOptions {
301
- filter?: string;
302
- }
303
-
304
- // @public
305
- export type LedgerListBySubscriptionResponse = ConfidentialLedgerList;
306
-
307
- // @public
308
- export interface LedgerProperties {
309
- aadBasedSecurityPrincipals?: AADBasedSecurityPrincipal[];
310
- applicationType?: ApplicationType;
311
- certBasedSecurityPrincipals?: CertBasedSecurityPrincipal[];
312
- enclavePlatform?: EnclavePlatform;
313
- hostLevel?: string;
314
- readonly identityServiceUri?: string;
315
- readonly ledgerInternalNamespace?: string;
316
- readonly ledgerName?: string;
317
- ledgerSku?: LedgerSku;
318
- ledgerType?: LedgerType;
319
- readonly ledgerUri?: string;
320
- maxBodySizeInMb?: number;
321
- nodeCount?: number;
322
- readonly provisioningState?: ProvisioningState;
323
- runningState?: RunningState;
324
- subjectName?: string;
325
- workerThreads?: number;
326
- writeLBAddressPrefix?: string;
327
- }
328
-
329
- // @public
330
- export interface LedgerRestoreOptionalParams extends coreClient.OperationOptions {
331
- resumeFrom?: string;
332
- updateIntervalInMs?: number;
333
- }
334
-
335
- // @public
336
- export type LedgerRestoreResponse = ConfidentialLedgerRestoreResponse;
337
-
338
- // @public
339
- export type LedgerRoleName = string;
340
-
341
- // @public
342
- export type LedgerSku = string;
343
-
344
- // @public
345
- export type LedgerType = string;
346
-
347
- // @public
348
- export interface LedgerUpdateOptionalParams extends coreClient.OperationOptions {
349
- resumeFrom?: string;
350
- updateIntervalInMs?: number;
351
- }
352
-
353
- // @public
354
- export type LedgerUpdateResponse = ConfidentialLedger;
355
-
356
- // @public
357
- export interface ManagedCCF extends TrackedResource {
358
- properties?: ManagedCCFProperties;
359
- }
360
-
361
- // @public
362
- export interface ManagedCCFBackup {
363
- restoreRegion?: string;
364
- uri: string;
365
- }
366
-
367
- // @public
368
- export type ManagedCCFBackupOperationResponse = ManagedCCFBackupResponse;
369
-
370
- // @public
371
- export interface ManagedCCFBackupOptionalParams extends coreClient.OperationOptions {
372
- resumeFrom?: string;
373
- updateIntervalInMs?: number;
374
- }
375
-
376
- // @public
377
- export interface ManagedCCFBackupResponse {
378
- readonly message?: string;
379
- }
380
-
381
- // @public
382
- export interface ManagedCCFCreateOptionalParams extends coreClient.OperationOptions {
383
- resumeFrom?: string;
384
- updateIntervalInMs?: number;
385
- }
386
-
387
- // @public
388
- export type ManagedCCFCreateResponse = ManagedCCF;
389
-
390
- // @public
391
- export interface ManagedCCFDeleteOptionalParams extends coreClient.OperationOptions {
392
- resumeFrom?: string;
393
- updateIntervalInMs?: number;
394
- }
395
-
396
- // @public
397
- export interface ManagedCCFGetOptionalParams extends coreClient.OperationOptions {
398
- }
399
-
400
- // @public
401
- export type ManagedCCFGetResponse = ManagedCCF;
402
-
403
- // @public
404
- export interface ManagedCCFList {
405
- nextLink?: string;
406
- value?: ManagedCCF[];
407
- }
408
-
409
- // @public
410
- export interface ManagedCCFListByResourceGroupNextOptionalParams extends coreClient.OperationOptions {
411
- }
412
-
413
- // @public
414
- export type ManagedCCFListByResourceGroupNextResponse = ManagedCCFList;
415
-
416
- // @public
417
- export interface ManagedCCFListByResourceGroupOptionalParams extends coreClient.OperationOptions {
418
- filter?: string;
419
- }
420
-
421
- // @public
422
- export type ManagedCCFListByResourceGroupResponse = ManagedCCFList;
423
-
424
- // @public
425
- export interface ManagedCCFListBySubscriptionNextOptionalParams extends coreClient.OperationOptions {
426
- }
427
-
428
- // @public
429
- export type ManagedCCFListBySubscriptionNextResponse = ManagedCCFList;
430
-
431
- // @public
432
- export interface ManagedCCFListBySubscriptionOptionalParams extends coreClient.OperationOptions {
433
- filter?: string;
434
- }
435
-
436
- // @public
437
- export type ManagedCCFListBySubscriptionResponse = ManagedCCFList;
438
-
439
- // @public
440
- export interface ManagedCCFOperations {
441
- beginBackup(resourceGroupName: string, appName: string, managedCCF: ManagedCCFBackup, options?: ManagedCCFBackupOptionalParams): Promise<SimplePollerLike<OperationState<ManagedCCFBackupOperationResponse>, ManagedCCFBackupOperationResponse>>;
442
- beginBackupAndWait(resourceGroupName: string, appName: string, managedCCF: ManagedCCFBackup, options?: ManagedCCFBackupOptionalParams): Promise<ManagedCCFBackupOperationResponse>;
443
- beginCreate(resourceGroupName: string, appName: string, managedCCF: ManagedCCF, options?: ManagedCCFCreateOptionalParams): Promise<SimplePollerLike<OperationState<ManagedCCFCreateResponse>, ManagedCCFCreateResponse>>;
444
- beginCreateAndWait(resourceGroupName: string, appName: string, managedCCF: ManagedCCF, options?: ManagedCCFCreateOptionalParams): Promise<ManagedCCFCreateResponse>;
445
- beginDelete(resourceGroupName: string, appName: string, options?: ManagedCCFDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
446
- beginDeleteAndWait(resourceGroupName: string, appName: string, options?: ManagedCCFDeleteOptionalParams): Promise<void>;
447
- beginRestore(resourceGroupName: string, appName: string, managedCCF: ManagedCCFRestore, options?: ManagedCCFRestoreOptionalParams): Promise<SimplePollerLike<OperationState<ManagedCCFRestoreOperationResponse>, ManagedCCFRestoreOperationResponse>>;
448
- beginRestoreAndWait(resourceGroupName: string, appName: string, managedCCF: ManagedCCFRestore, options?: ManagedCCFRestoreOptionalParams): Promise<ManagedCCFRestoreOperationResponse>;
449
- beginUpdate(resourceGroupName: string, appName: string, managedCCF: ManagedCCF, options?: ManagedCCFUpdateOptionalParams): Promise<SimplePollerLike<OperationState<ManagedCCFUpdateResponse>, ManagedCCFUpdateResponse>>;
450
- beginUpdateAndWait(resourceGroupName: string, appName: string, managedCCF: ManagedCCF, options?: ManagedCCFUpdateOptionalParams): Promise<ManagedCCFUpdateResponse>;
451
- get(resourceGroupName: string, appName: string, options?: ManagedCCFGetOptionalParams): Promise<ManagedCCFGetResponse>;
452
- listByResourceGroup(resourceGroupName: string, options?: ManagedCCFListByResourceGroupOptionalParams): PagedAsyncIterableIterator<ManagedCCF>;
453
- listBySubscription(options?: ManagedCCFListBySubscriptionOptionalParams): PagedAsyncIterableIterator<ManagedCCF>;
454
- }
455
-
456
- // @public
457
- export interface ManagedCCFProperties {
458
- readonly appName?: string;
459
- readonly appUri?: string;
460
- deploymentType?: DeploymentType;
461
- enclavePlatform?: EnclavePlatform;
462
- readonly identityServiceUri?: string;
463
- memberIdentityCertificates?: MemberIdentityCertificate[];
464
- nodeCount?: number;
465
- readonly provisioningState?: ProvisioningState;
466
- runningState?: RunningState;
467
- }
468
-
469
- // @public
470
- export interface ManagedCCFRestore {
471
- fileShareName: string;
472
- restoreRegion: string;
473
- uri: string;
474
- }
475
-
476
- // @public
477
- export type ManagedCCFRestoreOperationResponse = ManagedCCFRestoreResponse;
478
-
479
- // @public
480
- export interface ManagedCCFRestoreOptionalParams extends coreClient.OperationOptions {
481
- resumeFrom?: string;
482
- updateIntervalInMs?: number;
483
- }
484
-
485
- // @public
486
- export interface ManagedCCFRestoreResponse {
487
- readonly message?: string;
488
- }
489
-
490
- // @public
491
- export interface ManagedCCFUpdateOptionalParams extends coreClient.OperationOptions {
492
- resumeFrom?: string;
493
- updateIntervalInMs?: number;
494
- }
495
-
496
- // @public
497
- export type ManagedCCFUpdateResponse = ManagedCCF;
498
-
499
- // @public
500
- export interface MemberIdentityCertificate {
501
- certificate?: string;
502
- encryptionkey?: string;
503
- tags?: any;
504
- }
505
-
506
- // @public
507
- export interface Operations {
508
- list(options?: OperationsListOptionalParams): PagedAsyncIterableIterator<ResourceProviderOperationDefinition>;
509
- }
510
-
511
- // @public
512
- export interface OperationsListNextOptionalParams extends coreClient.OperationOptions {
513
- }
514
-
515
- // @public
516
- export type OperationsListNextResponse = ResourceProviderOperationList;
517
-
518
- // @public
519
- export interface OperationsListOptionalParams extends coreClient.OperationOptions {
520
- }
521
-
522
- // @public
523
- export type OperationsListResponse = ResourceProviderOperationList;
524
-
525
- // @public
526
- export type ProvisioningState = string;
527
-
528
- // @public
529
- export interface Resource {
530
- readonly id?: string;
531
- readonly name?: string;
532
- readonly systemData?: SystemData;
533
- readonly type?: string;
534
- }
535
-
536
- // @public
537
- export interface ResourceProviderOperationDefinition {
538
- display?: ResourceProviderOperationDisplay;
539
- isDataAction?: boolean;
540
- name?: string;
541
- }
542
-
543
- // @public
544
- export interface ResourceProviderOperationDisplay {
545
- description?: string;
546
- operation?: string;
547
- provider?: string;
548
- resource?: string;
549
- }
550
-
551
- // @public
552
- export interface ResourceProviderOperationList {
553
- readonly nextLink?: string;
554
- readonly value?: ResourceProviderOperationDefinition[];
555
- }
556
-
557
- // @public
558
- export type RunningState = string;
559
-
560
- // @public
561
- export interface SystemData {
562
- createdAt?: Date;
563
- createdBy?: string;
564
- createdByType?: CreatedByType;
565
- lastModifiedAt?: Date;
566
- lastModifiedBy?: string;
567
- lastModifiedByType?: CreatedByType;
568
- }
569
-
570
- // @public
571
- export interface TrackedResource extends Resource {
572
- location: string;
573
- tags?: {
574
- [propertyName: string]: string;
575
- };
576
- }
577
-
578
- // (No @packageDocumentation comment for this package)
579
-
580
- ```
1
+ ## API Report File for "@azure/arm-confidentialledger"
2
+
3
+ > Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
4
+
5
+ ```ts
6
+
7
+ import * as coreAuth from '@azure/core-auth';
8
+ import * as coreClient from '@azure/core-client';
9
+ import { OperationState } from '@azure/core-lro';
10
+ import { PagedAsyncIterableIterator } from '@azure/core-paging';
11
+ import { SimplePollerLike } from '@azure/core-lro';
12
+
13
+ // @public
14
+ export interface AADBasedSecurityPrincipal {
15
+ ledgerRoleName?: LedgerRoleName;
16
+ principalId?: string;
17
+ tenantId?: string;
18
+ }
19
+
20
+ // @public
21
+ export type ApplicationType = string;
22
+
23
+ // @public
24
+ export interface CertBasedSecurityPrincipal {
25
+ cert?: string;
26
+ ledgerRoleName?: LedgerRoleName;
27
+ }
28
+
29
+ // @public
30
+ export interface CertificateTags {
31
+ tags?: {
32
+ [propertyName: string]: string;
33
+ };
34
+ }
35
+
36
+ // @public
37
+ export type CheckNameAvailabilityOperationResponse = CheckNameAvailabilityResponse;
38
+
39
+ // @public
40
+ export interface CheckNameAvailabilityOptionalParams extends coreClient.OperationOptions {
41
+ }
42
+
43
+ // @public
44
+ export type CheckNameAvailabilityReason = string;
45
+
46
+ // @public
47
+ export interface CheckNameAvailabilityRequest {
48
+ name?: string;
49
+ type?: string;
50
+ }
51
+
52
+ // @public
53
+ export interface CheckNameAvailabilityResponse {
54
+ message?: string;
55
+ nameAvailable?: boolean;
56
+ reason?: CheckNameAvailabilityReason;
57
+ }
58
+
59
+ // @public
60
+ export interface ConfidentialLedger extends TrackedResource {
61
+ properties?: LedgerProperties;
62
+ }
63
+
64
+ // @public
65
+ export interface ConfidentialLedgerBackup {
66
+ restoreRegion?: string;
67
+ uri: string;
68
+ }
69
+
70
+ // @public
71
+ export interface ConfidentialLedgerBackupResponse {
72
+ readonly message?: string;
73
+ }
74
+
75
+ // @public (undocumented)
76
+ export class ConfidentialLedgerClient extends coreClient.ServiceClient {
77
+ // (undocumented)
78
+ $host: string;
79
+ constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: ConfidentialLedgerClientOptionalParams);
80
+ // (undocumented)
81
+ apiVersion: string;
82
+ checkNameAvailability(nameAvailabilityRequest: CheckNameAvailabilityRequest, options?: CheckNameAvailabilityOptionalParams): Promise<CheckNameAvailabilityOperationResponse>;
83
+ // (undocumented)
84
+ ledger: Ledger;
85
+ // (undocumented)
86
+ managedCCFOperations: ManagedCCFOperations;
87
+ // (undocumented)
88
+ operations: Operations;
89
+ // (undocumented)
90
+ subscriptionId: string;
91
+ }
92
+
93
+ // @public
94
+ export interface ConfidentialLedgerClientOptionalParams extends coreClient.ServiceClientOptions {
95
+ $host?: string;
96
+ apiVersion?: string;
97
+ endpoint?: string;
98
+ }
99
+
100
+ // @public
101
+ export interface ConfidentialLedgerList {
102
+ nextLink?: string;
103
+ value?: ConfidentialLedger[];
104
+ }
105
+
106
+ // @public
107
+ export interface ConfidentialLedgerRestore {
108
+ fileShareName: string;
109
+ restoreRegion: string;
110
+ uri: string;
111
+ }
112
+
113
+ // @public
114
+ export interface ConfidentialLedgerRestoreResponse {
115
+ readonly message?: string;
116
+ }
117
+
118
+ // @public
119
+ export type CreatedByType = string;
120
+
121
+ // @public
122
+ export interface DeploymentType {
123
+ appSourceUri?: string;
124
+ languageRuntime?: LanguageRuntime;
125
+ }
126
+
127
+ // @public
128
+ export type EnclavePlatform = string;
129
+
130
+ // @public
131
+ export interface ErrorAdditionalInfo {
132
+ readonly info?: Record<string, unknown>;
133
+ readonly type?: string;
134
+ }
135
+
136
+ // @public
137
+ export interface ErrorDetail {
138
+ readonly additionalInfo?: ErrorAdditionalInfo[];
139
+ readonly code?: string;
140
+ readonly details?: ErrorDetail[];
141
+ readonly message?: string;
142
+ readonly target?: string;
143
+ }
144
+
145
+ // @public
146
+ export interface ErrorResponse {
147
+ error?: ErrorDetail;
148
+ }
149
+
150
+ // @public
151
+ export function getContinuationToken(page: unknown): string | undefined;
152
+
153
+ // @public
154
+ export enum KnownApplicationType {
155
+ CodeTransparency = "CodeTransparency",
156
+ ConfidentialLedger = "ConfidentialLedger"
157
+ }
158
+
159
+ // @public
160
+ export enum KnownCheckNameAvailabilityReason {
161
+ AlreadyExists = "AlreadyExists",
162
+ Invalid = "Invalid"
163
+ }
164
+
165
+ // @public
166
+ export enum KnownCreatedByType {
167
+ Application = "Application",
168
+ Key = "Key",
169
+ ManagedIdentity = "ManagedIdentity",
170
+ User = "User"
171
+ }
172
+
173
+ // @public
174
+ export enum KnownEnclavePlatform {
175
+ AmdSevSnp = "AmdSevSnp",
176
+ IntelSgx = "IntelSgx"
177
+ }
178
+
179
+ // @public
180
+ export enum KnownLanguageRuntime {
181
+ CPP = "CPP",
182
+ JS = "JS"
183
+ }
184
+
185
+ // @public
186
+ export enum KnownLedgerRoleName {
187
+ Administrator = "Administrator",
188
+ Contributor = "Contributor",
189
+ Reader = "Reader"
190
+ }
191
+
192
+ // @public
193
+ export enum KnownLedgerSku {
194
+ Basic = "Basic",
195
+ Standard = "Standard",
196
+ Unknown = "Unknown"
197
+ }
198
+
199
+ // @public
200
+ export enum KnownLedgerType {
201
+ Private = "Private",
202
+ Public = "Public",
203
+ Unknown = "Unknown"
204
+ }
205
+
206
+ // @public
207
+ export enum KnownProvisioningState {
208
+ Canceled = "Canceled",
209
+ Creating = "Creating",
210
+ Deleting = "Deleting",
211
+ Failed = "Failed",
212
+ Succeeded = "Succeeded",
213
+ Unknown = "Unknown",
214
+ Updating = "Updating"
215
+ }
216
+
217
+ // @public
218
+ export enum KnownRunningState {
219
+ Active = "Active",
220
+ Paused = "Paused",
221
+ Pausing = "Pausing",
222
+ Resuming = "Resuming",
223
+ Unknown = "Unknown"
224
+ }
225
+
226
+ // @public
227
+ export type LanguageRuntime = string;
228
+
229
+ // @public
230
+ export interface Ledger {
231
+ beginBackup(resourceGroupName: string, ledgerName: string, confidentialLedger: ConfidentialLedgerBackup, options?: LedgerBackupOptionalParams): Promise<SimplePollerLike<OperationState<LedgerBackupResponse>, LedgerBackupResponse>>;
232
+ beginBackupAndWait(resourceGroupName: string, ledgerName: string, confidentialLedger: ConfidentialLedgerBackup, options?: LedgerBackupOptionalParams): Promise<LedgerBackupResponse>;
233
+ beginCreate(resourceGroupName: string, ledgerName: string, confidentialLedger: ConfidentialLedger, options?: LedgerCreateOptionalParams): Promise<SimplePollerLike<OperationState<LedgerCreateResponse>, LedgerCreateResponse>>;
234
+ beginCreateAndWait(resourceGroupName: string, ledgerName: string, confidentialLedger: ConfidentialLedger, options?: LedgerCreateOptionalParams): Promise<LedgerCreateResponse>;
235
+ beginDelete(resourceGroupName: string, ledgerName: string, options?: LedgerDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
236
+ beginDeleteAndWait(resourceGroupName: string, ledgerName: string, options?: LedgerDeleteOptionalParams): Promise<void>;
237
+ beginRestore(resourceGroupName: string, ledgerName: string, confidentialLedger: ConfidentialLedgerRestore, options?: LedgerRestoreOptionalParams): Promise<SimplePollerLike<OperationState<LedgerRestoreResponse>, LedgerRestoreResponse>>;
238
+ beginRestoreAndWait(resourceGroupName: string, ledgerName: string, confidentialLedger: ConfidentialLedgerRestore, options?: LedgerRestoreOptionalParams): Promise<LedgerRestoreResponse>;
239
+ beginUpdate(resourceGroupName: string, ledgerName: string, confidentialLedger: ConfidentialLedger, options?: LedgerUpdateOptionalParams): Promise<SimplePollerLike<OperationState<LedgerUpdateResponse>, LedgerUpdateResponse>>;
240
+ beginUpdateAndWait(resourceGroupName: string, ledgerName: string, confidentialLedger: ConfidentialLedger, options?: LedgerUpdateOptionalParams): Promise<LedgerUpdateResponse>;
241
+ get(resourceGroupName: string, ledgerName: string, options?: LedgerGetOptionalParams): Promise<LedgerGetResponse>;
242
+ listByResourceGroup(resourceGroupName: string, options?: LedgerListByResourceGroupOptionalParams): PagedAsyncIterableIterator<ConfidentialLedger>;
243
+ listBySubscription(options?: LedgerListBySubscriptionOptionalParams): PagedAsyncIterableIterator<ConfidentialLedger>;
244
+ }
245
+
246
+ // @public
247
+ export interface LedgerBackupOptionalParams extends coreClient.OperationOptions {
248
+ resumeFrom?: string;
249
+ updateIntervalInMs?: number;
250
+ }
251
+
252
+ // @public
253
+ export type LedgerBackupResponse = ConfidentialLedgerBackupResponse;
254
+
255
+ // @public
256
+ export interface LedgerCreateOptionalParams extends coreClient.OperationOptions {
257
+ resumeFrom?: string;
258
+ updateIntervalInMs?: number;
259
+ }
260
+
261
+ // @public
262
+ export type LedgerCreateResponse = ConfidentialLedger;
263
+
264
+ // @public
265
+ export interface LedgerDeleteOptionalParams extends coreClient.OperationOptions {
266
+ resumeFrom?: string;
267
+ updateIntervalInMs?: number;
268
+ }
269
+
270
+ // @public
271
+ export interface LedgerGetOptionalParams extends coreClient.OperationOptions {
272
+ }
273
+
274
+ // @public
275
+ export type LedgerGetResponse = ConfidentialLedger;
276
+
277
+ // @public
278
+ export interface LedgerListByResourceGroupNextOptionalParams extends coreClient.OperationOptions {
279
+ }
280
+
281
+ // @public
282
+ export type LedgerListByResourceGroupNextResponse = ConfidentialLedgerList;
283
+
284
+ // @public
285
+ export interface LedgerListByResourceGroupOptionalParams extends coreClient.OperationOptions {
286
+ filter?: string;
287
+ }
288
+
289
+ // @public
290
+ export type LedgerListByResourceGroupResponse = ConfidentialLedgerList;
291
+
292
+ // @public
293
+ export interface LedgerListBySubscriptionNextOptionalParams extends coreClient.OperationOptions {
294
+ }
295
+
296
+ // @public
297
+ export type LedgerListBySubscriptionNextResponse = ConfidentialLedgerList;
298
+
299
+ // @public
300
+ export interface LedgerListBySubscriptionOptionalParams extends coreClient.OperationOptions {
301
+ filter?: string;
302
+ }
303
+
304
+ // @public
305
+ export type LedgerListBySubscriptionResponse = ConfidentialLedgerList;
306
+
307
+ // @public
308
+ export interface LedgerProperties {
309
+ aadBasedSecurityPrincipals?: AADBasedSecurityPrincipal[];
310
+ applicationType?: ApplicationType;
311
+ certBasedSecurityPrincipals?: CertBasedSecurityPrincipal[];
312
+ enclavePlatform?: EnclavePlatform;
313
+ hostLevel?: string;
314
+ readonly identityServiceUri?: string;
315
+ readonly ledgerInternalNamespace?: string;
316
+ readonly ledgerName?: string;
317
+ ledgerSku?: LedgerSku;
318
+ ledgerType?: LedgerType;
319
+ readonly ledgerUri?: string;
320
+ maxBodySizeInMb?: number;
321
+ nodeCount?: number;
322
+ readonly provisioningState?: ProvisioningState;
323
+ runningState?: RunningState;
324
+ subjectName?: string;
325
+ workerThreads?: number;
326
+ writeLBAddressPrefix?: string;
327
+ }
328
+
329
+ // @public
330
+ export interface LedgerRestoreOptionalParams extends coreClient.OperationOptions {
331
+ resumeFrom?: string;
332
+ updateIntervalInMs?: number;
333
+ }
334
+
335
+ // @public
336
+ export type LedgerRestoreResponse = ConfidentialLedgerRestoreResponse;
337
+
338
+ // @public
339
+ export type LedgerRoleName = string;
340
+
341
+ // @public
342
+ export type LedgerSku = string;
343
+
344
+ // @public
345
+ export type LedgerType = string;
346
+
347
+ // @public
348
+ export interface LedgerUpdateOptionalParams extends coreClient.OperationOptions {
349
+ resumeFrom?: string;
350
+ updateIntervalInMs?: number;
351
+ }
352
+
353
+ // @public
354
+ export type LedgerUpdateResponse = ConfidentialLedger;
355
+
356
+ // @public
357
+ export interface ManagedCCF extends TrackedResource {
358
+ properties?: ManagedCCFProperties;
359
+ }
360
+
361
+ // @public
362
+ export interface ManagedCCFBackup {
363
+ restoreRegion?: string;
364
+ uri: string;
365
+ }
366
+
367
+ // @public
368
+ export type ManagedCCFBackupOperationResponse = ManagedCCFBackupResponse;
369
+
370
+ // @public
371
+ export interface ManagedCCFBackupOptionalParams extends coreClient.OperationOptions {
372
+ resumeFrom?: string;
373
+ updateIntervalInMs?: number;
374
+ }
375
+
376
+ // @public
377
+ export interface ManagedCCFBackupResponse {
378
+ readonly message?: string;
379
+ }
380
+
381
+ // @public
382
+ export interface ManagedCCFCreateOptionalParams extends coreClient.OperationOptions {
383
+ resumeFrom?: string;
384
+ updateIntervalInMs?: number;
385
+ }
386
+
387
+ // @public
388
+ export type ManagedCCFCreateResponse = ManagedCCF;
389
+
390
+ // @public
391
+ export interface ManagedCCFDeleteOptionalParams extends coreClient.OperationOptions {
392
+ resumeFrom?: string;
393
+ updateIntervalInMs?: number;
394
+ }
395
+
396
+ // @public
397
+ export interface ManagedCCFGetOptionalParams extends coreClient.OperationOptions {
398
+ }
399
+
400
+ // @public
401
+ export type ManagedCCFGetResponse = ManagedCCF;
402
+
403
+ // @public
404
+ export interface ManagedCCFList {
405
+ nextLink?: string;
406
+ value?: ManagedCCF[];
407
+ }
408
+
409
+ // @public
410
+ export interface ManagedCCFListByResourceGroupNextOptionalParams extends coreClient.OperationOptions {
411
+ }
412
+
413
+ // @public
414
+ export type ManagedCCFListByResourceGroupNextResponse = ManagedCCFList;
415
+
416
+ // @public
417
+ export interface ManagedCCFListByResourceGroupOptionalParams extends coreClient.OperationOptions {
418
+ filter?: string;
419
+ }
420
+
421
+ // @public
422
+ export type ManagedCCFListByResourceGroupResponse = ManagedCCFList;
423
+
424
+ // @public
425
+ export interface ManagedCCFListBySubscriptionNextOptionalParams extends coreClient.OperationOptions {
426
+ }
427
+
428
+ // @public
429
+ export type ManagedCCFListBySubscriptionNextResponse = ManagedCCFList;
430
+
431
+ // @public
432
+ export interface ManagedCCFListBySubscriptionOptionalParams extends coreClient.OperationOptions {
433
+ filter?: string;
434
+ }
435
+
436
+ // @public
437
+ export type ManagedCCFListBySubscriptionResponse = ManagedCCFList;
438
+
439
+ // @public
440
+ export interface ManagedCCFOperations {
441
+ beginBackup(resourceGroupName: string, appName: string, managedCCF: ManagedCCFBackup, options?: ManagedCCFBackupOptionalParams): Promise<SimplePollerLike<OperationState<ManagedCCFBackupOperationResponse>, ManagedCCFBackupOperationResponse>>;
442
+ beginBackupAndWait(resourceGroupName: string, appName: string, managedCCF: ManagedCCFBackup, options?: ManagedCCFBackupOptionalParams): Promise<ManagedCCFBackupOperationResponse>;
443
+ beginCreate(resourceGroupName: string, appName: string, managedCCF: ManagedCCF, options?: ManagedCCFCreateOptionalParams): Promise<SimplePollerLike<OperationState<ManagedCCFCreateResponse>, ManagedCCFCreateResponse>>;
444
+ beginCreateAndWait(resourceGroupName: string, appName: string, managedCCF: ManagedCCF, options?: ManagedCCFCreateOptionalParams): Promise<ManagedCCFCreateResponse>;
445
+ beginDelete(resourceGroupName: string, appName: string, options?: ManagedCCFDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
446
+ beginDeleteAndWait(resourceGroupName: string, appName: string, options?: ManagedCCFDeleteOptionalParams): Promise<void>;
447
+ beginRestore(resourceGroupName: string, appName: string, managedCCF: ManagedCCFRestore, options?: ManagedCCFRestoreOptionalParams): Promise<SimplePollerLike<OperationState<ManagedCCFRestoreOperationResponse>, ManagedCCFRestoreOperationResponse>>;
448
+ beginRestoreAndWait(resourceGroupName: string, appName: string, managedCCF: ManagedCCFRestore, options?: ManagedCCFRestoreOptionalParams): Promise<ManagedCCFRestoreOperationResponse>;
449
+ beginUpdate(resourceGroupName: string, appName: string, managedCCF: ManagedCCF, options?: ManagedCCFUpdateOptionalParams): Promise<SimplePollerLike<OperationState<ManagedCCFUpdateResponse>, ManagedCCFUpdateResponse>>;
450
+ beginUpdateAndWait(resourceGroupName: string, appName: string, managedCCF: ManagedCCF, options?: ManagedCCFUpdateOptionalParams): Promise<ManagedCCFUpdateResponse>;
451
+ get(resourceGroupName: string, appName: string, options?: ManagedCCFGetOptionalParams): Promise<ManagedCCFGetResponse>;
452
+ listByResourceGroup(resourceGroupName: string, options?: ManagedCCFListByResourceGroupOptionalParams): PagedAsyncIterableIterator<ManagedCCF>;
453
+ listBySubscription(options?: ManagedCCFListBySubscriptionOptionalParams): PagedAsyncIterableIterator<ManagedCCF>;
454
+ }
455
+
456
+ // @public
457
+ export interface ManagedCCFProperties {
458
+ readonly appName?: string;
459
+ readonly appUri?: string;
460
+ deploymentType?: DeploymentType;
461
+ enclavePlatform?: EnclavePlatform;
462
+ readonly identityServiceUri?: string;
463
+ memberIdentityCertificates?: MemberIdentityCertificate[];
464
+ nodeCount?: number;
465
+ readonly provisioningState?: ProvisioningState;
466
+ runningState?: RunningState;
467
+ }
468
+
469
+ // @public
470
+ export interface ManagedCCFRestore {
471
+ fileShareName: string;
472
+ restoreRegion: string;
473
+ uri: string;
474
+ }
475
+
476
+ // @public
477
+ export type ManagedCCFRestoreOperationResponse = ManagedCCFRestoreResponse;
478
+
479
+ // @public
480
+ export interface ManagedCCFRestoreOptionalParams extends coreClient.OperationOptions {
481
+ resumeFrom?: string;
482
+ updateIntervalInMs?: number;
483
+ }
484
+
485
+ // @public
486
+ export interface ManagedCCFRestoreResponse {
487
+ readonly message?: string;
488
+ }
489
+
490
+ // @public
491
+ export interface ManagedCCFUpdateOptionalParams extends coreClient.OperationOptions {
492
+ resumeFrom?: string;
493
+ updateIntervalInMs?: number;
494
+ }
495
+
496
+ // @public
497
+ export type ManagedCCFUpdateResponse = ManagedCCF;
498
+
499
+ // @public
500
+ export interface MemberIdentityCertificate {
501
+ certificate?: string;
502
+ encryptionkey?: string;
503
+ tags?: any;
504
+ }
505
+
506
+ // @public
507
+ export interface Operations {
508
+ list(options?: OperationsListOptionalParams): PagedAsyncIterableIterator<ResourceProviderOperationDefinition>;
509
+ }
510
+
511
+ // @public
512
+ export interface OperationsListNextOptionalParams extends coreClient.OperationOptions {
513
+ }
514
+
515
+ // @public
516
+ export type OperationsListNextResponse = ResourceProviderOperationList;
517
+
518
+ // @public
519
+ export interface OperationsListOptionalParams extends coreClient.OperationOptions {
520
+ }
521
+
522
+ // @public
523
+ export type OperationsListResponse = ResourceProviderOperationList;
524
+
525
+ // @public
526
+ export type ProvisioningState = string;
527
+
528
+ // @public
529
+ export interface Resource {
530
+ readonly id?: string;
531
+ readonly name?: string;
532
+ readonly systemData?: SystemData;
533
+ readonly type?: string;
534
+ }
535
+
536
+ // @public
537
+ export interface ResourceProviderOperationDefinition {
538
+ display?: ResourceProviderOperationDisplay;
539
+ isDataAction?: boolean;
540
+ name?: string;
541
+ }
542
+
543
+ // @public
544
+ export interface ResourceProviderOperationDisplay {
545
+ description?: string;
546
+ operation?: string;
547
+ provider?: string;
548
+ resource?: string;
549
+ }
550
+
551
+ // @public
552
+ export interface ResourceProviderOperationList {
553
+ readonly nextLink?: string;
554
+ readonly value?: ResourceProviderOperationDefinition[];
555
+ }
556
+
557
+ // @public
558
+ export type RunningState = string;
559
+
560
+ // @public
561
+ export interface SystemData {
562
+ createdAt?: Date;
563
+ createdBy?: string;
564
+ createdByType?: CreatedByType;
565
+ lastModifiedAt?: Date;
566
+ lastModifiedBy?: string;
567
+ lastModifiedByType?: CreatedByType;
568
+ }
569
+
570
+ // @public
571
+ export interface TrackedResource extends Resource {
572
+ location: string;
573
+ tags?: {
574
+ [propertyName: string]: string;
575
+ };
576
+ }
577
+
578
+ // (No @packageDocumentation comment for this package)
579
+
580
+ ```