@azure/arm-hardwaresecuritymodules 2.0.0-beta.1 → 2.0.0-beta.2
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 +146 -2
- package/dist/index.js +2121 -1216
- 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/cloudHsmClusterBackupStatusGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/cloudHsmClusterBackupStatusGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/cloudHsmClusterBackupStatusGetSample.js +40 -0
- package/dist-esm/samples-dev/cloudHsmClusterBackupStatusGetSample.js.map +1 -0
- package/dist-esm/samples-dev/cloudHsmClusterPrivateEndpointConnectionsCreateSample.js +4 -4
- package/dist-esm/samples-dev/cloudHsmClusterPrivateEndpointConnectionsCreateSample.js.map +1 -1
- package/dist-esm/samples-dev/cloudHsmClusterPrivateEndpointConnectionsDeleteSample.js +1 -1
- package/dist-esm/samples-dev/cloudHsmClusterPrivateEndpointConnectionsDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/cloudHsmClusterPrivateEndpointConnectionsGetSample.js +1 -1
- package/dist-esm/samples-dev/cloudHsmClusterPrivateLinkResourcesListByCloudHsmClusterSample.js +20 -4
- package/dist-esm/samples-dev/cloudHsmClusterPrivateLinkResourcesListByCloudHsmClusterSample.js.map +1 -1
- package/dist-esm/samples-dev/cloudHsmClusterRestoreStatusGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/cloudHsmClusterRestoreStatusGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/cloudHsmClusterRestoreStatusGetSample.js +40 -0
- package/dist-esm/samples-dev/cloudHsmClusterRestoreStatusGetSample.js.map +1 -0
- package/dist-esm/samples-dev/cloudHsmClustersBackupSample.d.ts +2 -0
- package/dist-esm/samples-dev/cloudHsmClustersBackupSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/cloudHsmClustersBackupSample.js +39 -0
- package/dist-esm/samples-dev/cloudHsmClustersBackupSample.js.map +1 -0
- package/dist-esm/samples-dev/cloudHsmClustersCreateOrUpdateSample.js +6 -6
- package/dist-esm/samples-dev/cloudHsmClustersCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/cloudHsmClustersDeleteSample.js +1 -1
- package/dist-esm/samples-dev/cloudHsmClustersGetSample.js +1 -1
- package/dist-esm/samples-dev/cloudHsmClustersListByResourceGroupSample.js +2 -2
- package/dist-esm/samples-dev/cloudHsmClustersListByResourceGroupSample.js.map +1 -1
- package/dist-esm/samples-dev/cloudHsmClustersListBySubscriptionSample.js +2 -2
- package/dist-esm/samples-dev/cloudHsmClustersListBySubscriptionSample.js.map +1 -1
- package/dist-esm/samples-dev/cloudHsmClustersRestoreSample.d.ts +2 -0
- package/dist-esm/samples-dev/cloudHsmClustersRestoreSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/cloudHsmClustersRestoreSample.js +43 -0
- package/dist-esm/samples-dev/cloudHsmClustersRestoreSample.js.map +1 -0
- package/dist-esm/samples-dev/cloudHsmClustersUpdateSample.js +4 -4
- package/dist-esm/samples-dev/cloudHsmClustersUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/cloudHsmClustersValidateBackupPropertiesSample.d.ts +2 -0
- package/dist-esm/samples-dev/cloudHsmClustersValidateBackupPropertiesSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/cloudHsmClustersValidateBackupPropertiesSample.js +39 -0
- package/dist-esm/samples-dev/cloudHsmClustersValidateBackupPropertiesSample.js.map +1 -0
- package/dist-esm/samples-dev/cloudHsmClustersValidateRestorePropertiesSample.d.ts +2 -0
- package/dist-esm/samples-dev/cloudHsmClustersValidateRestorePropertiesSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/cloudHsmClustersValidateRestorePropertiesSample.js +46 -0
- package/dist-esm/samples-dev/cloudHsmClustersValidateRestorePropertiesSample.js.map +1 -0
- package/dist-esm/samples-dev/dedicatedHsmCreateOrUpdateSample.js +15 -15
- package/dist-esm/samples-dev/dedicatedHsmCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/dedicatedHsmDeleteSample.js +1 -1
- package/dist-esm/samples-dev/dedicatedHsmGetSample.js +3 -3
- package/dist-esm/samples-dev/dedicatedHsmListByResourceGroupSample.js +4 -4
- package/dist-esm/samples-dev/dedicatedHsmListByResourceGroupSample.js.map +1 -1
- package/dist-esm/samples-dev/dedicatedHsmListBySubscriptionSample.js +4 -4
- package/dist-esm/samples-dev/dedicatedHsmListBySubscriptionSample.js.map +1 -1
- package/dist-esm/samples-dev/dedicatedHsmListOutboundNetworkDependenciesEndpointsSample.js +2 -2
- package/dist-esm/samples-dev/dedicatedHsmListOutboundNetworkDependenciesEndpointsSample.js.map +1 -1
- package/dist-esm/samples-dev/dedicatedHsmUpdateSample.js +3 -3
- package/dist-esm/samples-dev/dedicatedHsmUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/operationsListSample.js +8 -8
- package/dist-esm/samples-dev/operationsListSample.js.map +1 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsListByCloudHsmClusterSample.js +2 -2
- package/dist-esm/samples-dev/privateEndpointConnectionsListByCloudHsmClusterSample.js.map +1 -1
- package/dist-esm/src/azureHSMResourceProvider.d.ts +7 -2
- package/dist-esm/src/azureHSMResourceProvider.d.ts.map +1 -1
- package/dist-esm/src/azureHSMResourceProvider.js +44 -10
- package/dist-esm/src/azureHSMResourceProvider.js.map +1 -1
- package/dist-esm/src/index.d.ts +0 -1
- package/dist-esm/src/index.d.ts.map +1 -1
- package/dist-esm/src/lroImpl.js +1 -1
- package/dist-esm/src/models/index.d.ts +543 -263
- package/dist-esm/src/models/index.d.ts.map +1 -1
- package/dist-esm/src/models/index.js +109 -49
- package/dist-esm/src/models/index.js.map +1 -1
- package/dist-esm/src/models/mappers.d.ts +28 -16
- package/dist-esm/src/models/mappers.d.ts.map +1 -1
- package/dist-esm/src/models/mappers.js +832 -637
- package/dist-esm/src/models/mappers.js.map +1 -1
- package/dist-esm/src/models/parameters.d.ts +5 -12
- package/dist-esm/src/models/parameters.d.ts.map +1 -1
- package/dist-esm/src/models/parameters.js +76 -117
- package/dist-esm/src/models/parameters.js.map +1 -1
- package/dist-esm/src/operations/cloudHsmClusterBackupStatus.d.ts +22 -0
- package/dist-esm/src/operations/cloudHsmClusterBackupStatus.d.ts.map +1 -0
- package/dist-esm/src/operations/cloudHsmClusterBackupStatus.js +61 -0
- package/dist-esm/src/operations/cloudHsmClusterBackupStatus.js.map +1 -0
- package/dist-esm/src/operations/cloudHsmClusterPrivateEndpointConnections.d.ts +7 -7
- package/dist-esm/src/operations/cloudHsmClusterPrivateEndpointConnections.d.ts.map +1 -1
- package/dist-esm/src/operations/cloudHsmClusterPrivateEndpointConnections.js +37 -29
- package/dist-esm/src/operations/cloudHsmClusterPrivateEndpointConnections.js.map +1 -1
- package/dist-esm/src/operations/cloudHsmClusterPrivateLinkResources.d.ts +23 -3
- package/dist-esm/src/operations/cloudHsmClusterPrivateLinkResources.d.ts.map +1 -1
- package/dist-esm/src/operations/cloudHsmClusterPrivateLinkResources.js +105 -6
- package/dist-esm/src/operations/cloudHsmClusterPrivateLinkResources.js.map +1 -1
- package/dist-esm/src/operations/cloudHsmClusterRestoreStatus.d.ts +22 -0
- package/dist-esm/src/operations/cloudHsmClusterRestoreStatus.d.ts.map +1 -0
- package/dist-esm/src/operations/cloudHsmClusterRestoreStatus.js +61 -0
- package/dist-esm/src/operations/cloudHsmClusterRestoreStatus.js.map +1 -0
- package/dist-esm/src/operations/cloudHsmClusters.d.ts +78 -10
- package/dist-esm/src/operations/cloudHsmClusters.d.ts.map +1 -1
- package/dist-esm/src/operations/cloudHsmClusters.js +467 -82
- package/dist-esm/src/operations/cloudHsmClusters.js.map +1 -1
- package/dist-esm/src/operations/dedicatedHsmOperations.d.ts +24 -24
- package/dist-esm/src/operations/dedicatedHsmOperations.d.ts.map +1 -1
- package/dist-esm/src/operations/dedicatedHsmOperations.js +117 -109
- package/dist-esm/src/operations/dedicatedHsmOperations.js.map +1 -1
- package/dist-esm/src/operations/index.d.ts +3 -1
- package/dist-esm/src/operations/index.d.ts.map +1 -1
- package/dist-esm/src/operations/index.js +3 -1
- package/dist-esm/src/operations/index.js.map +1 -1
- package/dist-esm/src/operations/operations.d.ts +4 -4
- package/dist-esm/src/operations/operations.d.ts.map +1 -1
- package/dist-esm/src/operations/operations.js +8 -8
- package/dist-esm/src/operations/operations.js.map +1 -1
- package/dist-esm/src/operations/privateEndpointConnections.d.ts +3 -3
- package/dist-esm/src/operations/privateEndpointConnections.d.ts.map +1 -1
- package/dist-esm/src/operations/privateEndpointConnections.js +14 -14
- package/dist-esm/src/operations/privateEndpointConnections.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/cloudHsmClusterBackupStatus.d.ts +14 -0
- package/dist-esm/src/operationsInterfaces/cloudHsmClusterBackupStatus.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/cloudHsmClusterBackupStatus.js +9 -0
- package/dist-esm/src/operationsInterfaces/cloudHsmClusterBackupStatus.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/cloudHsmClusterPrivateEndpointConnections.d.ts +7 -7
- package/dist-esm/src/operationsInterfaces/cloudHsmClusterPrivateEndpointConnections.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/cloudHsmClusterPrivateLinkResources.d.ts +4 -3
- package/dist-esm/src/operationsInterfaces/cloudHsmClusterPrivateLinkResources.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/cloudHsmClusterRestoreStatus.d.ts +14 -0
- package/dist-esm/src/operationsInterfaces/cloudHsmClusterRestoreStatus.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/cloudHsmClusterRestoreStatus.js +9 -0
- package/dist-esm/src/operationsInterfaces/cloudHsmClusterRestoreStatus.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/cloudHsmClusters.d.ts +78 -10
- package/dist-esm/src/operationsInterfaces/cloudHsmClusters.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/dedicatedHsmOperations.d.ts +18 -18
- package/dist-esm/src/operationsInterfaces/dedicatedHsmOperations.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/index.d.ts +3 -1
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/index.js +3 -1
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/operations.d.ts +3 -3
- package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts +1 -1
- package/dist-esm/src/pagingHelper.js.map +1 -1
- package/dist-esm/test/hardwaresecuritymodules_operations_test.spec.d.ts.map +1 -1
- package/dist-esm/test/hardwaresecuritymodules_operations_test.spec.js +6 -2
- package/dist-esm/test/hardwaresecuritymodules_operations_test.spec.js.map +1 -1
- package/package.json +14 -15
- package/review/arm-hardwaresecuritymodules.api.md +298 -93
- package/src/azureHSMResourceProvider.ts +67 -20
- package/src/lroImpl.ts +4 -4
- package/src/models/index.ts +633 -284
- package/src/models/mappers.ts +898 -675
- package/src/models/parameters.ts +82 -128
- package/src/operations/cloudHsmClusterBackupStatus.ts +82 -0
- package/src/operations/cloudHsmClusterPrivateEndpointConnections.ts +74 -56
- package/src/operations/cloudHsmClusterPrivateLinkResources.ts +145 -13
- package/src/operations/cloudHsmClusterRestoreStatus.ts +82 -0
- package/src/operations/cloudHsmClusters.ts +684 -151
- package/src/operations/dedicatedHsmOperations.ts +224 -215
- package/src/operations/index.ts +3 -1
- package/src/operations/operations.ts +17 -17
- package/src/operations/privateEndpointConnections.ts +30 -30
- package/src/operationsInterfaces/cloudHsmClusterBackupStatus.ts +30 -0
- package/src/operationsInterfaces/cloudHsmClusterPrivateEndpointConnections.ts +17 -11
- package/src/operationsInterfaces/cloudHsmClusterPrivateLinkResources.ts +6 -4
- package/src/operationsInterfaces/cloudHsmClusterRestoreStatus.ts +30 -0
- package/src/operationsInterfaces/cloudHsmClusters.ts +156 -19
- package/src/operationsInterfaces/dedicatedHsmOperations.ts +34 -28
- package/src/operationsInterfaces/index.ts +3 -1
- package/src/operationsInterfaces/operations.ts +4 -4
- package/src/operationsInterfaces/privateEndpointConnections.ts +3 -3
- package/src/pagingHelper.ts +1 -1
- package/types/arm-hardwaresecuritymodules.d.ts +625 -205
- package/types/tsdoc-metadata.json +1 -1
package/src/models/index.ts
CHANGED
|
@@ -8,19 +8,11 @@
|
|
|
8
8
|
|
|
9
9
|
import * as coreClient from "@azure/core-client";
|
|
10
10
|
|
|
11
|
-
/** Security domain properties information for Cloud HSM cluster */
|
|
12
|
-
export interface CloudHsmClusterSecurityDomainProperties {
|
|
13
|
-
/** FIPS state information for security domain */
|
|
14
|
-
fipsState?: number;
|
|
15
|
-
/** status of security domain activation */
|
|
16
|
-
activationStatus?: string;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
11
|
/** The Cloud HSM Properties */
|
|
20
12
|
export interface CloudHsmProperties {
|
|
21
13
|
/** FQDN of the Cloud HSM */
|
|
22
14
|
fqdn?: string;
|
|
23
|
-
/** The Cloud HSM State */
|
|
15
|
+
/** The Cloud HSM State. Values are: Deploying, ConfiguringSlb, Starting, Starting, Failed, Failed, Deleting, DeletingSlbEntry, InitialProvisioning, Updating */
|
|
24
16
|
state?: string;
|
|
25
17
|
/** The Cloud HSM State message */
|
|
26
18
|
stateMessage?: string;
|
|
@@ -85,40 +77,6 @@ export interface SystemData {
|
|
|
85
77
|
lastModifiedAt?: Date;
|
|
86
78
|
}
|
|
87
79
|
|
|
88
|
-
/** Cloud Hsm Cluster restore information */
|
|
89
|
-
export interface RestoreProperties {
|
|
90
|
-
/** Directory name in Azure Storage Blob where the backup is stored */
|
|
91
|
-
foldername?: string;
|
|
92
|
-
/** Azure Blob storage container Uri */
|
|
93
|
-
azureStorageResourceUri?: string;
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
/** Cloud Hsm Cluster backup information */
|
|
97
|
-
export interface BackupProperties {
|
|
98
|
-
/** Azure storage Resource Uri */
|
|
99
|
-
azureStorageResourceUri?: string;
|
|
100
|
-
/**
|
|
101
|
-
* Last Date Time that Customer Enabled Backup was taken
|
|
102
|
-
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
103
|
-
*/
|
|
104
|
-
readonly lastBackupDateTime?: Date;
|
|
105
|
-
/**
|
|
106
|
-
* Status of last backup
|
|
107
|
-
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
108
|
-
*/
|
|
109
|
-
readonly lastBackupStatus?: string;
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
/** Cloud Hsm Cluster SKU information */
|
|
113
|
-
export interface CloudHsmClusterSku {
|
|
114
|
-
/** Sku family of the Cloud HSM Cluster */
|
|
115
|
-
family: CloudHsmClusterSkuFamily;
|
|
116
|
-
/** Sku name of the Cloud HSM Cluster */
|
|
117
|
-
name: CloudHsmClusterSkuName;
|
|
118
|
-
/** Sku capacity */
|
|
119
|
-
capacity?: number;
|
|
120
|
-
}
|
|
121
|
-
|
|
122
80
|
/** Managed service identity (system assigned and/or user assigned identities) */
|
|
123
81
|
export interface ManagedServiceIdentity {
|
|
124
82
|
/**
|
|
@@ -153,14 +111,24 @@ export interface UserAssignedIdentity {
|
|
|
153
111
|
readonly clientId?: string;
|
|
154
112
|
}
|
|
155
113
|
|
|
156
|
-
/**
|
|
157
|
-
export interface
|
|
158
|
-
/**
|
|
159
|
-
|
|
114
|
+
/** Cloud Hsm Cluster SKU information */
|
|
115
|
+
export interface CloudHsmClusterSku {
|
|
116
|
+
/** Sku family of the Cloud HSM Cluster */
|
|
117
|
+
family: CloudHsmClusterSkuFamily;
|
|
118
|
+
/** Sku name of the Cloud HSM Cluster */
|
|
119
|
+
name: CloudHsmClusterSkuName;
|
|
120
|
+
/** Sku capacity */
|
|
121
|
+
capacity?: number;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
/** Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.). */
|
|
125
|
+
export interface ErrorResponse {
|
|
126
|
+
/** The error object. */
|
|
127
|
+
error?: ErrorDetail;
|
|
160
128
|
}
|
|
161
129
|
|
|
162
|
-
/**
|
|
163
|
-
export interface
|
|
130
|
+
/** The error detail. */
|
|
131
|
+
export interface ErrorDetail {
|
|
164
132
|
/**
|
|
165
133
|
* The error code.
|
|
166
134
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
@@ -171,18 +139,43 @@ export interface CHsmError {
|
|
|
171
139
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
172
140
|
*/
|
|
173
141
|
readonly message?: string;
|
|
142
|
+
/**
|
|
143
|
+
* The error target.
|
|
144
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
145
|
+
*/
|
|
146
|
+
readonly target?: string;
|
|
147
|
+
/**
|
|
148
|
+
* The error details.
|
|
149
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
150
|
+
*/
|
|
151
|
+
readonly details?: ErrorDetail[];
|
|
152
|
+
/**
|
|
153
|
+
* The error additional info.
|
|
154
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
155
|
+
*/
|
|
156
|
+
readonly additionalInfo?: ErrorAdditionalInfo[];
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
/** The resource management error additional info. */
|
|
160
|
+
export interface ErrorAdditionalInfo {
|
|
161
|
+
/**
|
|
162
|
+
* The additional info type.
|
|
163
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
164
|
+
*/
|
|
165
|
+
readonly type?: string;
|
|
166
|
+
/**
|
|
167
|
+
* The additional info.
|
|
168
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
169
|
+
*/
|
|
170
|
+
readonly info?: Record<string, unknown>;
|
|
174
171
|
}
|
|
175
172
|
|
|
176
173
|
/** Patchable properties of the Cloud HSM Cluster */
|
|
177
174
|
export interface CloudHsmClusterPatchParameters {
|
|
178
175
|
/** The Cloud HSM Cluster's tags */
|
|
179
176
|
tags?: { [propertyName: string]: string };
|
|
180
|
-
/** SKU details */
|
|
181
|
-
sku?: CloudHsmClusterSku;
|
|
182
177
|
/** Managed service identity (system assigned and/or user assigned identities) */
|
|
183
178
|
identity?: ManagedServiceIdentity;
|
|
184
|
-
/** Cloud Hsm Cluster backup information */
|
|
185
|
-
backupProperties?: BackupProperties;
|
|
186
179
|
}
|
|
187
180
|
|
|
188
181
|
/** List of Cloud HSM Clusters */
|
|
@@ -197,6 +190,11 @@ export interface CloudHsmClusterListResult {
|
|
|
197
190
|
export interface PrivateLinkResourceListResult {
|
|
198
191
|
/** Array of private link resources */
|
|
199
192
|
value?: PrivateLinkResource[];
|
|
193
|
+
/**
|
|
194
|
+
* URL to get the next set of operation list results (if there are any).
|
|
195
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
196
|
+
*/
|
|
197
|
+
readonly nextLink?: string;
|
|
200
198
|
}
|
|
201
199
|
|
|
202
200
|
/** List of private endpoint connections associated with the specified resource. */
|
|
@@ -207,81 +205,78 @@ export interface PrivateEndpointConnectionListResult {
|
|
|
207
205
|
nextLink?: string;
|
|
208
206
|
}
|
|
209
207
|
|
|
210
|
-
/**
|
|
211
|
-
export interface
|
|
212
|
-
/**
|
|
213
|
-
|
|
208
|
+
/** Backup and Restore Common properties */
|
|
209
|
+
export interface BackupRestoreRequestBaseProperties {
|
|
210
|
+
/** The Azure blob storage container Uri which contains the backup */
|
|
211
|
+
azureStorageBlobContainerUri: string;
|
|
212
|
+
/** The SAS token pointing to an Azure blob storage container. This property is reserved for Azure Backup Service. */
|
|
213
|
+
token?: string;
|
|
214
214
|
}
|
|
215
215
|
|
|
216
|
-
/**
|
|
217
|
-
export interface
|
|
218
|
-
/** The name of the Dedicated HSM Resource Provider Operation. */
|
|
219
|
-
name?: string;
|
|
216
|
+
/** Backup operation Result */
|
|
217
|
+
export interface BackupResult {
|
|
220
218
|
/**
|
|
221
|
-
*
|
|
219
|
+
* Status of the backup/restore operation
|
|
222
220
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
223
221
|
*/
|
|
224
|
-
readonly
|
|
225
|
-
/** The
|
|
226
|
-
|
|
227
|
-
/**
|
|
228
|
-
|
|
229
|
-
}
|
|
230
|
-
|
|
231
|
-
/** The display string. */
|
|
232
|
-
export interface DedicatedHsmOperationDisplay {
|
|
233
|
-
/** The Resource Provider of the operation */
|
|
234
|
-
provider?: string;
|
|
235
|
-
/** Resource on which the operation is performed. */
|
|
236
|
-
resource?: string;
|
|
237
|
-
/** Operation type: Read, write, delete, etc. */
|
|
238
|
-
operation?: string;
|
|
239
|
-
/** The object that represents the operation. */
|
|
240
|
-
description?: string;
|
|
241
|
-
}
|
|
242
|
-
|
|
243
|
-
/** The error exception. */
|
|
244
|
-
export interface DedicatedHsmError {
|
|
222
|
+
readonly status?: BackupRestoreOperationStatus;
|
|
223
|
+
/** The status details of backup/restore operation */
|
|
224
|
+
statusDetails?: string;
|
|
225
|
+
/** Error encountered, if any, during the backup/restore operation. */
|
|
226
|
+
error?: ErrorDetail;
|
|
245
227
|
/**
|
|
246
|
-
* The
|
|
228
|
+
* The start time of the backup/restore operation in UTC
|
|
247
229
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
248
230
|
*/
|
|
249
|
-
readonly
|
|
231
|
+
readonly startTime?: Date;
|
|
232
|
+
/**
|
|
233
|
+
* The end time of the backup/restore operation in UTC
|
|
234
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
235
|
+
*/
|
|
236
|
+
readonly endTime?: Date;
|
|
237
|
+
/** Identifier for the backup/restore operation. */
|
|
238
|
+
jobId?: string;
|
|
239
|
+
/** The Azure blob storage container Uri which contains the backup */
|
|
240
|
+
azureStorageBlobContainerUri?: string;
|
|
241
|
+
/** The ID of the backup. */
|
|
242
|
+
backupId?: string;
|
|
250
243
|
}
|
|
251
244
|
|
|
252
|
-
/**
|
|
253
|
-
export interface
|
|
245
|
+
/** Backup and Restore operation common properties */
|
|
246
|
+
export interface BackupRestoreBaseResultProperties {
|
|
254
247
|
/**
|
|
255
|
-
*
|
|
248
|
+
* Status of the backup/restore operation
|
|
256
249
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
257
250
|
*/
|
|
258
|
-
readonly
|
|
251
|
+
readonly status?: BackupRestoreOperationStatus;
|
|
252
|
+
/** The status details of backup/restore operation */
|
|
253
|
+
statusDetails?: string;
|
|
254
|
+
/** Error encountered, if any, during the backup/restore operation. */
|
|
255
|
+
error?: ErrorDetail;
|
|
259
256
|
/**
|
|
260
|
-
* The
|
|
257
|
+
* The start time of the backup/restore operation in UTC
|
|
261
258
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
262
259
|
*/
|
|
263
|
-
readonly
|
|
260
|
+
readonly startTime?: Date;
|
|
264
261
|
/**
|
|
265
|
-
*
|
|
262
|
+
* The end time of the backup/restore operation in UTC
|
|
266
263
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
267
264
|
*/
|
|
268
|
-
readonly
|
|
265
|
+
readonly endTime?: Date;
|
|
266
|
+
/** Identifier for the backup/restore operation. */
|
|
267
|
+
jobId?: string;
|
|
269
268
|
}
|
|
270
269
|
|
|
271
|
-
/**
|
|
272
|
-
export interface
|
|
273
|
-
/**
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
/**
|
|
280
|
-
|
|
281
|
-
/** The type of identity that last modified dedicated hsm resource. */
|
|
282
|
-
lastModifiedByType?: IdentityType;
|
|
283
|
-
/** The timestamp of dedicated hsm resource last modification (UTC). */
|
|
284
|
-
lastModifiedAt?: Date;
|
|
270
|
+
/** Restore operation properties */
|
|
271
|
+
export interface RestoreResult {
|
|
272
|
+
/** Backup and Restore operation common properties */
|
|
273
|
+
properties?: BackupRestoreBaseResultProperties;
|
|
274
|
+
}
|
|
275
|
+
|
|
276
|
+
/** SKU of the dedicated HSM */
|
|
277
|
+
export interface Sku {
|
|
278
|
+
/** SKU of the dedicated HSM */
|
|
279
|
+
name?: SkuName;
|
|
285
280
|
}
|
|
286
281
|
|
|
287
282
|
/** The network profile definition. */
|
|
@@ -294,52 +289,47 @@ export interface NetworkProfile {
|
|
|
294
289
|
|
|
295
290
|
/** The API entity reference. */
|
|
296
291
|
export interface ApiEntityReference {
|
|
297
|
-
/** The
|
|
298
|
-
|
|
292
|
+
/** The Azure resource id in the form of /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/... */
|
|
293
|
+
resourceId?: string;
|
|
299
294
|
}
|
|
300
295
|
|
|
301
296
|
/** The network interface definition. */
|
|
302
297
|
export interface NetworkInterface {
|
|
303
298
|
/**
|
|
304
|
-
* The
|
|
299
|
+
* The Azure resource id in the form of /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/...
|
|
305
300
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
306
301
|
*/
|
|
307
|
-
readonly
|
|
302
|
+
readonly resourceId?: string;
|
|
308
303
|
/** Private Ip address of the interface */
|
|
309
304
|
privateIpAddress?: string;
|
|
310
305
|
}
|
|
311
306
|
|
|
312
|
-
/**
|
|
313
|
-
export interface
|
|
307
|
+
/** The error exception. */
|
|
308
|
+
export interface DedicatedHsmError {
|
|
309
|
+
/**
|
|
310
|
+
* The error detail of the operation if any.
|
|
311
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
312
|
+
*/
|
|
313
|
+
readonly error?: ErrorModel;
|
|
314
|
+
}
|
|
315
|
+
|
|
316
|
+
/** The key vault server error. */
|
|
317
|
+
export interface ErrorModel {
|
|
314
318
|
/**
|
|
315
|
-
* The
|
|
319
|
+
* The error code.
|
|
316
320
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
317
321
|
*/
|
|
318
|
-
readonly
|
|
322
|
+
readonly code?: string;
|
|
319
323
|
/**
|
|
320
|
-
* The
|
|
324
|
+
* The error message.
|
|
321
325
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
322
326
|
*/
|
|
323
|
-
readonly
|
|
327
|
+
readonly message?: string;
|
|
324
328
|
/**
|
|
325
|
-
*
|
|
329
|
+
* Contains more specific error that narrows down the cause. May be null.
|
|
326
330
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
327
331
|
*/
|
|
328
|
-
readonly
|
|
329
|
-
/** The supported Azure location where the dedicated HSM should be created. */
|
|
330
|
-
location: string;
|
|
331
|
-
/** SKU details */
|
|
332
|
-
sku?: Sku;
|
|
333
|
-
/** The Dedicated Hsm zones. */
|
|
334
|
-
zones?: string[];
|
|
335
|
-
/** Resource tags */
|
|
336
|
-
tags?: { [propertyName: string]: string };
|
|
337
|
-
}
|
|
338
|
-
|
|
339
|
-
/** SKU of the dedicated HSM */
|
|
340
|
-
export interface Sku {
|
|
341
|
-
/** SKU of the dedicated HSM */
|
|
342
|
-
name?: SkuName;
|
|
332
|
+
readonly innerError?: ErrorModel;
|
|
343
333
|
}
|
|
344
334
|
|
|
345
335
|
/** Patchable properties of the dedicated HSM */
|
|
@@ -395,12 +385,68 @@ export interface EndpointDetail {
|
|
|
395
385
|
description?: string;
|
|
396
386
|
}
|
|
397
387
|
|
|
398
|
-
/**
|
|
399
|
-
export interface
|
|
400
|
-
/**
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
388
|
+
/** A list of REST API operations supported by an Azure Resource Provider. It contains an URL link to get the next set of results. */
|
|
389
|
+
export interface OperationListResult {
|
|
390
|
+
/**
|
|
391
|
+
* List of operations supported by the resource provider
|
|
392
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
393
|
+
*/
|
|
394
|
+
readonly value?: Operation[];
|
|
395
|
+
/**
|
|
396
|
+
* URL to get the next set of operation list results (if there are any).
|
|
397
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
398
|
+
*/
|
|
399
|
+
readonly nextLink?: string;
|
|
400
|
+
}
|
|
401
|
+
|
|
402
|
+
/** Details of a REST API operation, returned from the Resource Provider Operations API */
|
|
403
|
+
export interface Operation {
|
|
404
|
+
/**
|
|
405
|
+
* The name of the operation, as per Resource-Based Access Control (RBAC). Examples: "Microsoft.Compute/virtualMachines/write", "Microsoft.Compute/virtualMachines/capture/action"
|
|
406
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
407
|
+
*/
|
|
408
|
+
readonly name?: string;
|
|
409
|
+
/**
|
|
410
|
+
* Whether the operation applies to data-plane. This is "true" for data-plane operations and "false" for ARM/control-plane operations.
|
|
411
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
412
|
+
*/
|
|
413
|
+
readonly isDataAction?: boolean;
|
|
414
|
+
/** Localized display information for this particular operation. */
|
|
415
|
+
display?: OperationDisplay;
|
|
416
|
+
/**
|
|
417
|
+
* The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is "user,system"
|
|
418
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
419
|
+
*/
|
|
420
|
+
readonly origin?: Origin;
|
|
421
|
+
/**
|
|
422
|
+
* Enum. Indicates the action type. "Internal" refers to actions that are for internal only APIs.
|
|
423
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
424
|
+
*/
|
|
425
|
+
readonly actionType?: ActionType;
|
|
426
|
+
}
|
|
427
|
+
|
|
428
|
+
/** Localized display information for this particular operation. */
|
|
429
|
+
export interface OperationDisplay {
|
|
430
|
+
/**
|
|
431
|
+
* The localized friendly form of the resource provider name, e.g. "Microsoft Monitoring Insights" or "Microsoft Compute".
|
|
432
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
433
|
+
*/
|
|
434
|
+
readonly provider?: string;
|
|
435
|
+
/**
|
|
436
|
+
* The localized friendly name of the resource type related to this operation. E.g. "Virtual Machines" or "Job Schedule Collections".
|
|
437
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
438
|
+
*/
|
|
439
|
+
readonly resource?: string;
|
|
440
|
+
/**
|
|
441
|
+
* The concise, localized friendly name for the operation; suitable for dropdowns. E.g. "Create or Update Virtual Machine", "Restart Virtual Machine".
|
|
442
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
443
|
+
*/
|
|
444
|
+
readonly operation?: string;
|
|
445
|
+
/**
|
|
446
|
+
* The short, localized friendly description of the operation; suitable for tool tips and detailed views.
|
|
447
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
448
|
+
*/
|
|
449
|
+
readonly description?: string;
|
|
404
450
|
}
|
|
405
451
|
|
|
406
452
|
/** The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location */
|
|
@@ -430,29 +476,24 @@ export interface PrivateLinkResource extends Resource {
|
|
|
430
476
|
requiredZoneNames?: string[];
|
|
431
477
|
}
|
|
432
478
|
|
|
433
|
-
/**
|
|
434
|
-
export interface
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
/**
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
/**
|
|
452
|
-
* Provisioning state.
|
|
453
|
-
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
454
|
-
*/
|
|
455
|
-
readonly provisioningState?: JsonWebKeyType;
|
|
479
|
+
/** Backup properties */
|
|
480
|
+
export interface BackupRequestProperties
|
|
481
|
+
extends BackupRestoreRequestBaseProperties {}
|
|
482
|
+
|
|
483
|
+
/** Cloud Hsm Cluster restore information */
|
|
484
|
+
export interface RestoreRequestProperties
|
|
485
|
+
extends BackupRestoreRequestBaseProperties {
|
|
486
|
+
/** An autogenerated unique string ID for labeling the backup. It contains both a UUID and a date timestamp. */
|
|
487
|
+
backupId: string;
|
|
488
|
+
}
|
|
489
|
+
|
|
490
|
+
/** Properties of the Cloud HSM Cluster */
|
|
491
|
+
export interface BackupResultProperties
|
|
492
|
+
extends BackupRestoreBaseResultProperties {
|
|
493
|
+
/** The Azure blob storage container Uri which contains the backup */
|
|
494
|
+
azureStorageBlobContainerUri?: string;
|
|
495
|
+
/** The ID of the backup. */
|
|
496
|
+
backupId?: string;
|
|
456
497
|
}
|
|
457
498
|
|
|
458
499
|
/** The private endpoint connection resource. */
|
|
@@ -477,35 +518,67 @@ export interface PrivateEndpointConnection extends ProxyResource {
|
|
|
477
518
|
|
|
478
519
|
/** Cloud HSM Cluster Resource */
|
|
479
520
|
export interface CloudHsmClusterResource extends TrackedResource {
|
|
480
|
-
/** SKU details */
|
|
481
|
-
sku?: CloudHsmClusterSku;
|
|
482
521
|
/** Managed service identity (system assigned and/or user assigned identities) */
|
|
483
522
|
identity?: ManagedServiceIdentity;
|
|
523
|
+
/** SKU details */
|
|
524
|
+
sku?: CloudHsmClusterSku;
|
|
525
|
+
}
|
|
526
|
+
|
|
527
|
+
/** Resource information with extended details. */
|
|
528
|
+
export interface DedicatedHsm extends TrackedResource {
|
|
529
|
+
/** SKU details */
|
|
530
|
+
sku: Sku;
|
|
531
|
+
/** The Dedicated Hsm zones. */
|
|
532
|
+
zones?: string[];
|
|
533
|
+
/** Specifies the network interfaces of the dedicated hsm. */
|
|
534
|
+
networkProfile?: NetworkProfile;
|
|
535
|
+
/** Specifies the management network interfaces of the dedicated hsm. */
|
|
536
|
+
managementNetworkProfile?: NetworkProfile;
|
|
537
|
+
/** This field will be used when RP does not support Availability zones. */
|
|
538
|
+
stampId?: string;
|
|
539
|
+
/**
|
|
540
|
+
* Resource Status Message.
|
|
541
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
542
|
+
*/
|
|
543
|
+
readonly statusMessage?: string;
|
|
544
|
+
/**
|
|
545
|
+
* Provisioning state.
|
|
546
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
547
|
+
*/
|
|
548
|
+
readonly provisioningState?: JsonWebKeyType;
|
|
484
549
|
}
|
|
485
550
|
|
|
486
551
|
/** Resource information with extended details. */
|
|
487
552
|
export interface CloudHsmCluster extends CloudHsmClusterResource {
|
|
488
|
-
/**
|
|
489
|
-
|
|
553
|
+
/**
|
|
554
|
+
* State of security domain activation
|
|
555
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
556
|
+
*/
|
|
557
|
+
readonly activationState?: ActivationState;
|
|
490
558
|
/** The Cloud HSM Cluster's auto-generated Domain Name Label Scope */
|
|
491
|
-
autoGeneratedDomainNameLabelScope?:
|
|
492
|
-
/**
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
559
|
+
autoGeneratedDomainNameLabelScope?: AutoGeneratedDomainNameLabelScope;
|
|
560
|
+
/**
|
|
561
|
+
* An array of Cloud HSM Cluster's HSMs
|
|
562
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
563
|
+
*/
|
|
564
|
+
readonly hsms?: CloudHsmProperties[];
|
|
565
|
+
/**
|
|
566
|
+
* List of private endpoint connection resources
|
|
567
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
568
|
+
*/
|
|
569
|
+
readonly privateEndpointConnections?: PrivateEndpointConnection[];
|
|
570
|
+
/**
|
|
571
|
+
* The Cloud HSM Cluster's provisioningState
|
|
572
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
573
|
+
*/
|
|
574
|
+
readonly provisioningState?: ProvisioningState;
|
|
496
575
|
/** The Cloud HSM Cluster public network access */
|
|
497
|
-
publicNetworkAccess?:
|
|
498
|
-
/** List of private endpoint connection resources */
|
|
499
|
-
privateEndpointConnections?: PrivateEndpointConnection[];
|
|
576
|
+
publicNetworkAccess?: PublicNetworkAccess;
|
|
500
577
|
/**
|
|
501
578
|
* Cloud HSM Cluster status message
|
|
502
579
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
503
580
|
*/
|
|
504
581
|
readonly statusMessage?: string;
|
|
505
|
-
/** Cloud Hsm Cluster restore information */
|
|
506
|
-
restoreProperties?: RestoreProperties;
|
|
507
|
-
/** Cloud Hsm Cluster backup information */
|
|
508
|
-
backupProperties?: BackupProperties;
|
|
509
582
|
}
|
|
510
583
|
|
|
511
584
|
/** Defines headers for CloudHsmClusters_update operation. */
|
|
@@ -520,38 +593,122 @@ export interface CloudHsmClustersDeleteHeaders {
|
|
|
520
593
|
location?: string;
|
|
521
594
|
}
|
|
522
595
|
|
|
596
|
+
/** Defines headers for CloudHsmClusters_validateBackupProperties operation. */
|
|
597
|
+
export interface CloudHsmClustersValidateBackupPropertiesHeaders {
|
|
598
|
+
/** A unique ID for the current operation, service generated. All the resource providers must return this value in the response headers to facilitate debugging. */
|
|
599
|
+
xMsRequestId?: string;
|
|
600
|
+
}
|
|
601
|
+
|
|
602
|
+
/** Defines headers for CloudHsmClusters_backup operation. */
|
|
603
|
+
export interface CloudHsmClustersBackupHeaders {
|
|
604
|
+
/** A unique ID for the current operation, service generated. All the resource providers must return this value in the response headers to facilitate debugging. */
|
|
605
|
+
xMsRequestId?: string;
|
|
606
|
+
}
|
|
607
|
+
|
|
608
|
+
/** Defines headers for CloudHsmClusters_validateRestoreProperties operation. */
|
|
609
|
+
export interface CloudHsmClustersValidateRestorePropertiesHeaders {
|
|
610
|
+
/** A unique ID for the current operation, service generated. All the resource providers must return this value in the response headers to facilitate debugging. */
|
|
611
|
+
xMsRequestId?: string;
|
|
612
|
+
}
|
|
613
|
+
|
|
614
|
+
/** Defines headers for CloudHsmClusters_restore operation. */
|
|
615
|
+
export interface CloudHsmClustersRestoreHeaders {
|
|
616
|
+
/** A unique ID for the current operation, service generated. All the resource providers must return this value in the response headers to facilitate debugging. */
|
|
617
|
+
xMsRequestId?: string;
|
|
618
|
+
}
|
|
619
|
+
|
|
523
620
|
/** Defines headers for CloudHsmClusterPrivateEndpointConnections_delete operation. */
|
|
524
621
|
export interface CloudHsmClusterPrivateEndpointConnectionsDeleteHeaders {
|
|
525
622
|
/** The URI to poll for completion status. */
|
|
526
623
|
location?: string;
|
|
527
624
|
}
|
|
528
625
|
|
|
529
|
-
/**
|
|
530
|
-
export
|
|
531
|
-
/**
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
626
|
+
/** Defines headers for CloudHsmClusterBackupStatus_get operation. */
|
|
627
|
+
export interface CloudHsmClusterBackupStatusGetHeaders {
|
|
628
|
+
/** A unique ID for the current operation, service generated. All the resource providers must return this value in the response headers to facilitate debugging. */
|
|
629
|
+
xMsRequestId?: string;
|
|
630
|
+
}
|
|
631
|
+
|
|
632
|
+
/** Defines headers for CloudHsmClusterBackupStatus_get operation. */
|
|
633
|
+
export interface CloudHsmClusterBackupStatusGetExceptionHeaders {
|
|
634
|
+
/** A unique ID for the current operation, service generated. All the resource providers must return this value in the response headers to facilitate debugging. */
|
|
635
|
+
xMsRequestId?: string;
|
|
636
|
+
}
|
|
637
|
+
|
|
638
|
+
/** Defines headers for CloudHsmClusterRestoreStatus_get operation. */
|
|
639
|
+
export interface CloudHsmClusterRestoreStatusGetHeaders {
|
|
640
|
+
/** A unique ID for the current operation, service generated. All the resource providers must return this value in the response headers to facilitate debugging. */
|
|
641
|
+
xMsRequestId?: string;
|
|
642
|
+
}
|
|
643
|
+
|
|
644
|
+
/** Defines headers for CloudHsmClusterRestoreStatus_get operation. */
|
|
645
|
+
export interface CloudHsmClusterRestoreStatusGetExceptionHeaders {
|
|
646
|
+
/** A unique ID for the current operation, service generated. All the resource providers must return this value in the response headers to facilitate debugging. */
|
|
647
|
+
xMsRequestId?: string;
|
|
648
|
+
}
|
|
649
|
+
|
|
650
|
+
/** Defines headers for DedicatedHsm_update operation. */
|
|
651
|
+
export interface DedicatedHsmUpdateHeaders {
|
|
652
|
+
/** The URI to poll for completion status. */
|
|
653
|
+
location?: string;
|
|
654
|
+
}
|
|
655
|
+
|
|
656
|
+
/** Defines headers for DedicatedHsm_delete operation. */
|
|
657
|
+
export interface DedicatedHsmDeleteHeaders {
|
|
658
|
+
/** The URI to poll for completion status. */
|
|
659
|
+
location?: string;
|
|
660
|
+
}
|
|
661
|
+
|
|
662
|
+
/** Known values of {@link ActivationState} that the service accepts. */
|
|
663
|
+
export enum KnownActivationState {
|
|
664
|
+
/** NotDefined */
|
|
665
|
+
NotDefined = "NotDefined",
|
|
666
|
+
/** NotActivated */
|
|
667
|
+
NotActivated = "NotActivated",
|
|
668
|
+
/** Active */
|
|
669
|
+
Active = "Active",
|
|
535
670
|
/** Failed */
|
|
536
671
|
Failed = "Failed",
|
|
537
|
-
/**
|
|
538
|
-
|
|
539
|
-
/** Canceled */
|
|
540
|
-
Canceled = "Canceled"
|
|
672
|
+
/** Unknown */
|
|
673
|
+
Unknown = "Unknown",
|
|
541
674
|
}
|
|
542
675
|
|
|
543
676
|
/**
|
|
544
|
-
* Defines values for
|
|
545
|
-
* {@link
|
|
677
|
+
* Defines values for ActivationState. \
|
|
678
|
+
* {@link KnownActivationState} can be used interchangeably with ActivationState,
|
|
546
679
|
* this enum contains the known values that the service supports.
|
|
547
680
|
* ### Known values supported by the service
|
|
548
|
-
* **
|
|
549
|
-
* **
|
|
681
|
+
* **NotDefined** \
|
|
682
|
+
* **NotActivated** \
|
|
683
|
+
* **Active** \
|
|
550
684
|
* **Failed** \
|
|
551
|
-
* **
|
|
552
|
-
* **Canceled**
|
|
685
|
+
* **Unknown**
|
|
553
686
|
*/
|
|
554
|
-
export type
|
|
687
|
+
export type ActivationState = string;
|
|
688
|
+
|
|
689
|
+
/** Known values of {@link AutoGeneratedDomainNameLabelScope} that the service accepts. */
|
|
690
|
+
export enum KnownAutoGeneratedDomainNameLabelScope {
|
|
691
|
+
/** TenantReuse */
|
|
692
|
+
TenantReuse = "TenantReuse",
|
|
693
|
+
/** SubscriptionReuse */
|
|
694
|
+
SubscriptionReuse = "SubscriptionReuse",
|
|
695
|
+
/** ResourceGroupReuse */
|
|
696
|
+
ResourceGroupReuse = "ResourceGroupReuse",
|
|
697
|
+
/** NoReuse */
|
|
698
|
+
NoReuse = "NoReuse",
|
|
699
|
+
}
|
|
700
|
+
|
|
701
|
+
/**
|
|
702
|
+
* Defines values for AutoGeneratedDomainNameLabelScope. \
|
|
703
|
+
* {@link KnownAutoGeneratedDomainNameLabelScope} can be used interchangeably with AutoGeneratedDomainNameLabelScope,
|
|
704
|
+
* this enum contains the known values that the service supports.
|
|
705
|
+
* ### Known values supported by the service
|
|
706
|
+
* **TenantReuse** \
|
|
707
|
+
* **SubscriptionReuse** \
|
|
708
|
+
* **ResourceGroupReuse** \
|
|
709
|
+
* **NoReuse**
|
|
710
|
+
*/
|
|
711
|
+
export type AutoGeneratedDomainNameLabelScope = string;
|
|
555
712
|
|
|
556
713
|
/** Known values of {@link PrivateEndpointServiceConnectionStatus} that the service accepts. */
|
|
557
714
|
export enum KnownPrivateEndpointServiceConnectionStatus {
|
|
@@ -560,7 +717,7 @@ export enum KnownPrivateEndpointServiceConnectionStatus {
|
|
|
560
717
|
/** Approved */
|
|
561
718
|
Approved = "Approved",
|
|
562
719
|
/** Rejected */
|
|
563
|
-
Rejected = "Rejected"
|
|
720
|
+
Rejected = "Rejected",
|
|
564
721
|
}
|
|
565
722
|
|
|
566
723
|
/**
|
|
@@ -589,7 +746,7 @@ export enum KnownPrivateEndpointConnectionProvisioningState {
|
|
|
589
746
|
/** InternalError */
|
|
590
747
|
InternalError = "InternalError",
|
|
591
748
|
/** Canceled */
|
|
592
|
-
Canceled = "Canceled"
|
|
749
|
+
Canceled = "Canceled",
|
|
593
750
|
}
|
|
594
751
|
|
|
595
752
|
/**
|
|
@@ -616,7 +773,7 @@ export enum KnownCreatedByType {
|
|
|
616
773
|
/** ManagedIdentity */
|
|
617
774
|
ManagedIdentity = "ManagedIdentity",
|
|
618
775
|
/** Key */
|
|
619
|
-
Key = "Key"
|
|
776
|
+
Key = "Key",
|
|
620
777
|
}
|
|
621
778
|
|
|
622
779
|
/**
|
|
@@ -631,20 +788,47 @@ export enum KnownCreatedByType {
|
|
|
631
788
|
*/
|
|
632
789
|
export type CreatedByType = string;
|
|
633
790
|
|
|
634
|
-
/** Known values of {@link
|
|
635
|
-
export enum
|
|
636
|
-
/**
|
|
637
|
-
|
|
791
|
+
/** Known values of {@link ProvisioningState} that the service accepts. */
|
|
792
|
+
export enum KnownProvisioningState {
|
|
793
|
+
/** Provisioning */
|
|
794
|
+
Provisioning = "Provisioning",
|
|
795
|
+
/** Succeeded */
|
|
796
|
+
Succeeded = "Succeeded",
|
|
797
|
+
/** Failed */
|
|
798
|
+
Failed = "Failed",
|
|
799
|
+
/** Deleting */
|
|
800
|
+
Deleting = "Deleting",
|
|
801
|
+
/** Canceled */
|
|
802
|
+
Canceled = "Canceled",
|
|
638
803
|
}
|
|
639
804
|
|
|
640
805
|
/**
|
|
641
|
-
* Defines values for
|
|
642
|
-
* {@link
|
|
806
|
+
* Defines values for ProvisioningState. \
|
|
807
|
+
* {@link KnownProvisioningState} can be used interchangeably with ProvisioningState,
|
|
643
808
|
* this enum contains the known values that the service supports.
|
|
644
809
|
* ### Known values supported by the service
|
|
645
|
-
* **
|
|
810
|
+
* **Provisioning** \
|
|
811
|
+
* **Succeeded** \
|
|
812
|
+
* **Failed** \
|
|
813
|
+
* **Deleting** \
|
|
814
|
+
* **Canceled**
|
|
646
815
|
*/
|
|
647
|
-
export type
|
|
816
|
+
export type ProvisioningState = string;
|
|
817
|
+
|
|
818
|
+
/** Known values of {@link PublicNetworkAccess} that the service accepts. */
|
|
819
|
+
export enum KnownPublicNetworkAccess {
|
|
820
|
+
/** Disabled */
|
|
821
|
+
Disabled = "Disabled",
|
|
822
|
+
}
|
|
823
|
+
|
|
824
|
+
/**
|
|
825
|
+
* Defines values for PublicNetworkAccess. \
|
|
826
|
+
* {@link KnownPublicNetworkAccess} can be used interchangeably with PublicNetworkAccess,
|
|
827
|
+
* this enum contains the known values that the service supports.
|
|
828
|
+
* ### Known values supported by the service
|
|
829
|
+
* **Disabled**
|
|
830
|
+
*/
|
|
831
|
+
export type PublicNetworkAccess = string;
|
|
648
832
|
|
|
649
833
|
/** Known values of {@link ManagedServiceIdentityType} that the service accepts. */
|
|
650
834
|
export enum KnownManagedServiceIdentityType {
|
|
@@ -655,7 +839,7 @@ export enum KnownManagedServiceIdentityType {
|
|
|
655
839
|
/** UserAssigned */
|
|
656
840
|
UserAssigned = "UserAssigned",
|
|
657
841
|
/** SystemAssignedUserAssigned */
|
|
658
|
-
SystemAssignedUserAssigned = "SystemAssigned,UserAssigned"
|
|
842
|
+
SystemAssignedUserAssigned = "SystemAssigned,UserAssigned",
|
|
659
843
|
}
|
|
660
844
|
|
|
661
845
|
/**
|
|
@@ -670,62 +854,44 @@ export enum KnownManagedServiceIdentityType {
|
|
|
670
854
|
*/
|
|
671
855
|
export type ManagedServiceIdentityType = string;
|
|
672
856
|
|
|
673
|
-
/** Known values of {@link
|
|
674
|
-
export enum
|
|
675
|
-
/**
|
|
676
|
-
|
|
677
|
-
/** Application */
|
|
678
|
-
Application = "Application",
|
|
679
|
-
/** ManagedIdentity */
|
|
680
|
-
ManagedIdentity = "ManagedIdentity",
|
|
681
|
-
/** Key */
|
|
682
|
-
Key = "Key"
|
|
857
|
+
/** Known values of {@link CloudHsmClusterSkuFamily} that the service accepts. */
|
|
858
|
+
export enum KnownCloudHsmClusterSkuFamily {
|
|
859
|
+
/** B */
|
|
860
|
+
B = "B",
|
|
683
861
|
}
|
|
684
862
|
|
|
685
863
|
/**
|
|
686
|
-
* Defines values for
|
|
687
|
-
* {@link
|
|
864
|
+
* Defines values for CloudHsmClusterSkuFamily. \
|
|
865
|
+
* {@link KnownCloudHsmClusterSkuFamily} can be used interchangeably with CloudHsmClusterSkuFamily,
|
|
688
866
|
* this enum contains the known values that the service supports.
|
|
689
867
|
* ### Known values supported by the service
|
|
690
|
-
* **
|
|
691
|
-
* **Application** \
|
|
692
|
-
* **ManagedIdentity** \
|
|
693
|
-
* **Key**
|
|
868
|
+
* **B**
|
|
694
869
|
*/
|
|
695
|
-
export type
|
|
870
|
+
export type CloudHsmClusterSkuFamily = string;
|
|
696
871
|
|
|
697
|
-
/** Known values of {@link
|
|
698
|
-
export enum
|
|
699
|
-
/**
|
|
872
|
+
/** Known values of {@link BackupRestoreOperationStatus} that the service accepts. */
|
|
873
|
+
export enum KnownBackupRestoreOperationStatus {
|
|
874
|
+
/** InProgress */
|
|
875
|
+
InProgress = "InProgress",
|
|
876
|
+
/** Succeeded */
|
|
700
877
|
Succeeded = "Succeeded",
|
|
701
|
-
/**
|
|
702
|
-
Provisioning = "Provisioning",
|
|
703
|
-
/** A device is currently being allocated for the dedicated HSM resource. */
|
|
704
|
-
Allocating = "Allocating",
|
|
705
|
-
/** The dedicated HSM is being connected to the virtual network. */
|
|
706
|
-
Connecting = "Connecting",
|
|
707
|
-
/** Provisioning of the dedicated HSM has failed. */
|
|
878
|
+
/** Failed */
|
|
708
879
|
Failed = "Failed",
|
|
709
|
-
/**
|
|
710
|
-
|
|
711
|
-
/** The dedicated HSM is currently being deleted. */
|
|
712
|
-
Deleting = "Deleting"
|
|
880
|
+
/** Cancelled */
|
|
881
|
+
Cancelled = "Cancelled",
|
|
713
882
|
}
|
|
714
883
|
|
|
715
884
|
/**
|
|
716
|
-
* Defines values for
|
|
717
|
-
* {@link
|
|
885
|
+
* Defines values for BackupRestoreOperationStatus. \
|
|
886
|
+
* {@link KnownBackupRestoreOperationStatus} can be used interchangeably with BackupRestoreOperationStatus,
|
|
718
887
|
* this enum contains the known values that the service supports.
|
|
719
888
|
* ### Known values supported by the service
|
|
720
|
-
* **
|
|
721
|
-
* **
|
|
722
|
-
* **
|
|
723
|
-
* **
|
|
724
|
-
* **Failed**: Provisioning of the dedicated HSM has failed. \
|
|
725
|
-
* **CheckingQuota**: Validating the subscription has sufficient quota to allocate a dedicated HSM device. \
|
|
726
|
-
* **Deleting**: The dedicated HSM is currently being deleted.
|
|
889
|
+
* **InProgress** \
|
|
890
|
+
* **Succeeded** \
|
|
891
|
+
* **Failed** \
|
|
892
|
+
* **Cancelled**
|
|
727
893
|
*/
|
|
728
|
-
export type
|
|
894
|
+
export type BackupRestoreOperationStatus = string;
|
|
729
895
|
|
|
730
896
|
/** Known values of {@link SkuName} that the service accepts. */
|
|
731
897
|
export enum KnownSkuName {
|
|
@@ -742,7 +908,7 @@ export enum KnownSkuName {
|
|
|
742
908
|
/** The dedicated HSM is a payShield 10K, model PS10-D, 10Gb Ethernet Hardware Platform device with 2 local master keys which supports up to 250 calls per second. */
|
|
743
909
|
PayShield10KLMK2CPS250 = "payShield10K_LMK2_CPS250",
|
|
744
910
|
/** The dedicated HSM is a payShield 10K, model PS10-D, 10Gb Ethernet Hardware Platform device with 2 local master keys which supports up to 2500 calls per second. */
|
|
745
|
-
PayShield10KLMK2CPS2500 = "payShield10K_LMK2_CPS2500"
|
|
911
|
+
PayShield10KLMK2CPS2500 = "payShield10K_LMK2_CPS2500",
|
|
746
912
|
}
|
|
747
913
|
|
|
748
914
|
/**
|
|
@@ -759,6 +925,99 @@ export enum KnownSkuName {
|
|
|
759
925
|
* **payShield10K_LMK2_CPS2500**: The dedicated HSM is a payShield 10K, model PS10-D, 10Gb Ethernet Hardware Platform device with 2 local master keys which supports up to 2500 calls per second.
|
|
760
926
|
*/
|
|
761
927
|
export type SkuName = string;
|
|
928
|
+
|
|
929
|
+
/** Known values of {@link JsonWebKeyType} that the service accepts. */
|
|
930
|
+
export enum KnownJsonWebKeyType {
|
|
931
|
+
/** The dedicated HSM has been fully provisioned. */
|
|
932
|
+
Succeeded = "Succeeded",
|
|
933
|
+
/** The dedicated HSM is currently being provisioned. */
|
|
934
|
+
Provisioning = "Provisioning",
|
|
935
|
+
/** A device is currently being allocated for the dedicated HSM resource. */
|
|
936
|
+
Allocating = "Allocating",
|
|
937
|
+
/** The dedicated HSM is being connected to the virtual network. */
|
|
938
|
+
Connecting = "Connecting",
|
|
939
|
+
/** Provisioning of the dedicated HSM has failed. */
|
|
940
|
+
Failed = "Failed",
|
|
941
|
+
/** Validating the subscription has sufficient quota to allocate a dedicated HSM device. */
|
|
942
|
+
CheckingQuota = "CheckingQuota",
|
|
943
|
+
/** The dedicated HSM is currently being deleted. */
|
|
944
|
+
Deleting = "Deleting",
|
|
945
|
+
}
|
|
946
|
+
|
|
947
|
+
/**
|
|
948
|
+
* Defines values for JsonWebKeyType. \
|
|
949
|
+
* {@link KnownJsonWebKeyType} can be used interchangeably with JsonWebKeyType,
|
|
950
|
+
* this enum contains the known values that the service supports.
|
|
951
|
+
* ### Known values supported by the service
|
|
952
|
+
* **Succeeded**: The dedicated HSM has been fully provisioned. \
|
|
953
|
+
* **Provisioning**: The dedicated HSM is currently being provisioned. \
|
|
954
|
+
* **Allocating**: A device is currently being allocated for the dedicated HSM resource. \
|
|
955
|
+
* **Connecting**: The dedicated HSM is being connected to the virtual network. \
|
|
956
|
+
* **Failed**: Provisioning of the dedicated HSM has failed. \
|
|
957
|
+
* **CheckingQuota**: Validating the subscription has sufficient quota to allocate a dedicated HSM device. \
|
|
958
|
+
* **Deleting**: The dedicated HSM is currently being deleted.
|
|
959
|
+
*/
|
|
960
|
+
export type JsonWebKeyType = string;
|
|
961
|
+
|
|
962
|
+
/** Known values of {@link Origin} that the service accepts. */
|
|
963
|
+
export enum KnownOrigin {
|
|
964
|
+
/** User */
|
|
965
|
+
User = "user",
|
|
966
|
+
/** System */
|
|
967
|
+
System = "system",
|
|
968
|
+
/** UserSystem */
|
|
969
|
+
UserSystem = "user,system",
|
|
970
|
+
}
|
|
971
|
+
|
|
972
|
+
/**
|
|
973
|
+
* Defines values for Origin. \
|
|
974
|
+
* {@link KnownOrigin} can be used interchangeably with Origin,
|
|
975
|
+
* this enum contains the known values that the service supports.
|
|
976
|
+
* ### Known values supported by the service
|
|
977
|
+
* **user** \
|
|
978
|
+
* **system** \
|
|
979
|
+
* **user,system**
|
|
980
|
+
*/
|
|
981
|
+
export type Origin = string;
|
|
982
|
+
|
|
983
|
+
/** Known values of {@link ActionType} that the service accepts. */
|
|
984
|
+
export enum KnownActionType {
|
|
985
|
+
/** Internal */
|
|
986
|
+
Internal = "Internal",
|
|
987
|
+
}
|
|
988
|
+
|
|
989
|
+
/**
|
|
990
|
+
* Defines values for ActionType. \
|
|
991
|
+
* {@link KnownActionType} can be used interchangeably with ActionType,
|
|
992
|
+
* this enum contains the known values that the service supports.
|
|
993
|
+
* ### Known values supported by the service
|
|
994
|
+
* **Internal**
|
|
995
|
+
*/
|
|
996
|
+
export type ActionType = string;
|
|
997
|
+
|
|
998
|
+
/** Known values of {@link IdentityType} that the service accepts. */
|
|
999
|
+
export enum KnownIdentityType {
|
|
1000
|
+
/** User */
|
|
1001
|
+
User = "User",
|
|
1002
|
+
/** Application */
|
|
1003
|
+
Application = "Application",
|
|
1004
|
+
/** ManagedIdentity */
|
|
1005
|
+
ManagedIdentity = "ManagedIdentity",
|
|
1006
|
+
/** Key */
|
|
1007
|
+
Key = "Key",
|
|
1008
|
+
}
|
|
1009
|
+
|
|
1010
|
+
/**
|
|
1011
|
+
* Defines values for IdentityType. \
|
|
1012
|
+
* {@link KnownIdentityType} can be used interchangeably with IdentityType,
|
|
1013
|
+
* this enum contains the known values that the service supports.
|
|
1014
|
+
* ### Known values supported by the service
|
|
1015
|
+
* **User** \
|
|
1016
|
+
* **Application** \
|
|
1017
|
+
* **ManagedIdentity** \
|
|
1018
|
+
* **Key**
|
|
1019
|
+
*/
|
|
1020
|
+
export type IdentityType = string;
|
|
762
1021
|
/** Defines values for CloudHsmClusterSkuName. */
|
|
763
1022
|
export type CloudHsmClusterSkuName = "Standard_B1" | "Standard B10";
|
|
764
1023
|
|
|
@@ -767,26 +1026,14 @@ export interface CloudHsmClustersCreateOrUpdateOptionalParams
|
|
|
767
1026
|
extends coreClient.OperationOptions {
|
|
768
1027
|
/** Resource tags. */
|
|
769
1028
|
tags?: { [propertyName: string]: string };
|
|
770
|
-
/** SKU details */
|
|
771
|
-
sku?: CloudHsmClusterSku;
|
|
772
1029
|
/** Managed service identity (system assigned and/or user assigned identities) */
|
|
773
1030
|
identity?: ManagedServiceIdentity;
|
|
774
|
-
/**
|
|
775
|
-
|
|
1031
|
+
/** SKU details */
|
|
1032
|
+
sku?: CloudHsmClusterSku;
|
|
776
1033
|
/** The Cloud HSM Cluster's auto-generated Domain Name Label Scope */
|
|
777
|
-
autoGeneratedDomainNameLabelScope?:
|
|
778
|
-
/** Security domain properties information for Cloud HSM cluster */
|
|
779
|
-
securityDomain?: CloudHsmClusterSecurityDomainProperties;
|
|
780
|
-
/** An array of Cloud HSM Cluster's HSMs */
|
|
781
|
-
hsms?: CloudHsmProperties[];
|
|
1034
|
+
autoGeneratedDomainNameLabelScope?: AutoGeneratedDomainNameLabelScope;
|
|
782
1035
|
/** The Cloud HSM Cluster public network access */
|
|
783
|
-
publicNetworkAccess?:
|
|
784
|
-
/** List of private endpoint connection resources */
|
|
785
|
-
privateEndpointConnections?: PrivateEndpointConnection[];
|
|
786
|
-
/** Cloud Hsm Cluster restore information */
|
|
787
|
-
restoreProperties?: RestoreProperties;
|
|
788
|
-
/** Cloud Hsm Cluster backup information */
|
|
789
|
-
backupProperties?: BackupProperties;
|
|
1036
|
+
publicNetworkAccess?: PublicNetworkAccess;
|
|
790
1037
|
/** Delay to wait until next poll, in milliseconds. */
|
|
791
1038
|
updateIntervalInMs?: number;
|
|
792
1039
|
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
@@ -801,12 +1048,8 @@ export interface CloudHsmClustersUpdateOptionalParams
|
|
|
801
1048
|
extends coreClient.OperationOptions {
|
|
802
1049
|
/** The Cloud HSM Cluster's tags */
|
|
803
1050
|
tags?: { [propertyName: string]: string };
|
|
804
|
-
/** SKU details */
|
|
805
|
-
sku?: CloudHsmClusterSku;
|
|
806
1051
|
/** Managed service identity (system assigned and/or user assigned identities) */
|
|
807
1052
|
identity?: ManagedServiceIdentity;
|
|
808
|
-
/** Cloud Hsm Cluster backup information */
|
|
809
|
-
backupProperties?: BackupProperties;
|
|
810
1053
|
/** Delay to wait until next poll, in milliseconds. */
|
|
811
1054
|
updateIntervalInMs?: number;
|
|
812
1055
|
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
@@ -832,6 +1075,9 @@ export interface CloudHsmClustersDeleteOptionalParams
|
|
|
832
1075
|
resumeFrom?: string;
|
|
833
1076
|
}
|
|
834
1077
|
|
|
1078
|
+
/** Contains response data for the delete operation. */
|
|
1079
|
+
export type CloudHsmClustersDeleteResponse = CloudHsmClustersDeleteHeaders;
|
|
1080
|
+
|
|
835
1081
|
/** Optional parameters. */
|
|
836
1082
|
export interface CloudHsmClustersListByResourceGroupOptionalParams
|
|
837
1083
|
extends coreClient.OperationOptions {
|
|
@@ -840,7 +1086,8 @@ export interface CloudHsmClustersListByResourceGroupOptionalParams
|
|
|
840
1086
|
}
|
|
841
1087
|
|
|
842
1088
|
/** Contains response data for the listByResourceGroup operation. */
|
|
843
|
-
export type CloudHsmClustersListByResourceGroupResponse =
|
|
1089
|
+
export type CloudHsmClustersListByResourceGroupResponse =
|
|
1090
|
+
CloudHsmClusterListResult;
|
|
844
1091
|
|
|
845
1092
|
/** Optional parameters. */
|
|
846
1093
|
export interface CloudHsmClustersListBySubscriptionOptionalParams
|
|
@@ -850,35 +1097,106 @@ export interface CloudHsmClustersListBySubscriptionOptionalParams
|
|
|
850
1097
|
}
|
|
851
1098
|
|
|
852
1099
|
/** Contains response data for the listBySubscription operation. */
|
|
853
|
-
export type CloudHsmClustersListBySubscriptionResponse =
|
|
1100
|
+
export type CloudHsmClustersListBySubscriptionResponse =
|
|
1101
|
+
CloudHsmClusterListResult;
|
|
1102
|
+
|
|
1103
|
+
/** Optional parameters. */
|
|
1104
|
+
export interface CloudHsmClustersValidateBackupPropertiesOptionalParams
|
|
1105
|
+
extends coreClient.OperationOptions {
|
|
1106
|
+
/** Backup Operation Required properties */
|
|
1107
|
+
backupRequestProperties?: BackupRequestProperties;
|
|
1108
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
1109
|
+
updateIntervalInMs?: number;
|
|
1110
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
1111
|
+
resumeFrom?: string;
|
|
1112
|
+
}
|
|
1113
|
+
|
|
1114
|
+
/** Contains response data for the validateBackupProperties operation. */
|
|
1115
|
+
export type CloudHsmClustersValidateBackupPropertiesResponse =
|
|
1116
|
+
CloudHsmClustersValidateBackupPropertiesHeaders & BackupResult;
|
|
1117
|
+
|
|
1118
|
+
/** Optional parameters. */
|
|
1119
|
+
export interface CloudHsmClustersBackupOptionalParams
|
|
1120
|
+
extends coreClient.OperationOptions {
|
|
1121
|
+
/** Azure storage Resource Uri */
|
|
1122
|
+
backupRequestProperties?: BackupRequestProperties;
|
|
1123
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
1124
|
+
updateIntervalInMs?: number;
|
|
1125
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
1126
|
+
resumeFrom?: string;
|
|
1127
|
+
}
|
|
1128
|
+
|
|
1129
|
+
/** Contains response data for the backup operation. */
|
|
1130
|
+
export type CloudHsmClustersBackupResponse = CloudHsmClustersBackupHeaders &
|
|
1131
|
+
BackupResult;
|
|
1132
|
+
|
|
1133
|
+
/** Optional parameters. */
|
|
1134
|
+
export interface CloudHsmClustersValidateRestorePropertiesOptionalParams
|
|
1135
|
+
extends coreClient.OperationOptions {
|
|
1136
|
+
/** Optional Parameters to validate prior performing a restore operation. */
|
|
1137
|
+
restoreRequestProperties?: RestoreRequestProperties;
|
|
1138
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
1139
|
+
updateIntervalInMs?: number;
|
|
1140
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
1141
|
+
resumeFrom?: string;
|
|
1142
|
+
}
|
|
1143
|
+
|
|
1144
|
+
/** Contains response data for the validateRestoreProperties operation. */
|
|
1145
|
+
export type CloudHsmClustersValidateRestorePropertiesResponse =
|
|
1146
|
+
CloudHsmClustersValidateRestorePropertiesHeaders & RestoreResult;
|
|
1147
|
+
|
|
1148
|
+
/** Optional parameters. */
|
|
1149
|
+
export interface CloudHsmClustersRestoreOptionalParams
|
|
1150
|
+
extends coreClient.OperationOptions {
|
|
1151
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
1152
|
+
updateIntervalInMs?: number;
|
|
1153
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
1154
|
+
resumeFrom?: string;
|
|
1155
|
+
}
|
|
1156
|
+
|
|
1157
|
+
/** Contains response data for the restore operation. */
|
|
1158
|
+
export type CloudHsmClustersRestoreResponse = CloudHsmClustersRestoreHeaders &
|
|
1159
|
+
RestoreResult;
|
|
854
1160
|
|
|
855
1161
|
/** Optional parameters. */
|
|
856
1162
|
export interface CloudHsmClustersListByResourceGroupNextOptionalParams
|
|
857
1163
|
extends coreClient.OperationOptions {}
|
|
858
1164
|
|
|
859
1165
|
/** Contains response data for the listByResourceGroupNext operation. */
|
|
860
|
-
export type CloudHsmClustersListByResourceGroupNextResponse =
|
|
1166
|
+
export type CloudHsmClustersListByResourceGroupNextResponse =
|
|
1167
|
+
CloudHsmClusterListResult;
|
|
861
1168
|
|
|
862
1169
|
/** Optional parameters. */
|
|
863
1170
|
export interface CloudHsmClustersListBySubscriptionNextOptionalParams
|
|
864
1171
|
extends coreClient.OperationOptions {}
|
|
865
1172
|
|
|
866
1173
|
/** Contains response data for the listBySubscriptionNext operation. */
|
|
867
|
-
export type CloudHsmClustersListBySubscriptionNextResponse =
|
|
1174
|
+
export type CloudHsmClustersListBySubscriptionNextResponse =
|
|
1175
|
+
CloudHsmClusterListResult;
|
|
868
1176
|
|
|
869
1177
|
/** Optional parameters. */
|
|
870
1178
|
export interface CloudHsmClusterPrivateLinkResourcesListByCloudHsmClusterOptionalParams
|
|
871
1179
|
extends coreClient.OperationOptions {}
|
|
872
1180
|
|
|
873
1181
|
/** Contains response data for the listByCloudHsmCluster operation. */
|
|
874
|
-
export type CloudHsmClusterPrivateLinkResourcesListByCloudHsmClusterResponse =
|
|
1182
|
+
export type CloudHsmClusterPrivateLinkResourcesListByCloudHsmClusterResponse =
|
|
1183
|
+
PrivateLinkResourceListResult;
|
|
1184
|
+
|
|
1185
|
+
/** Optional parameters. */
|
|
1186
|
+
export interface CloudHsmClusterPrivateLinkResourcesListByCloudHsmClusterNextOptionalParams
|
|
1187
|
+
extends coreClient.OperationOptions {}
|
|
1188
|
+
|
|
1189
|
+
/** Contains response data for the listByCloudHsmClusterNext operation. */
|
|
1190
|
+
export type CloudHsmClusterPrivateLinkResourcesListByCloudHsmClusterNextResponse =
|
|
1191
|
+
PrivateLinkResourceListResult;
|
|
875
1192
|
|
|
876
1193
|
/** Optional parameters. */
|
|
877
1194
|
export interface CloudHsmClusterPrivateEndpointConnectionsCreateOptionalParams
|
|
878
1195
|
extends coreClient.OperationOptions {}
|
|
879
1196
|
|
|
880
1197
|
/** Contains response data for the create operation. */
|
|
881
|
-
export type CloudHsmClusterPrivateEndpointConnectionsCreateResponse =
|
|
1198
|
+
export type CloudHsmClusterPrivateEndpointConnectionsCreateResponse =
|
|
1199
|
+
PrivateEndpointConnection;
|
|
882
1200
|
|
|
883
1201
|
/** Optional parameters. */
|
|
884
1202
|
export interface CloudHsmClusterPrivateEndpointConnectionsDeleteOptionalParams
|
|
@@ -889,33 +1207,49 @@ export interface CloudHsmClusterPrivateEndpointConnectionsDeleteOptionalParams
|
|
|
889
1207
|
resumeFrom?: string;
|
|
890
1208
|
}
|
|
891
1209
|
|
|
1210
|
+
/** Contains response data for the delete operation. */
|
|
1211
|
+
export type CloudHsmClusterPrivateEndpointConnectionsDeleteResponse =
|
|
1212
|
+
CloudHsmClusterPrivateEndpointConnectionsDeleteHeaders;
|
|
1213
|
+
|
|
892
1214
|
/** Optional parameters. */
|
|
893
1215
|
export interface CloudHsmClusterPrivateEndpointConnectionsGetOptionalParams
|
|
894
1216
|
extends coreClient.OperationOptions {}
|
|
895
1217
|
|
|
896
1218
|
/** Contains response data for the get operation. */
|
|
897
|
-
export type CloudHsmClusterPrivateEndpointConnectionsGetResponse =
|
|
1219
|
+
export type CloudHsmClusterPrivateEndpointConnectionsGetResponse =
|
|
1220
|
+
PrivateEndpointConnection;
|
|
898
1221
|
|
|
899
1222
|
/** Optional parameters. */
|
|
900
1223
|
export interface PrivateEndpointConnectionsListByCloudHsmClusterOptionalParams
|
|
901
1224
|
extends coreClient.OperationOptions {}
|
|
902
1225
|
|
|
903
1226
|
/** Contains response data for the listByCloudHsmCluster operation. */
|
|
904
|
-
export type PrivateEndpointConnectionsListByCloudHsmClusterResponse =
|
|
1227
|
+
export type PrivateEndpointConnectionsListByCloudHsmClusterResponse =
|
|
1228
|
+
PrivateEndpointConnectionListResult;
|
|
905
1229
|
|
|
906
1230
|
/** Optional parameters. */
|
|
907
1231
|
export interface PrivateEndpointConnectionsListByCloudHsmClusterNextOptionalParams
|
|
908
1232
|
extends coreClient.OperationOptions {}
|
|
909
1233
|
|
|
910
1234
|
/** Contains response data for the listByCloudHsmClusterNext operation. */
|
|
911
|
-
export type PrivateEndpointConnectionsListByCloudHsmClusterNextResponse =
|
|
1235
|
+
export type PrivateEndpointConnectionsListByCloudHsmClusterNextResponse =
|
|
1236
|
+
PrivateEndpointConnectionListResult;
|
|
912
1237
|
|
|
913
1238
|
/** Optional parameters. */
|
|
914
|
-
export interface
|
|
1239
|
+
export interface CloudHsmClusterBackupStatusGetOptionalParams
|
|
915
1240
|
extends coreClient.OperationOptions {}
|
|
916
1241
|
|
|
917
|
-
/** Contains response data for the
|
|
918
|
-
export type
|
|
1242
|
+
/** Contains response data for the get operation. */
|
|
1243
|
+
export type CloudHsmClusterBackupStatusGetResponse =
|
|
1244
|
+
CloudHsmClusterBackupStatusGetHeaders & BackupResult;
|
|
1245
|
+
|
|
1246
|
+
/** Optional parameters. */
|
|
1247
|
+
export interface CloudHsmClusterRestoreStatusGetOptionalParams
|
|
1248
|
+
extends coreClient.OperationOptions {}
|
|
1249
|
+
|
|
1250
|
+
/** Contains response data for the get operation. */
|
|
1251
|
+
export type CloudHsmClusterRestoreStatusGetResponse =
|
|
1252
|
+
CloudHsmClusterRestoreStatusGetHeaders & RestoreResult;
|
|
919
1253
|
|
|
920
1254
|
/** Optional parameters. */
|
|
921
1255
|
export interface DedicatedHsmCreateOrUpdateOptionalParams
|
|
@@ -952,6 +1286,9 @@ export interface DedicatedHsmDeleteOptionalParams
|
|
|
952
1286
|
resumeFrom?: string;
|
|
953
1287
|
}
|
|
954
1288
|
|
|
1289
|
+
/** Contains response data for the delete operation. */
|
|
1290
|
+
export type DedicatedHsmDeleteResponse = DedicatedHsmDeleteHeaders;
|
|
1291
|
+
|
|
955
1292
|
/** Optional parameters. */
|
|
956
1293
|
export interface DedicatedHsmGetOptionalParams
|
|
957
1294
|
extends coreClient.OperationOptions {}
|
|
@@ -984,14 +1321,16 @@ export interface DedicatedHsmListOutboundNetworkDependenciesEndpointsOptionalPar
|
|
|
984
1321
|
extends coreClient.OperationOptions {}
|
|
985
1322
|
|
|
986
1323
|
/** Contains response data for the listOutboundNetworkDependenciesEndpoints operation. */
|
|
987
|
-
export type DedicatedHsmListOutboundNetworkDependenciesEndpointsResponse =
|
|
1324
|
+
export type DedicatedHsmListOutboundNetworkDependenciesEndpointsResponse =
|
|
1325
|
+
OutboundEnvironmentEndpointCollection;
|
|
988
1326
|
|
|
989
1327
|
/** Optional parameters. */
|
|
990
1328
|
export interface DedicatedHsmListByResourceGroupNextOptionalParams
|
|
991
1329
|
extends coreClient.OperationOptions {}
|
|
992
1330
|
|
|
993
1331
|
/** Contains response data for the listByResourceGroupNext operation. */
|
|
994
|
-
export type DedicatedHsmListByResourceGroupNextResponse =
|
|
1332
|
+
export type DedicatedHsmListByResourceGroupNextResponse =
|
|
1333
|
+
DedicatedHsmListResult;
|
|
995
1334
|
|
|
996
1335
|
/** Optional parameters. */
|
|
997
1336
|
export interface DedicatedHsmListBySubscriptionNextOptionalParams
|
|
@@ -1005,13 +1344,23 @@ export interface DedicatedHsmListOutboundNetworkDependenciesEndpointsNextOptiona
|
|
|
1005
1344
|
extends coreClient.OperationOptions {}
|
|
1006
1345
|
|
|
1007
1346
|
/** Contains response data for the listOutboundNetworkDependenciesEndpointsNext operation. */
|
|
1008
|
-
export type DedicatedHsmListOutboundNetworkDependenciesEndpointsNextResponse =
|
|
1347
|
+
export type DedicatedHsmListOutboundNetworkDependenciesEndpointsNextResponse =
|
|
1348
|
+
OutboundEnvironmentEndpointCollection;
|
|
1349
|
+
|
|
1350
|
+
/** Optional parameters. */
|
|
1351
|
+
export interface OperationsListOptionalParams
|
|
1352
|
+
extends coreClient.OperationOptions {}
|
|
1353
|
+
|
|
1354
|
+
/** Contains response data for the list operation. */
|
|
1355
|
+
export type OperationsListResponse = OperationListResult;
|
|
1009
1356
|
|
|
1010
1357
|
/** Optional parameters. */
|
|
1011
1358
|
export interface AzureHSMResourceProviderOptionalParams
|
|
1012
1359
|
extends coreClient.ServiceClientOptions {
|
|
1013
1360
|
/** server parameter */
|
|
1014
1361
|
$host?: string;
|
|
1362
|
+
/** Api Version */
|
|
1363
|
+
apiVersion?: string;
|
|
1015
1364
|
/** Overrides client endpoint. */
|
|
1016
1365
|
endpoint?: string;
|
|
1017
1366
|
}
|