@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
|
@@ -18,7 +18,17 @@ import {
|
|
|
18
18
|
CloudHsmClustersUpdateResponse,
|
|
19
19
|
CloudHsmClustersGetOptionalParams,
|
|
20
20
|
CloudHsmClustersGetResponse,
|
|
21
|
-
CloudHsmClustersDeleteOptionalParams
|
|
21
|
+
CloudHsmClustersDeleteOptionalParams,
|
|
22
|
+
CloudHsmClustersDeleteResponse,
|
|
23
|
+
CloudHsmClustersValidateBackupPropertiesOptionalParams,
|
|
24
|
+
CloudHsmClustersValidateBackupPropertiesResponse,
|
|
25
|
+
CloudHsmClustersBackupOptionalParams,
|
|
26
|
+
CloudHsmClustersBackupResponse,
|
|
27
|
+
CloudHsmClustersValidateRestorePropertiesOptionalParams,
|
|
28
|
+
CloudHsmClustersValidateRestorePropertiesResponse,
|
|
29
|
+
RestoreRequestProperties,
|
|
30
|
+
CloudHsmClustersRestoreOptionalParams,
|
|
31
|
+
CloudHsmClustersRestoreResponse,
|
|
22
32
|
} from "../models";
|
|
23
33
|
|
|
24
34
|
/// <reference lib="esnext.asynciterable" />
|
|
@@ -32,20 +42,20 @@ export interface CloudHsmClusters {
|
|
|
32
42
|
*/
|
|
33
43
|
listByResourceGroup(
|
|
34
44
|
resourceGroupName: string,
|
|
35
|
-
options?: CloudHsmClustersListByResourceGroupOptionalParams
|
|
45
|
+
options?: CloudHsmClustersListByResourceGroupOptionalParams,
|
|
36
46
|
): PagedAsyncIterableIterator<CloudHsmCluster>;
|
|
37
47
|
/**
|
|
38
48
|
* The List operation gets information about the Cloud HSM Clusters associated with the subscription.
|
|
39
49
|
* @param options The options parameters.
|
|
40
50
|
*/
|
|
41
51
|
listBySubscription(
|
|
42
|
-
options?: CloudHsmClustersListBySubscriptionOptionalParams
|
|
52
|
+
options?: CloudHsmClustersListBySubscriptionOptionalParams,
|
|
43
53
|
): PagedAsyncIterableIterator<CloudHsmCluster>;
|
|
44
54
|
/**
|
|
45
55
|
* Create or Update a Cloud HSM Cluster in the specified subscription.
|
|
46
56
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
47
57
|
* @param cloudHsmClusterName The name of the Cloud HSM Cluster within the specified resource group.
|
|
48
|
-
* Cloud HSM Cluster names must be between 3 and
|
|
58
|
+
* Cloud HSM Cluster names must be between 3 and 23 characters in length.
|
|
49
59
|
* @param location The geo-location where the resource lives
|
|
50
60
|
* @param options The options parameters.
|
|
51
61
|
*/
|
|
@@ -53,7 +63,7 @@ export interface CloudHsmClusters {
|
|
|
53
63
|
resourceGroupName: string,
|
|
54
64
|
cloudHsmClusterName: string,
|
|
55
65
|
location: string,
|
|
56
|
-
options?: CloudHsmClustersCreateOrUpdateOptionalParams
|
|
66
|
+
options?: CloudHsmClustersCreateOrUpdateOptionalParams,
|
|
57
67
|
): Promise<
|
|
58
68
|
SimplePollerLike<
|
|
59
69
|
OperationState<CloudHsmClustersCreateOrUpdateResponse>,
|
|
@@ -64,7 +74,7 @@ export interface CloudHsmClusters {
|
|
|
64
74
|
* Create or Update a Cloud HSM Cluster in the specified subscription.
|
|
65
75
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
66
76
|
* @param cloudHsmClusterName The name of the Cloud HSM Cluster within the specified resource group.
|
|
67
|
-
* Cloud HSM Cluster names must be between 3 and
|
|
77
|
+
* Cloud HSM Cluster names must be between 3 and 23 characters in length.
|
|
68
78
|
* @param location The geo-location where the resource lives
|
|
69
79
|
* @param options The options parameters.
|
|
70
80
|
*/
|
|
@@ -72,19 +82,19 @@ export interface CloudHsmClusters {
|
|
|
72
82
|
resourceGroupName: string,
|
|
73
83
|
cloudHsmClusterName: string,
|
|
74
84
|
location: string,
|
|
75
|
-
options?: CloudHsmClustersCreateOrUpdateOptionalParams
|
|
85
|
+
options?: CloudHsmClustersCreateOrUpdateOptionalParams,
|
|
76
86
|
): Promise<CloudHsmClustersCreateOrUpdateResponse>;
|
|
77
87
|
/**
|
|
78
88
|
* Update a Cloud HSM Cluster in the specified subscription.
|
|
79
89
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
80
90
|
* @param cloudHsmClusterName The name of the Cloud HSM Cluster within the specified resource group.
|
|
81
|
-
* Cloud HSM Cluster names must be between 3 and
|
|
91
|
+
* Cloud HSM Cluster names must be between 3 and 23 characters in length.
|
|
82
92
|
* @param options The options parameters.
|
|
83
93
|
*/
|
|
84
94
|
beginUpdate(
|
|
85
95
|
resourceGroupName: string,
|
|
86
96
|
cloudHsmClusterName: string,
|
|
87
|
-
options?: CloudHsmClustersUpdateOptionalParams
|
|
97
|
+
options?: CloudHsmClustersUpdateOptionalParams,
|
|
88
98
|
): Promise<
|
|
89
99
|
SimplePollerLike<
|
|
90
100
|
OperationState<CloudHsmClustersUpdateResponse>,
|
|
@@ -95,48 +105,175 @@ export interface CloudHsmClusters {
|
|
|
95
105
|
* Update a Cloud HSM Cluster in the specified subscription.
|
|
96
106
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
97
107
|
* @param cloudHsmClusterName The name of the Cloud HSM Cluster within the specified resource group.
|
|
98
|
-
* Cloud HSM Cluster names must be between 3 and
|
|
108
|
+
* Cloud HSM Cluster names must be between 3 and 23 characters in length.
|
|
99
109
|
* @param options The options parameters.
|
|
100
110
|
*/
|
|
101
111
|
beginUpdateAndWait(
|
|
102
112
|
resourceGroupName: string,
|
|
103
113
|
cloudHsmClusterName: string,
|
|
104
|
-
options?: CloudHsmClustersUpdateOptionalParams
|
|
114
|
+
options?: CloudHsmClustersUpdateOptionalParams,
|
|
105
115
|
): Promise<CloudHsmClustersUpdateResponse>;
|
|
106
116
|
/**
|
|
107
117
|
* Gets the specified Cloud HSM Cluster
|
|
108
118
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
109
119
|
* @param cloudHsmClusterName The name of the Cloud HSM Cluster within the specified resource group.
|
|
110
|
-
* Cloud HSM Cluster names must be between 3 and
|
|
120
|
+
* Cloud HSM Cluster names must be between 3 and 23 characters in length.
|
|
111
121
|
* @param options The options parameters.
|
|
112
122
|
*/
|
|
113
123
|
get(
|
|
114
124
|
resourceGroupName: string,
|
|
115
125
|
cloudHsmClusterName: string,
|
|
116
|
-
options?: CloudHsmClustersGetOptionalParams
|
|
126
|
+
options?: CloudHsmClustersGetOptionalParams,
|
|
117
127
|
): Promise<CloudHsmClustersGetResponse>;
|
|
118
128
|
/**
|
|
119
129
|
* Deletes the specified Cloud HSM Cluster
|
|
120
130
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
121
131
|
* @param cloudHsmClusterName The name of the Cloud HSM Cluster within the specified resource group.
|
|
122
|
-
* Cloud HSM Cluster names must be between 3 and
|
|
132
|
+
* Cloud HSM Cluster names must be between 3 and 23 characters in length.
|
|
123
133
|
* @param options The options parameters.
|
|
124
134
|
*/
|
|
125
135
|
beginDelete(
|
|
126
136
|
resourceGroupName: string,
|
|
127
137
|
cloudHsmClusterName: string,
|
|
128
|
-
options?: CloudHsmClustersDeleteOptionalParams
|
|
129
|
-
): Promise<
|
|
138
|
+
options?: CloudHsmClustersDeleteOptionalParams,
|
|
139
|
+
): Promise<
|
|
140
|
+
SimplePollerLike<
|
|
141
|
+
OperationState<CloudHsmClustersDeleteResponse>,
|
|
142
|
+
CloudHsmClustersDeleteResponse
|
|
143
|
+
>
|
|
144
|
+
>;
|
|
130
145
|
/**
|
|
131
146
|
* Deletes the specified Cloud HSM Cluster
|
|
132
147
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
133
148
|
* @param cloudHsmClusterName The name of the Cloud HSM Cluster within the specified resource group.
|
|
134
|
-
* Cloud HSM Cluster names must be between 3 and
|
|
149
|
+
* Cloud HSM Cluster names must be between 3 and 23 characters in length.
|
|
135
150
|
* @param options The options parameters.
|
|
136
151
|
*/
|
|
137
152
|
beginDeleteAndWait(
|
|
138
153
|
resourceGroupName: string,
|
|
139
154
|
cloudHsmClusterName: string,
|
|
140
|
-
options?: CloudHsmClustersDeleteOptionalParams
|
|
141
|
-
): Promise<
|
|
155
|
+
options?: CloudHsmClustersDeleteOptionalParams,
|
|
156
|
+
): Promise<CloudHsmClustersDeleteResponse>;
|
|
157
|
+
/**
|
|
158
|
+
* Pre Backup operation to validate whether the customer can perform a backup on the Cloud HSM Cluster
|
|
159
|
+
* resource in the specified subscription.
|
|
160
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
161
|
+
* @param cloudHsmClusterName The name of the Cloud HSM Cluster within the specified resource group.
|
|
162
|
+
* Cloud HSM Cluster names must be between 3 and 23 characters in length.
|
|
163
|
+
* @param options The options parameters.
|
|
164
|
+
*/
|
|
165
|
+
beginValidateBackupProperties(
|
|
166
|
+
resourceGroupName: string,
|
|
167
|
+
cloudHsmClusterName: string,
|
|
168
|
+
options?: CloudHsmClustersValidateBackupPropertiesOptionalParams,
|
|
169
|
+
): Promise<
|
|
170
|
+
SimplePollerLike<
|
|
171
|
+
OperationState<CloudHsmClustersValidateBackupPropertiesResponse>,
|
|
172
|
+
CloudHsmClustersValidateBackupPropertiesResponse
|
|
173
|
+
>
|
|
174
|
+
>;
|
|
175
|
+
/**
|
|
176
|
+
* Pre Backup operation to validate whether the customer can perform a backup on the Cloud HSM Cluster
|
|
177
|
+
* resource in the specified subscription.
|
|
178
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
179
|
+
* @param cloudHsmClusterName The name of the Cloud HSM Cluster within the specified resource group.
|
|
180
|
+
* Cloud HSM Cluster names must be between 3 and 23 characters in length.
|
|
181
|
+
* @param options The options parameters.
|
|
182
|
+
*/
|
|
183
|
+
beginValidateBackupPropertiesAndWait(
|
|
184
|
+
resourceGroupName: string,
|
|
185
|
+
cloudHsmClusterName: string,
|
|
186
|
+
options?: CloudHsmClustersValidateBackupPropertiesOptionalParams,
|
|
187
|
+
): Promise<CloudHsmClustersValidateBackupPropertiesResponse>;
|
|
188
|
+
/**
|
|
189
|
+
* Create a backup of the Cloud HSM Cluster in the specified subscription
|
|
190
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
191
|
+
* @param cloudHsmClusterName The name of the Cloud HSM Cluster within the specified resource group.
|
|
192
|
+
* Cloud HSM Cluster names must be between 3 and 23 characters in length.
|
|
193
|
+
* @param options The options parameters.
|
|
194
|
+
*/
|
|
195
|
+
beginBackup(
|
|
196
|
+
resourceGroupName: string,
|
|
197
|
+
cloudHsmClusterName: string,
|
|
198
|
+
options?: CloudHsmClustersBackupOptionalParams,
|
|
199
|
+
): Promise<
|
|
200
|
+
SimplePollerLike<
|
|
201
|
+
OperationState<CloudHsmClustersBackupResponse>,
|
|
202
|
+
CloudHsmClustersBackupResponse
|
|
203
|
+
>
|
|
204
|
+
>;
|
|
205
|
+
/**
|
|
206
|
+
* Create a backup of the Cloud HSM Cluster in the specified subscription
|
|
207
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
208
|
+
* @param cloudHsmClusterName The name of the Cloud HSM Cluster within the specified resource group.
|
|
209
|
+
* Cloud HSM Cluster names must be between 3 and 23 characters in length.
|
|
210
|
+
* @param options The options parameters.
|
|
211
|
+
*/
|
|
212
|
+
beginBackupAndWait(
|
|
213
|
+
resourceGroupName: string,
|
|
214
|
+
cloudHsmClusterName: string,
|
|
215
|
+
options?: CloudHsmClustersBackupOptionalParams,
|
|
216
|
+
): Promise<CloudHsmClustersBackupResponse>;
|
|
217
|
+
/**
|
|
218
|
+
* Queued validating pre restore operation
|
|
219
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
220
|
+
* @param cloudHsmClusterName The name of the Cloud HSM Cluster within the specified resource group.
|
|
221
|
+
* Cloud HSM Cluster names must be between 3 and 23 characters in length.
|
|
222
|
+
* @param options The options parameters.
|
|
223
|
+
*/
|
|
224
|
+
beginValidateRestoreProperties(
|
|
225
|
+
resourceGroupName: string,
|
|
226
|
+
cloudHsmClusterName: string,
|
|
227
|
+
options?: CloudHsmClustersValidateRestorePropertiesOptionalParams,
|
|
228
|
+
): Promise<
|
|
229
|
+
SimplePollerLike<
|
|
230
|
+
OperationState<CloudHsmClustersValidateRestorePropertiesResponse>,
|
|
231
|
+
CloudHsmClustersValidateRestorePropertiesResponse
|
|
232
|
+
>
|
|
233
|
+
>;
|
|
234
|
+
/**
|
|
235
|
+
* Queued validating pre restore operation
|
|
236
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
237
|
+
* @param cloudHsmClusterName The name of the Cloud HSM Cluster within the specified resource group.
|
|
238
|
+
* Cloud HSM Cluster names must be between 3 and 23 characters in length.
|
|
239
|
+
* @param options The options parameters.
|
|
240
|
+
*/
|
|
241
|
+
beginValidateRestorePropertiesAndWait(
|
|
242
|
+
resourceGroupName: string,
|
|
243
|
+
cloudHsmClusterName: string,
|
|
244
|
+
options?: CloudHsmClustersValidateRestorePropertiesOptionalParams,
|
|
245
|
+
): Promise<CloudHsmClustersValidateRestorePropertiesResponse>;
|
|
246
|
+
/**
|
|
247
|
+
* Restores all key materials of a specified Cloud HSM Cluster
|
|
248
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
249
|
+
* @param cloudHsmClusterName The name of the Cloud HSM Cluster within the specified resource group.
|
|
250
|
+
* Cloud HSM Cluster names must be between 3 and 23 characters in length.
|
|
251
|
+
* @param restoreRequestProperties Restore Operation Required properties
|
|
252
|
+
* @param options The options parameters.
|
|
253
|
+
*/
|
|
254
|
+
beginRestore(
|
|
255
|
+
resourceGroupName: string,
|
|
256
|
+
cloudHsmClusterName: string,
|
|
257
|
+
restoreRequestProperties: RestoreRequestProperties,
|
|
258
|
+
options?: CloudHsmClustersRestoreOptionalParams,
|
|
259
|
+
): Promise<
|
|
260
|
+
SimplePollerLike<
|
|
261
|
+
OperationState<CloudHsmClustersRestoreResponse>,
|
|
262
|
+
CloudHsmClustersRestoreResponse
|
|
263
|
+
>
|
|
264
|
+
>;
|
|
265
|
+
/**
|
|
266
|
+
* Restores all key materials of a specified Cloud HSM Cluster
|
|
267
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
268
|
+
* @param cloudHsmClusterName The name of the Cloud HSM Cluster within the specified resource group.
|
|
269
|
+
* Cloud HSM Cluster names must be between 3 and 23 characters in length.
|
|
270
|
+
* @param restoreRequestProperties Restore Operation Required properties
|
|
271
|
+
* @param options The options parameters.
|
|
272
|
+
*/
|
|
273
|
+
beginRestoreAndWait(
|
|
274
|
+
resourceGroupName: string,
|
|
275
|
+
cloudHsmClusterName: string,
|
|
276
|
+
restoreRequestProperties: RestoreRequestProperties,
|
|
277
|
+
options?: CloudHsmClustersRestoreOptionalParams,
|
|
278
|
+
): Promise<CloudHsmClustersRestoreResponse>;
|
|
142
279
|
}
|
|
@@ -19,8 +19,9 @@ import {
|
|
|
19
19
|
DedicatedHsmUpdateOptionalParams,
|
|
20
20
|
DedicatedHsmUpdateResponse,
|
|
21
21
|
DedicatedHsmDeleteOptionalParams,
|
|
22
|
+
DedicatedHsmDeleteResponse,
|
|
22
23
|
DedicatedHsmGetOptionalParams,
|
|
23
|
-
DedicatedHsmGetResponse
|
|
24
|
+
DedicatedHsmGetResponse,
|
|
24
25
|
} from "../models";
|
|
25
26
|
|
|
26
27
|
/// <reference lib="esnext.asynciterable" />
|
|
@@ -29,35 +30,35 @@ export interface DedicatedHsmOperations {
|
|
|
29
30
|
/**
|
|
30
31
|
* The List operation gets information about the dedicated hsms associated with the subscription and
|
|
31
32
|
* within the specified resource group.
|
|
32
|
-
* @param resourceGroupName The name of the
|
|
33
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
33
34
|
* @param options The options parameters.
|
|
34
35
|
*/
|
|
35
36
|
listByResourceGroup(
|
|
36
37
|
resourceGroupName: string,
|
|
37
|
-
options?: DedicatedHsmListByResourceGroupOptionalParams
|
|
38
|
+
options?: DedicatedHsmListByResourceGroupOptionalParams,
|
|
38
39
|
): PagedAsyncIterableIterator<DedicatedHsm>;
|
|
39
40
|
/**
|
|
40
41
|
* The List operation gets information about the dedicated HSMs associated with the subscription.
|
|
41
42
|
* @param options The options parameters.
|
|
42
43
|
*/
|
|
43
44
|
listBySubscription(
|
|
44
|
-
options?: DedicatedHsmListBySubscriptionOptionalParams
|
|
45
|
+
options?: DedicatedHsmListBySubscriptionOptionalParams,
|
|
45
46
|
): PagedAsyncIterableIterator<DedicatedHsm>;
|
|
46
47
|
/**
|
|
47
48
|
* Gets a list of egress endpoints (network endpoints of all outbound dependencies) in the specified
|
|
48
49
|
* dedicated hsm resource. The operation returns properties of each egress endpoint.
|
|
49
|
-
* @param resourceGroupName The name of the
|
|
50
|
-
* @param name
|
|
50
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
51
|
+
* @param name Name of the dedicated Hsm
|
|
51
52
|
* @param options The options parameters.
|
|
52
53
|
*/
|
|
53
54
|
listOutboundNetworkDependenciesEndpoints(
|
|
54
55
|
resourceGroupName: string,
|
|
55
56
|
name: string,
|
|
56
|
-
options?: DedicatedHsmListOutboundNetworkDependenciesEndpointsOptionalParams
|
|
57
|
+
options?: DedicatedHsmListOutboundNetworkDependenciesEndpointsOptionalParams,
|
|
57
58
|
): PagedAsyncIterableIterator<OutboundEnvironmentEndpoint>;
|
|
58
59
|
/**
|
|
59
60
|
* Create or Update a dedicated HSM in the specified subscription.
|
|
60
|
-
* @param resourceGroupName The name of the
|
|
61
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
61
62
|
* @param name Name of the dedicated Hsm
|
|
62
63
|
* @param parameters Parameters to create or update the dedicated hsm
|
|
63
64
|
* @param options The options parameters.
|
|
@@ -66,7 +67,7 @@ export interface DedicatedHsmOperations {
|
|
|
66
67
|
resourceGroupName: string,
|
|
67
68
|
name: string,
|
|
68
69
|
parameters: DedicatedHsm,
|
|
69
|
-
options?: DedicatedHsmCreateOrUpdateOptionalParams
|
|
70
|
+
options?: DedicatedHsmCreateOrUpdateOptionalParams,
|
|
70
71
|
): Promise<
|
|
71
72
|
SimplePollerLike<
|
|
72
73
|
OperationState<DedicatedHsmCreateOrUpdateResponse>,
|
|
@@ -75,7 +76,7 @@ export interface DedicatedHsmOperations {
|
|
|
75
76
|
>;
|
|
76
77
|
/**
|
|
77
78
|
* Create or Update a dedicated HSM in the specified subscription.
|
|
78
|
-
* @param resourceGroupName The name of the
|
|
79
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
79
80
|
* @param name Name of the dedicated Hsm
|
|
80
81
|
* @param parameters Parameters to create or update the dedicated hsm
|
|
81
82
|
* @param options The options parameters.
|
|
@@ -84,18 +85,18 @@ export interface DedicatedHsmOperations {
|
|
|
84
85
|
resourceGroupName: string,
|
|
85
86
|
name: string,
|
|
86
87
|
parameters: DedicatedHsm,
|
|
87
|
-
options?: DedicatedHsmCreateOrUpdateOptionalParams
|
|
88
|
+
options?: DedicatedHsmCreateOrUpdateOptionalParams,
|
|
88
89
|
): Promise<DedicatedHsmCreateOrUpdateResponse>;
|
|
89
90
|
/**
|
|
90
91
|
* Update a dedicated HSM in the specified subscription.
|
|
91
|
-
* @param resourceGroupName The name of the
|
|
92
|
-
* @param name Name of the dedicated
|
|
92
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
93
|
+
* @param name Name of the dedicated Hsm
|
|
93
94
|
* @param options The options parameters.
|
|
94
95
|
*/
|
|
95
96
|
beginUpdate(
|
|
96
97
|
resourceGroupName: string,
|
|
97
98
|
name: string,
|
|
98
|
-
options?: DedicatedHsmUpdateOptionalParams
|
|
99
|
+
options?: DedicatedHsmUpdateOptionalParams,
|
|
99
100
|
): Promise<
|
|
100
101
|
SimplePollerLike<
|
|
101
102
|
OperationState<DedicatedHsmUpdateResponse>,
|
|
@@ -104,46 +105,51 @@ export interface DedicatedHsmOperations {
|
|
|
104
105
|
>;
|
|
105
106
|
/**
|
|
106
107
|
* Update a dedicated HSM in the specified subscription.
|
|
107
|
-
* @param resourceGroupName The name of the
|
|
108
|
-
* @param name Name of the dedicated
|
|
108
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
109
|
+
* @param name Name of the dedicated Hsm
|
|
109
110
|
* @param options The options parameters.
|
|
110
111
|
*/
|
|
111
112
|
beginUpdateAndWait(
|
|
112
113
|
resourceGroupName: string,
|
|
113
114
|
name: string,
|
|
114
|
-
options?: DedicatedHsmUpdateOptionalParams
|
|
115
|
+
options?: DedicatedHsmUpdateOptionalParams,
|
|
115
116
|
): Promise<DedicatedHsmUpdateResponse>;
|
|
116
117
|
/**
|
|
117
118
|
* Deletes the specified Azure Dedicated HSM.
|
|
118
|
-
* @param resourceGroupName The name of the
|
|
119
|
-
* @param name
|
|
119
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
120
|
+
* @param name Name of the dedicated Hsm
|
|
120
121
|
* @param options The options parameters.
|
|
121
122
|
*/
|
|
122
123
|
beginDelete(
|
|
123
124
|
resourceGroupName: string,
|
|
124
125
|
name: string,
|
|
125
|
-
options?: DedicatedHsmDeleteOptionalParams
|
|
126
|
-
): Promise<
|
|
126
|
+
options?: DedicatedHsmDeleteOptionalParams,
|
|
127
|
+
): Promise<
|
|
128
|
+
SimplePollerLike<
|
|
129
|
+
OperationState<DedicatedHsmDeleteResponse>,
|
|
130
|
+
DedicatedHsmDeleteResponse
|
|
131
|
+
>
|
|
132
|
+
>;
|
|
127
133
|
/**
|
|
128
134
|
* Deletes the specified Azure Dedicated HSM.
|
|
129
|
-
* @param resourceGroupName The name of the
|
|
130
|
-
* @param name
|
|
135
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
136
|
+
* @param name Name of the dedicated Hsm
|
|
131
137
|
* @param options The options parameters.
|
|
132
138
|
*/
|
|
133
139
|
beginDeleteAndWait(
|
|
134
140
|
resourceGroupName: string,
|
|
135
141
|
name: string,
|
|
136
|
-
options?: DedicatedHsmDeleteOptionalParams
|
|
137
|
-
): Promise<
|
|
142
|
+
options?: DedicatedHsmDeleteOptionalParams,
|
|
143
|
+
): Promise<DedicatedHsmDeleteResponse>;
|
|
138
144
|
/**
|
|
139
145
|
* Gets the specified Azure dedicated HSM.
|
|
140
|
-
* @param resourceGroupName The name of the
|
|
141
|
-
* @param name
|
|
146
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
147
|
+
* @param name Name of the dedicated Hsm
|
|
142
148
|
* @param options The options parameters.
|
|
143
149
|
*/
|
|
144
150
|
get(
|
|
145
151
|
resourceGroupName: string,
|
|
146
152
|
name: string,
|
|
147
|
-
options?: DedicatedHsmGetOptionalParams
|
|
153
|
+
options?: DedicatedHsmGetOptionalParams,
|
|
148
154
|
): Promise<DedicatedHsmGetResponse>;
|
|
149
155
|
}
|
|
@@ -10,5 +10,7 @@ export * from "./cloudHsmClusters";
|
|
|
10
10
|
export * from "./cloudHsmClusterPrivateLinkResources";
|
|
11
11
|
export * from "./cloudHsmClusterPrivateEndpointConnections";
|
|
12
12
|
export * from "./privateEndpointConnections";
|
|
13
|
-
export * from "./
|
|
13
|
+
export * from "./cloudHsmClusterBackupStatus";
|
|
14
|
+
export * from "./cloudHsmClusterRestoreStatus";
|
|
14
15
|
export * from "./dedicatedHsmOperations";
|
|
16
|
+
export * from "./operations";
|
|
@@ -7,16 +7,16 @@
|
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
9
|
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
10
|
-
import {
|
|
10
|
+
import { Operation, OperationsListOptionalParams } from "../models";
|
|
11
11
|
|
|
12
12
|
/// <reference lib="esnext.asynciterable" />
|
|
13
13
|
/** Interface representing a Operations. */
|
|
14
14
|
export interface Operations {
|
|
15
15
|
/**
|
|
16
|
-
* Get a list of
|
|
16
|
+
* Get a list of Hardware Security Modules operations.
|
|
17
17
|
* @param options The options parameters.
|
|
18
18
|
*/
|
|
19
19
|
list(
|
|
20
|
-
options?: OperationsListOptionalParams
|
|
21
|
-
): PagedAsyncIterableIterator<
|
|
20
|
+
options?: OperationsListOptionalParams,
|
|
21
|
+
): PagedAsyncIterableIterator<Operation>;
|
|
22
22
|
}
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
10
10
|
import {
|
|
11
11
|
PrivateEndpointConnection,
|
|
12
|
-
PrivateEndpointConnectionsListByCloudHsmClusterOptionalParams
|
|
12
|
+
PrivateEndpointConnectionsListByCloudHsmClusterOptionalParams,
|
|
13
13
|
} from "../models";
|
|
14
14
|
|
|
15
15
|
/// <reference lib="esnext.asynciterable" />
|
|
@@ -20,12 +20,12 @@ export interface PrivateEndpointConnections {
|
|
|
20
20
|
* HSM Cluster
|
|
21
21
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
22
22
|
* @param cloudHsmClusterName The name of the Cloud HSM Cluster within the specified resource group.
|
|
23
|
-
* Cloud HSM Cluster names must be between 3 and
|
|
23
|
+
* Cloud HSM Cluster names must be between 3 and 23 characters in length.
|
|
24
24
|
* @param options The options parameters.
|
|
25
25
|
*/
|
|
26
26
|
listByCloudHsmCluster(
|
|
27
27
|
resourceGroupName: string,
|
|
28
28
|
cloudHsmClusterName: string,
|
|
29
|
-
options?: PrivateEndpointConnectionsListByCloudHsmClusterOptionalParams
|
|
29
|
+
options?: PrivateEndpointConnectionsListByCloudHsmClusterOptionalParams,
|
|
30
30
|
): PagedAsyncIterableIterator<PrivateEndpointConnection>;
|
|
31
31
|
}
|
package/src/pagingHelper.ts
CHANGED
|
@@ -28,7 +28,7 @@ export function getContinuationToken(page: unknown): string | undefined {
|
|
|
28
28
|
|
|
29
29
|
export function setContinuationToken(
|
|
30
30
|
page: unknown,
|
|
31
|
-
continuationToken: string | undefined
|
|
31
|
+
continuationToken: string | undefined,
|
|
32
32
|
): void {
|
|
33
33
|
if (typeof page !== "object" || page === null || !continuationToken) {
|
|
34
34
|
return;
|