@azure/arm-confidentialledger 1.2.1-alpha.20230320.1 → 1.3.0-alpha.20230419.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/CHANGELOG.md +33 -10
- package/README.md +1 -1
- package/dist/index.js +889 -105
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/dist-esm/samples-dev/checkNameAvailabilitySample.js +1 -1
- package/dist-esm/samples-dev/ledgerCreateSample.js +1 -1
- package/dist-esm/samples-dev/ledgerDeleteSample.js +1 -1
- package/dist-esm/samples-dev/ledgerGetSample.js +1 -1
- package/dist-esm/samples-dev/ledgerListByResourceGroupSample.js +13 -6
- package/dist-esm/samples-dev/ledgerListByResourceGroupSample.js.map +1 -1
- package/dist-esm/samples-dev/ledgerListBySubscriptionSample.js +13 -6
- package/dist-esm/samples-dev/ledgerListBySubscriptionSample.js.map +1 -1
- package/dist-esm/samples-dev/ledgerUpdateSample.js +1 -1
- package/dist-esm/samples-dev/managedCcfCreateSample.d.ts +2 -0
- package/dist-esm/samples-dev/managedCcfCreateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/managedCcfCreateSample.js +58 -0
- package/dist-esm/samples-dev/managedCcfCreateSample.js.map +1 -0
- package/dist-esm/samples-dev/managedCcfDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/managedCcfDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/managedCcfDeleteSample.js +40 -0
- package/dist-esm/samples-dev/managedCcfDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/managedCcfGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/managedCcfGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/managedCcfGetSample.js +40 -0
- package/dist-esm/samples-dev/managedCcfGetSample.js.map +1 -0
- package/dist-esm/samples-dev/managedCcfListByResourceGroupSample.d.ts +2 -0
- package/dist-esm/samples-dev/managedCcfListByResourceGroupSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/managedCcfListByResourceGroupSample.js +60 -0
- package/dist-esm/samples-dev/managedCcfListByResourceGroupSample.js.map +1 -0
- package/dist-esm/samples-dev/managedCcfListBySubscriptionSample.d.ts +2 -0
- package/dist-esm/samples-dev/managedCcfListBySubscriptionSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/managedCcfListBySubscriptionSample.js +58 -0
- package/dist-esm/samples-dev/managedCcfListBySubscriptionSample.js.map +1 -0
- package/dist-esm/samples-dev/managedCcfUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/managedCcfUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/managedCcfUpdateSample.js +50 -0
- package/dist-esm/samples-dev/managedCcfUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/operationsListSample.js +13 -6
- package/dist-esm/samples-dev/operationsListSample.js.map +1 -1
- package/dist-esm/src/confidentialLedgerClient.d.ts +3 -3
- package/dist-esm/src/confidentialLedgerClient.d.ts.map +1 -1
- package/dist-esm/src/confidentialLedgerClient.js +5 -5
- package/dist-esm/src/confidentialLedgerClient.js.map +1 -1
- package/dist-esm/src/lroImpl.d.ts +6 -11
- package/dist-esm/src/lroImpl.d.ts.map +1 -1
- package/dist-esm/src/lroImpl.js +12 -20
- package/dist-esm/src/lroImpl.js.map +1 -1
- package/dist-esm/src/models/index.d.ts +191 -28
- package/dist-esm/src/models/index.d.ts.map +1 -1
- package/dist-esm/src/models/index.js +22 -0
- package/dist-esm/src/models/index.js.map +1 -1
- package/dist-esm/src/models/mappers.d.ts +7 -1
- package/dist-esm/src/models/mappers.d.ts.map +1 -1
- package/dist-esm/src/models/mappers.js +188 -16
- package/dist-esm/src/models/mappers.js.map +1 -1
- package/dist-esm/src/models/parameters.d.ts +2 -0
- package/dist-esm/src/models/parameters.d.ts.map +1 -1
- package/dist-esm/src/models/parameters.js +23 -3
- package/dist-esm/src/models/parameters.js.map +1 -1
- package/dist-esm/src/operations/index.d.ts +1 -0
- package/dist-esm/src/operations/index.d.ts.map +1 -1
- package/dist-esm/src/operations/index.js +1 -0
- package/dist-esm/src/operations/index.js.map +1 -1
- package/dist-esm/src/operations/ledger.d.ts +14 -14
- package/dist-esm/src/operations/ledger.d.ts.map +1 -1
- package/dist-esm/src/operations/ledger.js +61 -35
- package/dist-esm/src/operations/ledger.js.map +1 -1
- package/dist-esm/src/operations/managedCCFOperations.d.ts +107 -0
- package/dist-esm/src/operations/managedCCFOperations.d.ts.map +1 -0
- package/dist-esm/src/operations/managedCCFOperations.js +546 -0
- package/dist-esm/src/operations/managedCCFOperations.js.map +1 -0
- package/dist-esm/src/operations/operations.js +12 -5
- package/dist-esm/src/operations/operations.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/index.d.ts +1 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/index.js +1 -0
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/ledger.d.ts +12 -12
- package/dist-esm/src/operationsInterfaces/ledger.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/managedCCFOperations.d.ts +71 -0
- package/dist-esm/src/operationsInterfaces/managedCCFOperations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/managedCCFOperations.js +9 -0
- package/dist-esm/src/operationsInterfaces/managedCCFOperations.js.map +1 -0
- package/package.json +6 -6
- package/review/arm-confidentialledger.api.md +151 -11
- package/src/confidentialLedgerClient.ts +15 -6
- package/src/lroImpl.ts +31 -23
- package/src/models/index.ts +202 -14
- package/src/models/mappers.ts +202 -17
- package/src/models/parameters.ts +26 -3
- package/src/operations/index.ts +1 -0
- package/src/operations/ledger.ts +50 -40
- package/src/operations/managedCCFOperations.ts +696 -0
- package/src/operationsInterfaces/index.ts +1 -0
- package/src/operationsInterfaces/ledger.ts +12 -12
- package/src/operationsInterfaces/managedCCFOperations.ts +132 -0
- package/types/arm-confidentialledger.d.ts +284 -29
@@ -7,7 +7,7 @@
|
|
7
7
|
*/
|
8
8
|
|
9
9
|
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
10
|
-
import {
|
10
|
+
import { SimplePollerLike, OperationState } from "@azure/core-lro";
|
11
11
|
import {
|
12
12
|
ConfidentialLedger,
|
13
13
|
LedgerListByResourceGroupOptionalParams,
|
@@ -26,7 +26,7 @@ import {
|
|
26
26
|
export interface Ledger {
|
27
27
|
/**
|
28
28
|
* Retrieves the properties of all Confidential Ledgers.
|
29
|
-
* @param resourceGroupName The name of the resource group.
|
29
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
30
30
|
* @param options The options parameters.
|
31
31
|
*/
|
32
32
|
listByResourceGroup(
|
@@ -42,7 +42,7 @@ export interface Ledger {
|
|
42
42
|
): PagedAsyncIterableIterator<ConfidentialLedger>;
|
43
43
|
/**
|
44
44
|
* Retrieves the properties of a Confidential Ledger.
|
45
|
-
* @param resourceGroupName The name of the resource group.
|
45
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
46
46
|
* @param ledgerName Name of the Confidential Ledger
|
47
47
|
* @param options The options parameters.
|
48
48
|
*/
|
@@ -53,7 +53,7 @@ export interface Ledger {
|
|
53
53
|
): Promise<LedgerGetResponse>;
|
54
54
|
/**
|
55
55
|
* Deletes an existing Confidential Ledger.
|
56
|
-
* @param resourceGroupName The name of the resource group.
|
56
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
57
57
|
* @param ledgerName Name of the Confidential Ledger
|
58
58
|
* @param options The options parameters.
|
59
59
|
*/
|
@@ -61,10 +61,10 @@ export interface Ledger {
|
|
61
61
|
resourceGroupName: string,
|
62
62
|
ledgerName: string,
|
63
63
|
options?: LedgerDeleteOptionalParams
|
64
|
-
): Promise<
|
64
|
+
): Promise<SimplePollerLike<OperationState<void>, void>>;
|
65
65
|
/**
|
66
66
|
* Deletes an existing Confidential Ledger.
|
67
|
-
* @param resourceGroupName The name of the resource group.
|
67
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
68
68
|
* @param ledgerName Name of the Confidential Ledger
|
69
69
|
* @param options The options parameters.
|
70
70
|
*/
|
@@ -75,7 +75,7 @@ export interface Ledger {
|
|
75
75
|
): Promise<void>;
|
76
76
|
/**
|
77
77
|
* Creates a Confidential Ledger with the specified ledger parameters.
|
78
|
-
* @param resourceGroupName The name of the resource group.
|
78
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
79
79
|
* @param ledgerName Name of the Confidential Ledger
|
80
80
|
* @param confidentialLedger Confidential Ledger Create Request Body
|
81
81
|
* @param options The options parameters.
|
@@ -86,11 +86,11 @@ export interface Ledger {
|
|
86
86
|
confidentialLedger: ConfidentialLedger,
|
87
87
|
options?: LedgerCreateOptionalParams
|
88
88
|
): Promise<
|
89
|
-
|
89
|
+
SimplePollerLike<OperationState<LedgerCreateResponse>, LedgerCreateResponse>
|
90
90
|
>;
|
91
91
|
/**
|
92
92
|
* Creates a Confidential Ledger with the specified ledger parameters.
|
93
|
-
* @param resourceGroupName The name of the resource group.
|
93
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
94
94
|
* @param ledgerName Name of the Confidential Ledger
|
95
95
|
* @param confidentialLedger Confidential Ledger Create Request Body
|
96
96
|
* @param options The options parameters.
|
@@ -103,7 +103,7 @@ export interface Ledger {
|
|
103
103
|
): Promise<LedgerCreateResponse>;
|
104
104
|
/**
|
105
105
|
* Updates properties of Confidential Ledger
|
106
|
-
* @param resourceGroupName The name of the resource group.
|
106
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
107
107
|
* @param ledgerName Name of the Confidential Ledger
|
108
108
|
* @param confidentialLedger Confidential Ledger request body for Updating Ledger
|
109
109
|
* @param options The options parameters.
|
@@ -114,11 +114,11 @@ export interface Ledger {
|
|
114
114
|
confidentialLedger: ConfidentialLedger,
|
115
115
|
options?: LedgerUpdateOptionalParams
|
116
116
|
): Promise<
|
117
|
-
|
117
|
+
SimplePollerLike<OperationState<LedgerUpdateResponse>, LedgerUpdateResponse>
|
118
118
|
>;
|
119
119
|
/**
|
120
120
|
* Updates properties of Confidential Ledger
|
121
|
-
* @param resourceGroupName The name of the resource group.
|
121
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
122
122
|
* @param ledgerName Name of the Confidential Ledger
|
123
123
|
* @param confidentialLedger Confidential Ledger request body for Updating Ledger
|
124
124
|
* @param options The options parameters.
|
@@ -0,0 +1,132 @@
|
|
1
|
+
/*
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
3
|
+
* Licensed under the MIT License.
|
4
|
+
*
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
7
|
+
*/
|
8
|
+
|
9
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
10
|
+
import { SimplePollerLike, OperationState } from "@azure/core-lro";
|
11
|
+
import {
|
12
|
+
ManagedCCF,
|
13
|
+
ManagedCCFListByResourceGroupOptionalParams,
|
14
|
+
ManagedCCFListBySubscriptionOptionalParams,
|
15
|
+
ManagedCCFGetOptionalParams,
|
16
|
+
ManagedCCFGetResponse,
|
17
|
+
ManagedCCFDeleteOptionalParams,
|
18
|
+
ManagedCCFCreateOptionalParams,
|
19
|
+
ManagedCCFCreateResponse,
|
20
|
+
ManagedCCFUpdateOptionalParams
|
21
|
+
} from "../models";
|
22
|
+
|
23
|
+
/// <reference lib="esnext.asynciterable" />
|
24
|
+
/** Interface representing a ManagedCCFOperations. */
|
25
|
+
export interface ManagedCCFOperations {
|
26
|
+
/**
|
27
|
+
* Retrieves the properties of all Managed CCF apps.
|
28
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
29
|
+
* @param options The options parameters.
|
30
|
+
*/
|
31
|
+
listByResourceGroup(
|
32
|
+
resourceGroupName: string,
|
33
|
+
options?: ManagedCCFListByResourceGroupOptionalParams
|
34
|
+
): PagedAsyncIterableIterator<ManagedCCF>;
|
35
|
+
/**
|
36
|
+
* Retrieves the properties of all Managed CCF.
|
37
|
+
* @param options The options parameters.
|
38
|
+
*/
|
39
|
+
listBySubscription(
|
40
|
+
options?: ManagedCCFListBySubscriptionOptionalParams
|
41
|
+
): PagedAsyncIterableIterator<ManagedCCF>;
|
42
|
+
/**
|
43
|
+
* Retrieves the properties of a Managed CCF app.
|
44
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
45
|
+
* @param appName Name of the Managed CCF
|
46
|
+
* @param options The options parameters.
|
47
|
+
*/
|
48
|
+
get(
|
49
|
+
resourceGroupName: string,
|
50
|
+
appName: string,
|
51
|
+
options?: ManagedCCFGetOptionalParams
|
52
|
+
): Promise<ManagedCCFGetResponse>;
|
53
|
+
/**
|
54
|
+
* Deletes an existing Managed CCF.
|
55
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
56
|
+
* @param appName Name of the Managed CCF
|
57
|
+
* @param options The options parameters.
|
58
|
+
*/
|
59
|
+
beginDelete(
|
60
|
+
resourceGroupName: string,
|
61
|
+
appName: string,
|
62
|
+
options?: ManagedCCFDeleteOptionalParams
|
63
|
+
): Promise<SimplePollerLike<OperationState<void>, void>>;
|
64
|
+
/**
|
65
|
+
* Deletes an existing Managed CCF.
|
66
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
67
|
+
* @param appName Name of the Managed CCF
|
68
|
+
* @param options The options parameters.
|
69
|
+
*/
|
70
|
+
beginDeleteAndWait(
|
71
|
+
resourceGroupName: string,
|
72
|
+
appName: string,
|
73
|
+
options?: ManagedCCFDeleteOptionalParams
|
74
|
+
): Promise<void>;
|
75
|
+
/**
|
76
|
+
* Creates a Managed CCF with the specified Managed CCF parameters.
|
77
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
78
|
+
* @param appName Name of the Managed CCF
|
79
|
+
* @param managedCCF Managed CCF Create Request Body
|
80
|
+
* @param options The options parameters.
|
81
|
+
*/
|
82
|
+
beginCreate(
|
83
|
+
resourceGroupName: string,
|
84
|
+
appName: string,
|
85
|
+
managedCCF: ManagedCCF,
|
86
|
+
options?: ManagedCCFCreateOptionalParams
|
87
|
+
): Promise<
|
88
|
+
SimplePollerLike<
|
89
|
+
OperationState<ManagedCCFCreateResponse>,
|
90
|
+
ManagedCCFCreateResponse
|
91
|
+
>
|
92
|
+
>;
|
93
|
+
/**
|
94
|
+
* Creates a Managed CCF with the specified Managed CCF parameters.
|
95
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
96
|
+
* @param appName Name of the Managed CCF
|
97
|
+
* @param managedCCF Managed CCF Create Request Body
|
98
|
+
* @param options The options parameters.
|
99
|
+
*/
|
100
|
+
beginCreateAndWait(
|
101
|
+
resourceGroupName: string,
|
102
|
+
appName: string,
|
103
|
+
managedCCF: ManagedCCF,
|
104
|
+
options?: ManagedCCFCreateOptionalParams
|
105
|
+
): Promise<ManagedCCFCreateResponse>;
|
106
|
+
/**
|
107
|
+
* Updates properties of Managed CCF
|
108
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
109
|
+
* @param appName Name of the Managed CCF
|
110
|
+
* @param managedCCF Request body for Updating Managed CCF App
|
111
|
+
* @param options The options parameters.
|
112
|
+
*/
|
113
|
+
beginUpdate(
|
114
|
+
resourceGroupName: string,
|
115
|
+
appName: string,
|
116
|
+
managedCCF: ManagedCCF,
|
117
|
+
options?: ManagedCCFUpdateOptionalParams
|
118
|
+
): Promise<SimplePollerLike<OperationState<void>, void>>;
|
119
|
+
/**
|
120
|
+
* Updates properties of Managed CCF
|
121
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
122
|
+
* @param appName Name of the Managed CCF
|
123
|
+
* @param managedCCF Request body for Updating Managed CCF App
|
124
|
+
* @param options The options parameters.
|
125
|
+
*/
|
126
|
+
beginUpdateAndWait(
|
127
|
+
resourceGroupName: string,
|
128
|
+
appName: string,
|
129
|
+
managedCCF: ManagedCCF,
|
130
|
+
options?: ManagedCCFUpdateOptionalParams
|
131
|
+
): Promise<void>;
|
132
|
+
}
|
@@ -1,8 +1,8 @@
|
|
1
1
|
import * as coreAuth from '@azure/core-auth';
|
2
2
|
import * as coreClient from '@azure/core-client';
|
3
|
+
import { OperationState } from '@azure/core-lro';
|
3
4
|
import { PagedAsyncIterableIterator } from '@azure/core-paging';
|
4
|
-
import {
|
5
|
-
import { PollOperationState } from '@azure/core-lro';
|
5
|
+
import { SimplePollerLike } from '@azure/core-lro';
|
6
6
|
|
7
7
|
/** AAD based security principal with associated Ledger RoleName */
|
8
8
|
export declare interface AADBasedSecurityPrincipal {
|
@@ -22,6 +22,14 @@ export declare interface CertBasedSecurityPrincipal {
|
|
22
22
|
ledgerRoleName?: LedgerRoleName;
|
23
23
|
}
|
24
24
|
|
25
|
+
/** Tags for Managed CCF Certificates */
|
26
|
+
export declare interface CertificateTags {
|
27
|
+
/** Additional tags for Managed CCF Certificates */
|
28
|
+
tags?: {
|
29
|
+
[propertyName: string]: string;
|
30
|
+
};
|
31
|
+
}
|
32
|
+
|
25
33
|
/** Contains response data for the checkNameAvailability operation. */
|
26
34
|
export declare type CheckNameAvailabilityOperationResponse = CheckNameAvailabilityResponse;
|
27
35
|
|
@@ -58,7 +66,9 @@ export declare interface CheckNameAvailabilityResponse {
|
|
58
66
|
}
|
59
67
|
|
60
68
|
/** Confidential Ledger. Contains the properties of Confidential Ledger Resource. */
|
61
|
-
export declare interface ConfidentialLedger extends
|
69
|
+
export declare interface ConfidentialLedger extends TrackedResource, Tags {
|
70
|
+
/** Object representing RunningState for Ledger. */
|
71
|
+
runningState?: RunningState;
|
62
72
|
/** Properties of Confidential Ledger Resource. */
|
63
73
|
properties?: LedgerProperties;
|
64
74
|
}
|
@@ -70,8 +80,7 @@ export declare class ConfidentialLedgerClient extends coreClient.ServiceClient {
|
|
70
80
|
/**
|
71
81
|
* Initializes a new instance of the ConfidentialLedgerClient class.
|
72
82
|
* @param credentials Subscription credentials which uniquely identify client subscription.
|
73
|
-
* @param subscriptionId The
|
74
|
-
* 00000000-0000-0000-0000-000000000000)
|
83
|
+
* @param subscriptionId The ID of the target subscription.
|
75
84
|
* @param options The parameter options
|
76
85
|
*/
|
77
86
|
constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: ConfidentialLedgerClientOptionalParams);
|
@@ -85,6 +94,7 @@ export declare class ConfidentialLedgerClient extends coreClient.ServiceClient {
|
|
85
94
|
checkNameAvailability(nameAvailabilityRequest: CheckNameAvailabilityRequest, options?: CheckNameAvailabilityOptionalParams): Promise<CheckNameAvailabilityOperationResponse>;
|
86
95
|
operations: Operations;
|
87
96
|
ledger: Ledger;
|
97
|
+
managedCCFOperations: ManagedCCFOperations;
|
88
98
|
}
|
89
99
|
|
90
100
|
/** Optional parameters. */
|
@@ -117,6 +127,14 @@ export declare interface ConfidentialLedgerList {
|
|
117
127
|
*/
|
118
128
|
export declare type CreatedByType = string;
|
119
129
|
|
130
|
+
/** Object representing DeploymentType for Managed CCF. */
|
131
|
+
export declare interface DeploymentType {
|
132
|
+
/** Unique name for the Managed CCF. */
|
133
|
+
languageRuntime?: LanguageRuntime;
|
134
|
+
/** Source Uri containing ManagedCCF code */
|
135
|
+
appSourceUri?: string;
|
136
|
+
}
|
137
|
+
|
120
138
|
/** The resource management error additional info. */
|
121
139
|
export declare interface ErrorAdditionalInfo {
|
122
140
|
/**
|
@@ -195,6 +213,14 @@ export declare enum KnownCreatedByType {
|
|
195
213
|
Key = "Key"
|
196
214
|
}
|
197
215
|
|
216
|
+
/** Known values of {@link LanguageRuntime} that the service accepts. */
|
217
|
+
export declare enum KnownLanguageRuntime {
|
218
|
+
/** CPP */
|
219
|
+
CPP = "CPP",
|
220
|
+
/** JS */
|
221
|
+
JS = "JS"
|
222
|
+
}
|
223
|
+
|
198
224
|
/** Known values of {@link LedgerRoleName} that the service accepts. */
|
199
225
|
export declare enum KnownLedgerRoleName {
|
200
226
|
/** Reader */
|
@@ -233,11 +259,35 @@ export declare enum KnownProvisioningState {
|
|
233
259
|
Updating = "Updating"
|
234
260
|
}
|
235
261
|
|
262
|
+
/** Known values of {@link RunningState} that the service accepts. */
|
263
|
+
export declare enum KnownRunningState {
|
264
|
+
/** Active */
|
265
|
+
Active = "Active",
|
266
|
+
/** Paused */
|
267
|
+
Paused = "Paused",
|
268
|
+
/** Unknown */
|
269
|
+
Unknown = "Unknown",
|
270
|
+
/** Pausing */
|
271
|
+
Pausing = "Pausing",
|
272
|
+
/** Resuming */
|
273
|
+
Resuming = "Resuming"
|
274
|
+
}
|
275
|
+
|
276
|
+
/**
|
277
|
+
* Defines values for LanguageRuntime. \
|
278
|
+
* {@link KnownLanguageRuntime} can be used interchangeably with LanguageRuntime,
|
279
|
+
* this enum contains the known values that the service supports.
|
280
|
+
* ### Known values supported by the service
|
281
|
+
* **CPP** \
|
282
|
+
* **JS**
|
283
|
+
*/
|
284
|
+
export declare type LanguageRuntime = string;
|
285
|
+
|
236
286
|
/** Interface representing a Ledger. */
|
237
287
|
export declare interface Ledger {
|
238
288
|
/**
|
239
289
|
* Retrieves the properties of all Confidential Ledgers.
|
240
|
-
* @param resourceGroupName The name of the resource group.
|
290
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
241
291
|
* @param options The options parameters.
|
242
292
|
*/
|
243
293
|
listByResourceGroup(resourceGroupName: string, options?: LedgerListByResourceGroupOptionalParams): PagedAsyncIterableIterator<ConfidentialLedger>;
|
@@ -248,36 +298,36 @@ export declare interface Ledger {
|
|
248
298
|
listBySubscription(options?: LedgerListBySubscriptionOptionalParams): PagedAsyncIterableIterator<ConfidentialLedger>;
|
249
299
|
/**
|
250
300
|
* Retrieves the properties of a Confidential Ledger.
|
251
|
-
* @param resourceGroupName The name of the resource group.
|
301
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
252
302
|
* @param ledgerName Name of the Confidential Ledger
|
253
303
|
* @param options The options parameters.
|
254
304
|
*/
|
255
305
|
get(resourceGroupName: string, ledgerName: string, options?: LedgerGetOptionalParams): Promise<LedgerGetResponse>;
|
256
306
|
/**
|
257
307
|
* Deletes an existing Confidential Ledger.
|
258
|
-
* @param resourceGroupName The name of the resource group.
|
308
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
259
309
|
* @param ledgerName Name of the Confidential Ledger
|
260
310
|
* @param options The options parameters.
|
261
311
|
*/
|
262
|
-
beginDelete(resourceGroupName: string, ledgerName: string, options?: LedgerDeleteOptionalParams): Promise<
|
312
|
+
beginDelete(resourceGroupName: string, ledgerName: string, options?: LedgerDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
|
263
313
|
/**
|
264
314
|
* Deletes an existing Confidential Ledger.
|
265
|
-
* @param resourceGroupName The name of the resource group.
|
315
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
266
316
|
* @param ledgerName Name of the Confidential Ledger
|
267
317
|
* @param options The options parameters.
|
268
318
|
*/
|
269
319
|
beginDeleteAndWait(resourceGroupName: string, ledgerName: string, options?: LedgerDeleteOptionalParams): Promise<void>;
|
270
320
|
/**
|
271
321
|
* Creates a Confidential Ledger with the specified ledger parameters.
|
272
|
-
* @param resourceGroupName The name of the resource group.
|
322
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
273
323
|
* @param ledgerName Name of the Confidential Ledger
|
274
324
|
* @param confidentialLedger Confidential Ledger Create Request Body
|
275
325
|
* @param options The options parameters.
|
276
326
|
*/
|
277
|
-
beginCreate(resourceGroupName: string, ledgerName: string, confidentialLedger: ConfidentialLedger, options?: LedgerCreateOptionalParams): Promise<
|
327
|
+
beginCreate(resourceGroupName: string, ledgerName: string, confidentialLedger: ConfidentialLedger, options?: LedgerCreateOptionalParams): Promise<SimplePollerLike<OperationState<LedgerCreateResponse>, LedgerCreateResponse>>;
|
278
328
|
/**
|
279
329
|
* Creates a Confidential Ledger with the specified ledger parameters.
|
280
|
-
* @param resourceGroupName The name of the resource group.
|
330
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
281
331
|
* @param ledgerName Name of the Confidential Ledger
|
282
332
|
* @param confidentialLedger Confidential Ledger Create Request Body
|
283
333
|
* @param options The options parameters.
|
@@ -285,15 +335,15 @@ export declare interface Ledger {
|
|
285
335
|
beginCreateAndWait(resourceGroupName: string, ledgerName: string, confidentialLedger: ConfidentialLedger, options?: LedgerCreateOptionalParams): Promise<LedgerCreateResponse>;
|
286
336
|
/**
|
287
337
|
* Updates properties of Confidential Ledger
|
288
|
-
* @param resourceGroupName The name of the resource group.
|
338
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
289
339
|
* @param ledgerName Name of the Confidential Ledger
|
290
340
|
* @param confidentialLedger Confidential Ledger request body for Updating Ledger
|
291
341
|
* @param options The options parameters.
|
292
342
|
*/
|
293
|
-
beginUpdate(resourceGroupName: string, ledgerName: string, confidentialLedger: ConfidentialLedger, options?: LedgerUpdateOptionalParams): Promise<
|
343
|
+
beginUpdate(resourceGroupName: string, ledgerName: string, confidentialLedger: ConfidentialLedger, options?: LedgerUpdateOptionalParams): Promise<SimplePollerLike<OperationState<LedgerUpdateResponse>, LedgerUpdateResponse>>;
|
294
344
|
/**
|
295
345
|
* Updates properties of Confidential Ledger
|
296
|
-
* @param resourceGroupName The name of the resource group.
|
346
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
297
347
|
* @param ledgerName Name of the Confidential Ledger
|
298
348
|
* @param confidentialLedger Confidential Ledger request body for Updating Ledger
|
299
349
|
* @param options The options parameters.
|
@@ -427,6 +477,194 @@ export declare interface LedgerUpdateOptionalParams extends coreClient.Operation
|
|
427
477
|
/** Contains response data for the update operation. */
|
428
478
|
export declare type LedgerUpdateResponse = ConfidentialLedger;
|
429
479
|
|
480
|
+
/** Managed CCF. Contains the properties of Managed CCF Resource. */
|
481
|
+
export declare interface ManagedCCF extends TrackedResource {
|
482
|
+
/** Properties of Managed CCF Resource. */
|
483
|
+
properties?: ManagedCCFProperties;
|
484
|
+
}
|
485
|
+
|
486
|
+
/** Optional parameters. */
|
487
|
+
export declare interface ManagedCCFCreateOptionalParams extends coreClient.OperationOptions {
|
488
|
+
/** Delay to wait until next poll, in milliseconds. */
|
489
|
+
updateIntervalInMs?: number;
|
490
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
491
|
+
resumeFrom?: string;
|
492
|
+
}
|
493
|
+
|
494
|
+
/** Contains response data for the create operation. */
|
495
|
+
export declare type ManagedCCFCreateResponse = ManagedCCF;
|
496
|
+
|
497
|
+
/** Optional parameters. */
|
498
|
+
export declare interface ManagedCCFDeleteOptionalParams extends coreClient.OperationOptions {
|
499
|
+
/** Delay to wait until next poll, in milliseconds. */
|
500
|
+
updateIntervalInMs?: number;
|
501
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
502
|
+
resumeFrom?: string;
|
503
|
+
}
|
504
|
+
|
505
|
+
/** Optional parameters. */
|
506
|
+
export declare interface ManagedCCFGetOptionalParams extends coreClient.OperationOptions {
|
507
|
+
}
|
508
|
+
|
509
|
+
/** Contains response data for the get operation. */
|
510
|
+
export declare type ManagedCCFGetResponse = ManagedCCF;
|
511
|
+
|
512
|
+
/** Object that includes an array of Managed CCF and a possible link for next set. */
|
513
|
+
export declare interface ManagedCCFList {
|
514
|
+
/** List of Managed CCF */
|
515
|
+
value?: ManagedCCF[];
|
516
|
+
/** The URL the client should use to fetch the next page (per server side paging). */
|
517
|
+
nextLink?: string;
|
518
|
+
}
|
519
|
+
|
520
|
+
/** Optional parameters. */
|
521
|
+
export declare interface ManagedCCFListByResourceGroupNextOptionalParams extends coreClient.OperationOptions {
|
522
|
+
}
|
523
|
+
|
524
|
+
/** Contains response data for the listByResourceGroupNext operation. */
|
525
|
+
export declare type ManagedCCFListByResourceGroupNextResponse = ManagedCCFList;
|
526
|
+
|
527
|
+
/** Optional parameters. */
|
528
|
+
export declare interface ManagedCCFListByResourceGroupOptionalParams extends coreClient.OperationOptions {
|
529
|
+
/** The filter to apply on the list operation. eg. $filter=ledgerType eq 'Public' */
|
530
|
+
filter?: string;
|
531
|
+
}
|
532
|
+
|
533
|
+
/** Contains response data for the listByResourceGroup operation. */
|
534
|
+
export declare type ManagedCCFListByResourceGroupResponse = ManagedCCFList;
|
535
|
+
|
536
|
+
/** Optional parameters. */
|
537
|
+
export declare interface ManagedCCFListBySubscriptionNextOptionalParams extends coreClient.OperationOptions {
|
538
|
+
}
|
539
|
+
|
540
|
+
/** Contains response data for the listBySubscriptionNext operation. */
|
541
|
+
export declare type ManagedCCFListBySubscriptionNextResponse = ManagedCCFList;
|
542
|
+
|
543
|
+
/** Optional parameters. */
|
544
|
+
export declare interface ManagedCCFListBySubscriptionOptionalParams extends coreClient.OperationOptions {
|
545
|
+
/** The filter to apply on the list operation. eg. $filter=ledgerType eq 'Public' */
|
546
|
+
filter?: string;
|
547
|
+
}
|
548
|
+
|
549
|
+
/** Contains response data for the listBySubscription operation. */
|
550
|
+
export declare type ManagedCCFListBySubscriptionResponse = ManagedCCFList;
|
551
|
+
|
552
|
+
/** Interface representing a ManagedCCFOperations. */
|
553
|
+
export declare interface ManagedCCFOperations {
|
554
|
+
/**
|
555
|
+
* Retrieves the properties of all Managed CCF apps.
|
556
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
557
|
+
* @param options The options parameters.
|
558
|
+
*/
|
559
|
+
listByResourceGroup(resourceGroupName: string, options?: ManagedCCFListByResourceGroupOptionalParams): PagedAsyncIterableIterator<ManagedCCF>;
|
560
|
+
/**
|
561
|
+
* Retrieves the properties of all Managed CCF.
|
562
|
+
* @param options The options parameters.
|
563
|
+
*/
|
564
|
+
listBySubscription(options?: ManagedCCFListBySubscriptionOptionalParams): PagedAsyncIterableIterator<ManagedCCF>;
|
565
|
+
/**
|
566
|
+
* Retrieves the properties of a Managed CCF app.
|
567
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
568
|
+
* @param appName Name of the Managed CCF
|
569
|
+
* @param options The options parameters.
|
570
|
+
*/
|
571
|
+
get(resourceGroupName: string, appName: string, options?: ManagedCCFGetOptionalParams): Promise<ManagedCCFGetResponse>;
|
572
|
+
/**
|
573
|
+
* Deletes an existing Managed CCF.
|
574
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
575
|
+
* @param appName Name of the Managed CCF
|
576
|
+
* @param options The options parameters.
|
577
|
+
*/
|
578
|
+
beginDelete(resourceGroupName: string, appName: string, options?: ManagedCCFDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
|
579
|
+
/**
|
580
|
+
* Deletes an existing Managed CCF.
|
581
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
582
|
+
* @param appName Name of the Managed CCF
|
583
|
+
* @param options The options parameters.
|
584
|
+
*/
|
585
|
+
beginDeleteAndWait(resourceGroupName: string, appName: string, options?: ManagedCCFDeleteOptionalParams): Promise<void>;
|
586
|
+
/**
|
587
|
+
* Creates a Managed CCF with the specified Managed CCF parameters.
|
588
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
589
|
+
* @param appName Name of the Managed CCF
|
590
|
+
* @param managedCCF Managed CCF Create Request Body
|
591
|
+
* @param options The options parameters.
|
592
|
+
*/
|
593
|
+
beginCreate(resourceGroupName: string, appName: string, managedCCF: ManagedCCF, options?: ManagedCCFCreateOptionalParams): Promise<SimplePollerLike<OperationState<ManagedCCFCreateResponse>, ManagedCCFCreateResponse>>;
|
594
|
+
/**
|
595
|
+
* Creates a Managed CCF with the specified Managed CCF parameters.
|
596
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
597
|
+
* @param appName Name of the Managed CCF
|
598
|
+
* @param managedCCF Managed CCF Create Request Body
|
599
|
+
* @param options The options parameters.
|
600
|
+
*/
|
601
|
+
beginCreateAndWait(resourceGroupName: string, appName: string, managedCCF: ManagedCCF, options?: ManagedCCFCreateOptionalParams): Promise<ManagedCCFCreateResponse>;
|
602
|
+
/**
|
603
|
+
* Updates properties of Managed CCF
|
604
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
605
|
+
* @param appName Name of the Managed CCF
|
606
|
+
* @param managedCCF Request body for Updating Managed CCF App
|
607
|
+
* @param options The options parameters.
|
608
|
+
*/
|
609
|
+
beginUpdate(resourceGroupName: string, appName: string, managedCCF: ManagedCCF, options?: ManagedCCFUpdateOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
|
610
|
+
/**
|
611
|
+
* Updates properties of Managed CCF
|
612
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
613
|
+
* @param appName Name of the Managed CCF
|
614
|
+
* @param managedCCF Request body for Updating Managed CCF App
|
615
|
+
* @param options The options parameters.
|
616
|
+
*/
|
617
|
+
beginUpdateAndWait(resourceGroupName: string, appName: string, managedCCF: ManagedCCF, options?: ManagedCCFUpdateOptionalParams): Promise<void>;
|
618
|
+
}
|
619
|
+
|
620
|
+
/** Additional Managed CCF properties. */
|
621
|
+
export declare interface ManagedCCFProperties {
|
622
|
+
/**
|
623
|
+
* Unique name for the Managed CCF.
|
624
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
625
|
+
*/
|
626
|
+
readonly appName?: string;
|
627
|
+
/**
|
628
|
+
* Endpoint for calling Managed CCF Service.
|
629
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
630
|
+
*/
|
631
|
+
readonly appUri?: string;
|
632
|
+
/**
|
633
|
+
* Endpoint for accessing network identity.
|
634
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
635
|
+
*/
|
636
|
+
readonly identityServiceUri?: string;
|
637
|
+
/** List of member identity certificates for Managed CCF */
|
638
|
+
memberIdentityCertificates?: MemberIdentityCertificate[];
|
639
|
+
/** Deployment Type of Managed CCF */
|
640
|
+
deploymentType?: DeploymentType;
|
641
|
+
/**
|
642
|
+
* Provisioning state of Ledger Resource
|
643
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
644
|
+
*/
|
645
|
+
readonly provisioningState?: ProvisioningState;
|
646
|
+
/** Number of CCF nodes in the Managed CCF. */
|
647
|
+
nodeCount?: number;
|
648
|
+
}
|
649
|
+
|
650
|
+
/** Optional parameters. */
|
651
|
+
export declare interface ManagedCCFUpdateOptionalParams extends coreClient.OperationOptions {
|
652
|
+
/** Delay to wait until next poll, in milliseconds. */
|
653
|
+
updateIntervalInMs?: number;
|
654
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
655
|
+
resumeFrom?: string;
|
656
|
+
}
|
657
|
+
|
658
|
+
/** Object representing MemberIdentityCertificate for Managed CCF. */
|
659
|
+
export declare interface MemberIdentityCertificate {
|
660
|
+
/** Member Identity Certificate */
|
661
|
+
certificate?: string;
|
662
|
+
/** Member Identity Certificate Encryption Key */
|
663
|
+
encryptionkey?: string;
|
664
|
+
/** Anything */
|
665
|
+
tags?: any;
|
666
|
+
}
|
667
|
+
|
430
668
|
/** Interface representing a Operations. */
|
431
669
|
export declare interface Operations {
|
432
670
|
/**
|
@@ -465,36 +703,30 @@ export declare type OperationsListResponse = ResourceProviderOperationList;
|
|
465
703
|
*/
|
466
704
|
export declare type ProvisioningState = string;
|
467
705
|
|
468
|
-
/**
|
706
|
+
/** Common fields that are returned in the response for all Azure Resource Manager resources */
|
469
707
|
export declare interface Resource {
|
470
708
|
/**
|
471
|
-
*
|
709
|
+
* Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
|
472
710
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
473
711
|
*/
|
474
|
-
readonly
|
712
|
+
readonly id?: string;
|
475
713
|
/**
|
476
|
-
*
|
714
|
+
* The name of the resource
|
477
715
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
478
716
|
*/
|
479
|
-
readonly
|
717
|
+
readonly name?: string;
|
480
718
|
/**
|
481
|
-
* The type of the resource.
|
719
|
+
* The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
|
482
720
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
483
721
|
*/
|
484
722
|
readonly type?: string;
|
485
723
|
/**
|
486
|
-
*
|
724
|
+
* Azure Resource Manager metadata containing createdBy and modifiedBy information.
|
487
725
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
488
726
|
*/
|
489
727
|
readonly systemData?: SystemData;
|
490
728
|
}
|
491
729
|
|
492
|
-
/** Location of the ARM Resource */
|
493
|
-
export declare interface ResourceLocation {
|
494
|
-
/** The Azure location where the Confidential Ledger is running. */
|
495
|
-
location?: string;
|
496
|
-
}
|
497
|
-
|
498
730
|
/** Describes the Resource Provider Operation. */
|
499
731
|
export declare interface ResourceProviderOperationDefinition {
|
500
732
|
/** Resource provider operation name. */
|
@@ -531,6 +763,19 @@ export declare interface ResourceProviderOperationList {
|
|
531
763
|
readonly nextLink?: string;
|
532
764
|
}
|
533
765
|
|
766
|
+
/**
|
767
|
+
* Defines values for RunningState. \
|
768
|
+
* {@link KnownRunningState} can be used interchangeably with RunningState,
|
769
|
+
* this enum contains the known values that the service supports.
|
770
|
+
* ### Known values supported by the service
|
771
|
+
* **Active** \
|
772
|
+
* **Paused** \
|
773
|
+
* **Unknown** \
|
774
|
+
* **Pausing** \
|
775
|
+
* **Resuming**
|
776
|
+
*/
|
777
|
+
export declare type RunningState = string;
|
778
|
+
|
534
779
|
/** Metadata pertaining to creation and last modification of the resource. */
|
535
780
|
export declare interface SystemData {
|
536
781
|
/** The identity that created the resource. */
|
@@ -555,4 +800,14 @@ export declare interface Tags {
|
|
555
800
|
};
|
556
801
|
}
|
557
802
|
|
803
|
+
/** The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location' */
|
804
|
+
export declare interface TrackedResource extends Resource {
|
805
|
+
/** Resource tags. */
|
806
|
+
tags?: {
|
807
|
+
[propertyName: string]: string;
|
808
|
+
};
|
809
|
+
/** The geo-location where the resource lives */
|
810
|
+
location: string;
|
811
|
+
}
|
812
|
+
|
558
813
|
export { }
|