@azure/arm-confidentialledger 1.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 +5 -0
- package/LICENSE +21 -0
- package/README.md +109 -0
- package/dist/index.js +1487 -0
- package/dist/index.js.map +1 -0
- package/dist/index.min.js +1 -0
- package/dist/index.min.js.map +1 -0
- package/dist-esm/samples-dev/checkNameAvailabilitySample.d.ts +2 -0
- package/dist-esm/samples-dev/checkNameAvailabilitySample.d.ts.map +1 -0
- package/dist-esm/samples-dev/checkNameAvailabilitySample.js +33 -0
- package/dist-esm/samples-dev/checkNameAvailabilitySample.js.map +1 -0
- package/dist-esm/samples-dev/ledgerCreateSample.d.ts +2 -0
- package/dist-esm/samples-dev/ledgerCreateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/ledgerCreateSample.js +51 -0
- package/dist-esm/samples-dev/ledgerCreateSample.js.map +1 -0
- package/dist-esm/samples-dev/ledgerDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/ledgerDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/ledgerDeleteSample.js +31 -0
- package/dist-esm/samples-dev/ledgerDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/ledgerGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/ledgerGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/ledgerGetSample.js +31 -0
- package/dist-esm/samples-dev/ledgerGetSample.js.map +1 -0
- package/dist-esm/samples-dev/ledgerListByResourceGroupSample.d.ts +2 -0
- package/dist-esm/samples-dev/ledgerListByResourceGroupSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/ledgerListByResourceGroupSample.js +44 -0
- package/dist-esm/samples-dev/ledgerListByResourceGroupSample.js.map +1 -0
- package/dist-esm/samples-dev/ledgerListBySubscriptionSample.d.ts +2 -0
- package/dist-esm/samples-dev/ledgerListBySubscriptionSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/ledgerListBySubscriptionSample.js +43 -0
- package/dist-esm/samples-dev/ledgerListBySubscriptionSample.js.map +1 -0
- package/dist-esm/samples-dev/ledgerUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/ledgerUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/ledgerUpdateSample.js +54 -0
- package/dist-esm/samples-dev/ledgerUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/operationsListSample.d.ts +2 -0
- package/dist-esm/samples-dev/operationsListSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/operationsListSample.js +43 -0
- package/dist-esm/samples-dev/operationsListSample.js.map +1 -0
- package/dist-esm/src/confidentialLedgerClient.d.ts +28 -0
- package/dist-esm/src/confidentialLedgerClient.d.ts.map +1 -0
- package/dist-esm/src/confidentialLedgerClient.js +130 -0
- package/dist-esm/src/confidentialLedgerClient.js.map +1 -0
- package/dist-esm/src/index.d.ts +5 -0
- package/dist-esm/src/index.d.ts.map +1 -0
- package/dist-esm/src/index.js +12 -0
- package/dist-esm/src/index.js.map +1 -0
- package/dist-esm/src/lroImpl.d.ts +16 -0
- package/dist-esm/src/lroImpl.d.ts.map +1 -0
- package/dist-esm/src/lroImpl.js +29 -0
- package/dist-esm/src/lroImpl.js.map +1 -0
- package/dist-esm/src/models/index.d.ts +379 -0
- package/dist-esm/src/models/index.d.ts.map +1 -0
- package/dist-esm/src/models/index.js +47 -0
- package/dist-esm/src/models/index.js.map +1 -0
- package/dist-esm/src/models/mappers.d.ts +19 -0
- package/dist-esm/src/models/mappers.d.ts.map +1 -0
- package/dist-esm/src/models/mappers.js +501 -0
- package/dist-esm/src/models/mappers.js.map +1 -0
- package/dist-esm/src/models/parameters.d.ts +13 -0
- package/dist-esm/src/models/parameters.d.ts.map +1 -0
- package/dist-esm/src/models/parameters.js +118 -0
- package/dist-esm/src/models/parameters.js.map +1 -0
- package/dist-esm/src/operations/index.d.ts +3 -0
- package/dist-esm/src/operations/index.d.ts.map +1 -0
- package/dist-esm/src/operations/index.js +10 -0
- package/dist-esm/src/operations/index.js.map +1 -0
- package/dist-esm/src/operations/ledger.d.ts +107 -0
- package/dist-esm/src/operations/ledger.d.ts.map +1 -0
- package/dist-esm/src/operations/ledger.js +507 -0
- package/dist-esm/src/operations/ledger.js.map +1 -0
- package/dist-esm/src/operations/operations.d.ts +32 -0
- package/dist-esm/src/operations/operations.d.ts.map +1 -0
- package/dist-esm/src/operations/operations.js +120 -0
- package/dist-esm/src/operations/operations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts +3 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.js +10 -0
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/ledger.d.ts +71 -0
- package/dist-esm/src/operationsInterfaces/ledger.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/ledger.js +9 -0
- package/dist-esm/src/operationsInterfaces/ledger.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/operations.d.ts +11 -0
- package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/operations.js +9 -0
- package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
- package/dist-esm/test/sampleTest.d.ts +2 -0
- package/dist-esm/test/sampleTest.d.ts.map +1 -0
- package/dist-esm/test/sampleTest.js +38 -0
- package/dist-esm/test/sampleTest.js.map +1 -0
- package/package.json +122 -0
- package/review/arm-confidentialledger.api.md +333 -0
- package/rollup.config.js +122 -0
- package/src/confidentialLedgerClient.ts +181 -0
- package/src/index.ts +12 -0
- package/src/lroImpl.ts +34 -0
- package/src/models/index.ts +442 -0
- package/src/models/mappers.ts +524 -0
- package/src/models/parameters.ts +137 -0
- package/src/operations/index.ts +10 -0
- package/src/operations/ledger.ts +674 -0
- package/src/operations/operations.ts +137 -0
- package/src/operationsInterfaces/index.ts +10 -0
- package/src/operationsInterfaces/ledger.ts +132 -0
- package/src/operationsInterfaces/operations.ts +25 -0
- package/tsconfig.json +33 -0
- package/types/arm-confidentialledger.d.ts +534 -0
- package/types/tsdoc-metadata.json +11 -0
@@ -0,0 +1,534 @@
|
|
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
|
+
/** AAD based security principal with associated Ledger RoleName */
|
8
|
+
export declare interface AADBasedSecurityPrincipal {
|
9
|
+
/** UUID/GUID based Principal Id of the Security Principal */
|
10
|
+
principalId?: string;
|
11
|
+
/** UUID/GUID based Tenant Id of the Security Principal */
|
12
|
+
tenantId?: string;
|
13
|
+
/** LedgerRole associated with the Security Principal of Ledger */
|
14
|
+
ledgerRoleName?: LedgerRoleName;
|
15
|
+
}
|
16
|
+
|
17
|
+
/** Cert based security principal with Ledger RoleName */
|
18
|
+
export declare interface CertBasedSecurityPrincipal {
|
19
|
+
/** Public key of the user cert (.pem or .cer) */
|
20
|
+
cert?: string;
|
21
|
+
/** LedgerRole associated with the Security Principal of Ledger */
|
22
|
+
ledgerRoleName?: LedgerRoleName;
|
23
|
+
}
|
24
|
+
|
25
|
+
/** Contains response data for the checkNameAvailability operation. */
|
26
|
+
export declare type CheckNameAvailabilityOperationResponse = CheckNameAvailabilityResponse;
|
27
|
+
|
28
|
+
/** Optional parameters. */
|
29
|
+
export declare interface CheckNameAvailabilityOptionalParams extends coreClient.OperationOptions {
|
30
|
+
}
|
31
|
+
|
32
|
+
/**
|
33
|
+
* Defines values for CheckNameAvailabilityReason. \
|
34
|
+
* {@link KnownCheckNameAvailabilityReason} can be used interchangeably with CheckNameAvailabilityReason,
|
35
|
+
* this enum contains the known values that the service supports.
|
36
|
+
* ### Known values supported by the service
|
37
|
+
* **Invalid** \
|
38
|
+
* **AlreadyExists**
|
39
|
+
*/
|
40
|
+
export declare type CheckNameAvailabilityReason = string;
|
41
|
+
|
42
|
+
/** The check availability request body. */
|
43
|
+
export declare interface CheckNameAvailabilityRequest {
|
44
|
+
/** The name of the resource for which availability needs to be checked. */
|
45
|
+
name?: string;
|
46
|
+
/** The resource type. */
|
47
|
+
type?: string;
|
48
|
+
}
|
49
|
+
|
50
|
+
/** The check availability result. */
|
51
|
+
export declare interface CheckNameAvailabilityResponse {
|
52
|
+
/** Indicates if the resource name is available. */
|
53
|
+
nameAvailable?: boolean;
|
54
|
+
/** The reason why the given name is not available. */
|
55
|
+
reason?: CheckNameAvailabilityReason;
|
56
|
+
/** Detailed reason why the given name is available. */
|
57
|
+
message?: string;
|
58
|
+
}
|
59
|
+
|
60
|
+
/** Confidential Ledger. Contains the properties of Confidential Ledger Resource. */
|
61
|
+
export declare type ConfidentialLedger = Resource & ResourceLocation & Tags & {
|
62
|
+
/** Properties of Confidential Ledger Resource. */
|
63
|
+
properties?: LedgerProperties;
|
64
|
+
};
|
65
|
+
|
66
|
+
export declare class ConfidentialLedgerClient extends coreClient.ServiceClient {
|
67
|
+
$host: string;
|
68
|
+
apiVersion: string;
|
69
|
+
subscriptionId: string;
|
70
|
+
/**
|
71
|
+
* Initializes a new instance of the ConfidentialLedgerClient class.
|
72
|
+
* @param credentials Subscription credentials which uniquely identify client subscription.
|
73
|
+
* @param subscriptionId The Azure subscription ID. This is a GUID-formatted string (e.g.
|
74
|
+
* 00000000-0000-0000-0000-000000000000)
|
75
|
+
* @param options The parameter options
|
76
|
+
*/
|
77
|
+
constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: ConfidentialLedgerClientOptionalParams);
|
78
|
+
/** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
|
79
|
+
private addCustomApiVersionPolicy;
|
80
|
+
/**
|
81
|
+
* To check whether a resource name is available.
|
82
|
+
* @param nameAvailabilityRequest Name availability request payload.
|
83
|
+
* @param options The options parameters.
|
84
|
+
*/
|
85
|
+
checkNameAvailability(nameAvailabilityRequest: CheckNameAvailabilityRequest, options?: CheckNameAvailabilityOptionalParams): Promise<CheckNameAvailabilityOperationResponse>;
|
86
|
+
operations: Operations;
|
87
|
+
ledger: Ledger;
|
88
|
+
}
|
89
|
+
|
90
|
+
/** Optional parameters. */
|
91
|
+
export declare interface ConfidentialLedgerClientOptionalParams extends coreClient.ServiceClientOptions {
|
92
|
+
/** server parameter */
|
93
|
+
$host?: string;
|
94
|
+
/** Api Version */
|
95
|
+
apiVersion?: string;
|
96
|
+
/** Overrides client endpoint. */
|
97
|
+
endpoint?: string;
|
98
|
+
}
|
99
|
+
|
100
|
+
/** Object that includes an array of Confidential Ledgers and a possible link for next set. */
|
101
|
+
export declare interface ConfidentialLedgerList {
|
102
|
+
/** List of Confidential Ledgers */
|
103
|
+
value?: ConfidentialLedger[];
|
104
|
+
/** The URL the client should use to fetch the next page (per server side paging). */
|
105
|
+
nextLink?: string;
|
106
|
+
}
|
107
|
+
|
108
|
+
/**
|
109
|
+
* Defines values for CreatedByType. \
|
110
|
+
* {@link KnownCreatedByType} can be used interchangeably with CreatedByType,
|
111
|
+
* this enum contains the known values that the service supports.
|
112
|
+
* ### Known values supported by the service
|
113
|
+
* **User** \
|
114
|
+
* **Application** \
|
115
|
+
* **ManagedIdentity** \
|
116
|
+
* **Key**
|
117
|
+
*/
|
118
|
+
export declare type CreatedByType = string;
|
119
|
+
|
120
|
+
/** The resource management error additional info. */
|
121
|
+
export declare interface ErrorAdditionalInfo {
|
122
|
+
/**
|
123
|
+
* The additional info type.
|
124
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
125
|
+
*/
|
126
|
+
readonly type?: string;
|
127
|
+
/**
|
128
|
+
* The additional info.
|
129
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
130
|
+
*/
|
131
|
+
readonly info?: Record<string, unknown>;
|
132
|
+
}
|
133
|
+
|
134
|
+
/** The error detail. */
|
135
|
+
export declare interface ErrorDetail {
|
136
|
+
/**
|
137
|
+
* The error code.
|
138
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
139
|
+
*/
|
140
|
+
readonly code?: string;
|
141
|
+
/**
|
142
|
+
* The error message.
|
143
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
144
|
+
*/
|
145
|
+
readonly message?: string;
|
146
|
+
/**
|
147
|
+
* The error target.
|
148
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
149
|
+
*/
|
150
|
+
readonly target?: string;
|
151
|
+
/**
|
152
|
+
* The error details.
|
153
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
154
|
+
*/
|
155
|
+
readonly details?: ErrorDetail[];
|
156
|
+
/**
|
157
|
+
* The error additional info.
|
158
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
159
|
+
*/
|
160
|
+
readonly additionalInfo?: ErrorAdditionalInfo[];
|
161
|
+
}
|
162
|
+
|
163
|
+
/** Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.). */
|
164
|
+
export declare interface ErrorResponse {
|
165
|
+
/** The error object. */
|
166
|
+
error?: ErrorDetail;
|
167
|
+
}
|
168
|
+
|
169
|
+
/** Known values of {@link CheckNameAvailabilityReason} that the service accepts. */
|
170
|
+
export declare enum KnownCheckNameAvailabilityReason {
|
171
|
+
Invalid = "Invalid",
|
172
|
+
AlreadyExists = "AlreadyExists"
|
173
|
+
}
|
174
|
+
|
175
|
+
/** Known values of {@link CreatedByType} that the service accepts. */
|
176
|
+
export declare enum KnownCreatedByType {
|
177
|
+
User = "User",
|
178
|
+
Application = "Application",
|
179
|
+
ManagedIdentity = "ManagedIdentity",
|
180
|
+
Key = "Key"
|
181
|
+
}
|
182
|
+
|
183
|
+
/** Known values of {@link LedgerRoleName} that the service accepts. */
|
184
|
+
export declare enum KnownLedgerRoleName {
|
185
|
+
Reader = "Reader",
|
186
|
+
Contributor = "Contributor",
|
187
|
+
Administrator = "Administrator"
|
188
|
+
}
|
189
|
+
|
190
|
+
/** Known values of {@link LedgerType} that the service accepts. */
|
191
|
+
export declare enum KnownLedgerType {
|
192
|
+
Unknown = "Unknown",
|
193
|
+
Public = "Public",
|
194
|
+
Private = "Private"
|
195
|
+
}
|
196
|
+
|
197
|
+
/** Known values of {@link ProvisioningState} that the service accepts. */
|
198
|
+
export declare enum KnownProvisioningState {
|
199
|
+
Unknown = "Unknown",
|
200
|
+
Succeeded = "Succeeded",
|
201
|
+
Failed = "Failed",
|
202
|
+
Canceled = "Canceled",
|
203
|
+
Creating = "Creating",
|
204
|
+
Deleting = "Deleting",
|
205
|
+
Updating = "Updating"
|
206
|
+
}
|
207
|
+
|
208
|
+
/** Interface representing a Ledger. */
|
209
|
+
export declare interface Ledger {
|
210
|
+
/**
|
211
|
+
* Retrieves the properties of all Confidential Ledgers.
|
212
|
+
* @param resourceGroupName The name of the resource group.
|
213
|
+
* @param options The options parameters.
|
214
|
+
*/
|
215
|
+
listByResourceGroup(resourceGroupName: string, options?: LedgerListByResourceGroupOptionalParams): PagedAsyncIterableIterator<ConfidentialLedger>;
|
216
|
+
/**
|
217
|
+
* Retrieves the properties of all Confidential Ledgers.
|
218
|
+
* @param options The options parameters.
|
219
|
+
*/
|
220
|
+
listBySubscription(options?: LedgerListBySubscriptionOptionalParams): PagedAsyncIterableIterator<ConfidentialLedger>;
|
221
|
+
/**
|
222
|
+
* Retrieves the properties of a Confidential Ledger.
|
223
|
+
* @param resourceGroupName The name of the resource group.
|
224
|
+
* @param ledgerName Name of the Confidential Ledger
|
225
|
+
* @param options The options parameters.
|
226
|
+
*/
|
227
|
+
get(resourceGroupName: string, ledgerName: string, options?: LedgerGetOptionalParams): Promise<LedgerGetResponse>;
|
228
|
+
/**
|
229
|
+
* Deletes an existing Confidential Ledger.
|
230
|
+
* @param resourceGroupName The name of the resource group.
|
231
|
+
* @param ledgerName Name of the Confidential Ledger
|
232
|
+
* @param options The options parameters.
|
233
|
+
*/
|
234
|
+
beginDelete(resourceGroupName: string, ledgerName: string, options?: LedgerDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
|
235
|
+
/**
|
236
|
+
* Deletes an existing Confidential Ledger.
|
237
|
+
* @param resourceGroupName The name of the resource group.
|
238
|
+
* @param ledgerName Name of the Confidential Ledger
|
239
|
+
* @param options The options parameters.
|
240
|
+
*/
|
241
|
+
beginDeleteAndWait(resourceGroupName: string, ledgerName: string, options?: LedgerDeleteOptionalParams): Promise<void>;
|
242
|
+
/**
|
243
|
+
* Creates a Confidential Ledger with the specified ledger parameters.
|
244
|
+
* @param resourceGroupName The name of the resource group.
|
245
|
+
* @param ledgerName Name of the Confidential Ledger
|
246
|
+
* @param confidentialLedger Confidential Ledger Create Request Body
|
247
|
+
* @param options The options parameters.
|
248
|
+
*/
|
249
|
+
beginCreate(resourceGroupName: string, ledgerName: string, confidentialLedger: ConfidentialLedger, options?: LedgerCreateOptionalParams): Promise<PollerLike<PollOperationState<LedgerCreateResponse>, LedgerCreateResponse>>;
|
250
|
+
/**
|
251
|
+
* Creates a Confidential Ledger with the specified ledger parameters.
|
252
|
+
* @param resourceGroupName The name of the resource group.
|
253
|
+
* @param ledgerName Name of the Confidential Ledger
|
254
|
+
* @param confidentialLedger Confidential Ledger Create Request Body
|
255
|
+
* @param options The options parameters.
|
256
|
+
*/
|
257
|
+
beginCreateAndWait(resourceGroupName: string, ledgerName: string, confidentialLedger: ConfidentialLedger, options?: LedgerCreateOptionalParams): Promise<LedgerCreateResponse>;
|
258
|
+
/**
|
259
|
+
* Updates properties of Confidential Ledger
|
260
|
+
* @param resourceGroupName The name of the resource group.
|
261
|
+
* @param ledgerName Name of the Confidential Ledger
|
262
|
+
* @param confidentialLedger Confidential Ledger request body for Updating Ledger
|
263
|
+
* @param options The options parameters.
|
264
|
+
*/
|
265
|
+
beginUpdate(resourceGroupName: string, ledgerName: string, confidentialLedger: ConfidentialLedger, options?: LedgerUpdateOptionalParams): Promise<PollerLike<PollOperationState<LedgerUpdateResponse>, LedgerUpdateResponse>>;
|
266
|
+
/**
|
267
|
+
* Updates properties of Confidential Ledger
|
268
|
+
* @param resourceGroupName The name of the resource group.
|
269
|
+
* @param ledgerName Name of the Confidential Ledger
|
270
|
+
* @param confidentialLedger Confidential Ledger request body for Updating Ledger
|
271
|
+
* @param options The options parameters.
|
272
|
+
*/
|
273
|
+
beginUpdateAndWait(resourceGroupName: string, ledgerName: string, confidentialLedger: ConfidentialLedger, options?: LedgerUpdateOptionalParams): Promise<LedgerUpdateResponse>;
|
274
|
+
}
|
275
|
+
|
276
|
+
/** Optional parameters. */
|
277
|
+
export declare interface LedgerCreateOptionalParams extends coreClient.OperationOptions {
|
278
|
+
/** Delay to wait until next poll, in milliseconds. */
|
279
|
+
updateIntervalInMs?: number;
|
280
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
281
|
+
resumeFrom?: string;
|
282
|
+
}
|
283
|
+
|
284
|
+
/** Contains response data for the create operation. */
|
285
|
+
export declare type LedgerCreateResponse = ConfidentialLedger;
|
286
|
+
|
287
|
+
/** Optional parameters. */
|
288
|
+
export declare interface LedgerDeleteOptionalParams extends coreClient.OperationOptions {
|
289
|
+
/** Delay to wait until next poll, in milliseconds. */
|
290
|
+
updateIntervalInMs?: number;
|
291
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
292
|
+
resumeFrom?: string;
|
293
|
+
}
|
294
|
+
|
295
|
+
/** Optional parameters. */
|
296
|
+
export declare interface LedgerGetOptionalParams extends coreClient.OperationOptions {
|
297
|
+
}
|
298
|
+
|
299
|
+
/** Contains response data for the get operation. */
|
300
|
+
export declare type LedgerGetResponse = ConfidentialLedger;
|
301
|
+
|
302
|
+
/** Optional parameters. */
|
303
|
+
export declare interface LedgerListByResourceGroupNextOptionalParams extends coreClient.OperationOptions {
|
304
|
+
/** The filter to apply on the list operation. eg. $filter=ledgerType eq 'Public' */
|
305
|
+
filter?: string;
|
306
|
+
}
|
307
|
+
|
308
|
+
/** Contains response data for the listByResourceGroupNext operation. */
|
309
|
+
export declare type LedgerListByResourceGroupNextResponse = ConfidentialLedgerList;
|
310
|
+
|
311
|
+
/** Optional parameters. */
|
312
|
+
export declare interface LedgerListByResourceGroupOptionalParams extends coreClient.OperationOptions {
|
313
|
+
/** The filter to apply on the list operation. eg. $filter=ledgerType eq 'Public' */
|
314
|
+
filter?: string;
|
315
|
+
}
|
316
|
+
|
317
|
+
/** Contains response data for the listByResourceGroup operation. */
|
318
|
+
export declare type LedgerListByResourceGroupResponse = ConfidentialLedgerList;
|
319
|
+
|
320
|
+
/** Optional parameters. */
|
321
|
+
export declare interface LedgerListBySubscriptionNextOptionalParams extends coreClient.OperationOptions {
|
322
|
+
/** The filter to apply on the list operation. eg. $filter=ledgerType eq 'Public' */
|
323
|
+
filter?: string;
|
324
|
+
}
|
325
|
+
|
326
|
+
/** Contains response data for the listBySubscriptionNext operation. */
|
327
|
+
export declare type LedgerListBySubscriptionNextResponse = ConfidentialLedgerList;
|
328
|
+
|
329
|
+
/** Optional parameters. */
|
330
|
+
export declare interface LedgerListBySubscriptionOptionalParams extends coreClient.OperationOptions {
|
331
|
+
/** The filter to apply on the list operation. eg. $filter=ledgerType eq 'Public' */
|
332
|
+
filter?: string;
|
333
|
+
}
|
334
|
+
|
335
|
+
/** Contains response data for the listBySubscription operation. */
|
336
|
+
export declare type LedgerListBySubscriptionResponse = ConfidentialLedgerList;
|
337
|
+
|
338
|
+
/** Additional Confidential Ledger properties. */
|
339
|
+
export declare interface LedgerProperties {
|
340
|
+
/**
|
341
|
+
* Unique name for the Confidential Ledger.
|
342
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
343
|
+
*/
|
344
|
+
readonly ledgerName?: string;
|
345
|
+
/**
|
346
|
+
* Endpoint for calling Ledger Service.
|
347
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
348
|
+
*/
|
349
|
+
readonly ledgerUri?: string;
|
350
|
+
/**
|
351
|
+
* Endpoint for accessing network identity.
|
352
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
353
|
+
*/
|
354
|
+
readonly identityServiceUri?: string;
|
355
|
+
/**
|
356
|
+
* Internal namespace for the Ledger
|
357
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
358
|
+
*/
|
359
|
+
readonly ledgerInternalNamespace?: string;
|
360
|
+
/** Type of Confidential Ledger */
|
361
|
+
ledgerType?: LedgerType;
|
362
|
+
/**
|
363
|
+
* Provisioning state of Ledger Resource
|
364
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
365
|
+
*/
|
366
|
+
readonly provisioningState?: ProvisioningState;
|
367
|
+
/** Array of all AAD based Security Principals. */
|
368
|
+
aadBasedSecurityPrincipals?: AADBasedSecurityPrincipal[];
|
369
|
+
/** Array of all cert based Security Principals. */
|
370
|
+
certBasedSecurityPrincipals?: CertBasedSecurityPrincipal[];
|
371
|
+
}
|
372
|
+
|
373
|
+
/**
|
374
|
+
* Defines values for LedgerRoleName. \
|
375
|
+
* {@link KnownLedgerRoleName} can be used interchangeably with LedgerRoleName,
|
376
|
+
* this enum contains the known values that the service supports.
|
377
|
+
* ### Known values supported by the service
|
378
|
+
* **Reader** \
|
379
|
+
* **Contributor** \
|
380
|
+
* **Administrator**
|
381
|
+
*/
|
382
|
+
export declare type LedgerRoleName = string;
|
383
|
+
|
384
|
+
/**
|
385
|
+
* Defines values for LedgerType. \
|
386
|
+
* {@link KnownLedgerType} can be used interchangeably with LedgerType,
|
387
|
+
* this enum contains the known values that the service supports.
|
388
|
+
* ### Known values supported by the service
|
389
|
+
* **Unknown** \
|
390
|
+
* **Public** \
|
391
|
+
* **Private**
|
392
|
+
*/
|
393
|
+
export declare type LedgerType = string;
|
394
|
+
|
395
|
+
/** Optional parameters. */
|
396
|
+
export declare interface LedgerUpdateOptionalParams extends coreClient.OperationOptions {
|
397
|
+
/** Delay to wait until next poll, in milliseconds. */
|
398
|
+
updateIntervalInMs?: number;
|
399
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
400
|
+
resumeFrom?: string;
|
401
|
+
}
|
402
|
+
|
403
|
+
/** Contains response data for the update operation. */
|
404
|
+
export declare type LedgerUpdateResponse = ConfidentialLedger;
|
405
|
+
|
406
|
+
/** Interface representing a Operations. */
|
407
|
+
export declare interface Operations {
|
408
|
+
/**
|
409
|
+
* Retrieves a list of available API operations
|
410
|
+
* @param options The options parameters.
|
411
|
+
*/
|
412
|
+
list(options?: OperationsListOptionalParams): PagedAsyncIterableIterator<ResourceProviderOperationDefinition>;
|
413
|
+
}
|
414
|
+
|
415
|
+
/** Optional parameters. */
|
416
|
+
export declare interface OperationsListNextOptionalParams extends coreClient.OperationOptions {
|
417
|
+
}
|
418
|
+
|
419
|
+
/** Contains response data for the listNext operation. */
|
420
|
+
export declare type OperationsListNextResponse = ResourceProviderOperationList;
|
421
|
+
|
422
|
+
/** Optional parameters. */
|
423
|
+
export declare interface OperationsListOptionalParams extends coreClient.OperationOptions {
|
424
|
+
}
|
425
|
+
|
426
|
+
/** Contains response data for the list operation. */
|
427
|
+
export declare type OperationsListResponse = ResourceProviderOperationList;
|
428
|
+
|
429
|
+
/**
|
430
|
+
* Defines values for ProvisioningState. \
|
431
|
+
* {@link KnownProvisioningState} can be used interchangeably with ProvisioningState,
|
432
|
+
* this enum contains the known values that the service supports.
|
433
|
+
* ### Known values supported by the service
|
434
|
+
* **Unknown** \
|
435
|
+
* **Succeeded** \
|
436
|
+
* **Failed** \
|
437
|
+
* **Canceled** \
|
438
|
+
* **Creating** \
|
439
|
+
* **Deleting** \
|
440
|
+
* **Updating**
|
441
|
+
*/
|
442
|
+
export declare type ProvisioningState = string;
|
443
|
+
|
444
|
+
/** An Azure resource. */
|
445
|
+
export declare interface Resource {
|
446
|
+
/**
|
447
|
+
* Name of the Resource.
|
448
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
449
|
+
*/
|
450
|
+
readonly name?: string;
|
451
|
+
/**
|
452
|
+
* Fully qualified resource Id for the resource.
|
453
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
454
|
+
*/
|
455
|
+
readonly id?: string;
|
456
|
+
/**
|
457
|
+
* The type of the resource.
|
458
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
459
|
+
*/
|
460
|
+
readonly type?: string;
|
461
|
+
/**
|
462
|
+
* Metadata pertaining to creation and last modification of the resource
|
463
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
464
|
+
*/
|
465
|
+
readonly systemData?: SystemData;
|
466
|
+
}
|
467
|
+
|
468
|
+
/** Location of the ARM Resource */
|
469
|
+
export declare interface ResourceLocation {
|
470
|
+
/** The Azure location where the Confidential Ledger is running. */
|
471
|
+
location?: string;
|
472
|
+
}
|
473
|
+
|
474
|
+
/** Describes the Resource Provider Operation. */
|
475
|
+
export declare interface ResourceProviderOperationDefinition {
|
476
|
+
/** Resource provider operation name. */
|
477
|
+
name?: string;
|
478
|
+
/** Indicates whether the operation is data action or not. */
|
479
|
+
isDataAction?: boolean;
|
480
|
+
/** Details about the operations */
|
481
|
+
display?: ResourceProviderOperationDisplay;
|
482
|
+
}
|
483
|
+
|
484
|
+
/** Describes the properties of the Operation. */
|
485
|
+
export declare interface ResourceProviderOperationDisplay {
|
486
|
+
/** Name of the resource provider. */
|
487
|
+
provider?: string;
|
488
|
+
/** Name of the resource type. */
|
489
|
+
resource?: string;
|
490
|
+
/** Name of the resource provider operation. */
|
491
|
+
operation?: string;
|
492
|
+
/** Description of the resource provider operation. */
|
493
|
+
description?: string;
|
494
|
+
}
|
495
|
+
|
496
|
+
/** List containing this Resource Provider's available operations. */
|
497
|
+
export declare interface ResourceProviderOperationList {
|
498
|
+
/**
|
499
|
+
* Resource provider operations list.
|
500
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
501
|
+
*/
|
502
|
+
readonly value?: ResourceProviderOperationDefinition[];
|
503
|
+
/**
|
504
|
+
* The URI that can be used to request the next page for list of Azure operations.
|
505
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
506
|
+
*/
|
507
|
+
readonly nextLink?: string;
|
508
|
+
}
|
509
|
+
|
510
|
+
/** Metadata pertaining to creation and last modification of the resource. */
|
511
|
+
export declare interface SystemData {
|
512
|
+
/** The identity that created the resource. */
|
513
|
+
createdBy?: string;
|
514
|
+
/** The type of identity that created the resource. */
|
515
|
+
createdByType?: CreatedByType;
|
516
|
+
/** The timestamp of resource creation (UTC). */
|
517
|
+
createdAt?: Date;
|
518
|
+
/** The identity that last modified the resource. */
|
519
|
+
lastModifiedBy?: string;
|
520
|
+
/** The type of identity that last modified the resource. */
|
521
|
+
lastModifiedByType?: CreatedByType;
|
522
|
+
/** The timestamp of resource last modification (UTC) */
|
523
|
+
lastModifiedAt?: Date;
|
524
|
+
}
|
525
|
+
|
526
|
+
/** Tags for Confidential Ledger Resource */
|
527
|
+
export declare interface Tags {
|
528
|
+
/** Additional tags for Confidential Ledger */
|
529
|
+
tags?: {
|
530
|
+
[propertyName: string]: string;
|
531
|
+
};
|
532
|
+
}
|
533
|
+
|
534
|
+
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.18.11"
|
9
|
+
}
|
10
|
+
]
|
11
|
+
}
|