@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
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { CloudHsmClusterPrivateEndpointConnections } from "../operationsInterfaces";
|
|
2
2
|
import { AzureHSMResourceProvider } from "../azureHSMResourceProvider";
|
|
3
3
|
import { SimplePollerLike, OperationState } from "@azure/core-lro";
|
|
4
|
-
import { PrivateEndpointConnection, CloudHsmClusterPrivateEndpointConnectionsCreateOptionalParams, CloudHsmClusterPrivateEndpointConnectionsCreateResponse, CloudHsmClusterPrivateEndpointConnectionsDeleteOptionalParams, CloudHsmClusterPrivateEndpointConnectionsGetOptionalParams, CloudHsmClusterPrivateEndpointConnectionsGetResponse } from "../models";
|
|
4
|
+
import { PrivateEndpointConnection, CloudHsmClusterPrivateEndpointConnectionsCreateOptionalParams, CloudHsmClusterPrivateEndpointConnectionsCreateResponse, CloudHsmClusterPrivateEndpointConnectionsDeleteOptionalParams, CloudHsmClusterPrivateEndpointConnectionsDeleteResponse, CloudHsmClusterPrivateEndpointConnectionsGetOptionalParams, CloudHsmClusterPrivateEndpointConnectionsGetResponse } from "../models";
|
|
5
5
|
/** Class containing CloudHsmClusterPrivateEndpointConnections operations. */
|
|
6
6
|
export declare class CloudHsmClusterPrivateEndpointConnectionsImpl implements CloudHsmClusterPrivateEndpointConnections {
|
|
7
7
|
private readonly client;
|
|
@@ -14,7 +14,7 @@ export declare class CloudHsmClusterPrivateEndpointConnectionsImpl implements Cl
|
|
|
14
14
|
* Creates or updates the private endpoint connection for the Cloud Hsm Cluster.
|
|
15
15
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
16
16
|
* @param cloudHsmClusterName The name of the Cloud HSM Cluster within the specified resource group.
|
|
17
|
-
* Cloud HSM Cluster names must be between 3 and
|
|
17
|
+
* Cloud HSM Cluster names must be between 3 and 23 characters in length.
|
|
18
18
|
* @param peConnectionName Name of the private endpoint connection associated with the Cloud HSM
|
|
19
19
|
* Cluster.
|
|
20
20
|
* @param properties Parameters of the PrivateEndpointConnection
|
|
@@ -25,27 +25,27 @@ export declare class CloudHsmClusterPrivateEndpointConnectionsImpl implements Cl
|
|
|
25
25
|
* Deletes the private endpoint connection for the Cloud Hsm Cluster.
|
|
26
26
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
27
27
|
* @param cloudHsmClusterName The name of the Cloud HSM Cluster within the specified resource group.
|
|
28
|
-
* Cloud HSM Cluster names must be between 3 and
|
|
28
|
+
* Cloud HSM Cluster names must be between 3 and 23 characters in length.
|
|
29
29
|
* @param peConnectionName Name of the private endpoint connection associated with the Cloud HSM
|
|
30
30
|
* Cluster.
|
|
31
31
|
* @param options The options parameters.
|
|
32
32
|
*/
|
|
33
|
-
beginDelete(resourceGroupName: string, cloudHsmClusterName: string, peConnectionName: string, options?: CloudHsmClusterPrivateEndpointConnectionsDeleteOptionalParams): Promise<SimplePollerLike<OperationState<
|
|
33
|
+
beginDelete(resourceGroupName: string, cloudHsmClusterName: string, peConnectionName: string, options?: CloudHsmClusterPrivateEndpointConnectionsDeleteOptionalParams): Promise<SimplePollerLike<OperationState<CloudHsmClusterPrivateEndpointConnectionsDeleteResponse>, CloudHsmClusterPrivateEndpointConnectionsDeleteResponse>>;
|
|
34
34
|
/**
|
|
35
35
|
* Deletes the private endpoint connection for the Cloud Hsm Cluster.
|
|
36
36
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
37
37
|
* @param cloudHsmClusterName The name of the Cloud HSM Cluster within the specified resource group.
|
|
38
|
-
* Cloud HSM Cluster names must be between 3 and
|
|
38
|
+
* Cloud HSM Cluster names must be between 3 and 23 characters in length.
|
|
39
39
|
* @param peConnectionName Name of the private endpoint connection associated with the Cloud HSM
|
|
40
40
|
* Cluster.
|
|
41
41
|
* @param options The options parameters.
|
|
42
42
|
*/
|
|
43
|
-
beginDeleteAndWait(resourceGroupName: string, cloudHsmClusterName: string, peConnectionName: string, options?: CloudHsmClusterPrivateEndpointConnectionsDeleteOptionalParams): Promise<
|
|
43
|
+
beginDeleteAndWait(resourceGroupName: string, cloudHsmClusterName: string, peConnectionName: string, options?: CloudHsmClusterPrivateEndpointConnectionsDeleteOptionalParams): Promise<CloudHsmClusterPrivateEndpointConnectionsDeleteResponse>;
|
|
44
44
|
/**
|
|
45
45
|
* Gets the private endpoint connection for the Cloud Hsm Cluster.
|
|
46
46
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
47
47
|
* @param cloudHsmClusterName The name of the Cloud HSM Cluster within the specified resource group.
|
|
48
|
-
* Cloud HSM Cluster names must be between 3 and
|
|
48
|
+
* Cloud HSM Cluster names must be between 3 and 23 characters in length.
|
|
49
49
|
* @param peConnectionName Name of the private endpoint connection associated with the Cloud HSM
|
|
50
50
|
* Cluster.
|
|
51
51
|
* @param options The options parameters.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cloudHsmClusterPrivateEndpointConnections.d.ts","sourceRoot":"","sources":["../../../src/operations/cloudHsmClusterPrivateEndpointConnections.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,yCAAyC,EAAE,MAAM,yBAAyB,CAAC;AAIpF,OAAO,EAAE,wBAAwB,EAAE,MAAM,6BAA6B,CAAC;AACvE,OAAO,EACL,gBAAgB,EAChB,cAAc,EAEf,MAAM,iBAAiB,CAAC;AAEzB,OAAO,EACL,yBAAyB,EACzB,6DAA6D,EAC7D,uDAAuD,EACvD,6DAA6D,EAC7D,0DAA0D,EAC1D,oDAAoD,EACrD,MAAM,WAAW,CAAC;AAEnB,6EAA6E;AAC7E,qBAAa,6CACX,YAAW,yCAAyC;
|
|
1
|
+
{"version":3,"file":"cloudHsmClusterPrivateEndpointConnections.d.ts","sourceRoot":"","sources":["../../../src/operations/cloudHsmClusterPrivateEndpointConnections.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,yCAAyC,EAAE,MAAM,yBAAyB,CAAC;AAIpF,OAAO,EAAE,wBAAwB,EAAE,MAAM,6BAA6B,CAAC;AACvE,OAAO,EACL,gBAAgB,EAChB,cAAc,EAEf,MAAM,iBAAiB,CAAC;AAEzB,OAAO,EACL,yBAAyB,EACzB,6DAA6D,EAC7D,uDAAuD,EACvD,6DAA6D,EAC7D,uDAAuD,EACvD,0DAA0D,EAC1D,oDAAoD,EACrD,MAAM,WAAW,CAAC;AAEnB,6EAA6E;AAC7E,qBAAa,6CACX,YAAW,yCAAyC;IAEpD,OAAO,CAAC,QAAQ,CAAC,MAAM,CAA2B;IAElD;;;OAGG;gBACS,MAAM,EAAE,wBAAwB;IAI5C;;;;;;;;;OASG;IACH,MAAM,CACJ,iBAAiB,EAAE,MAAM,EACzB,mBAAmB,EAAE,MAAM,EAC3B,gBAAgB,EAAE,MAAM,EACxB,UAAU,EAAE,yBAAyB,EACrC,OAAO,CAAC,EAAE,6DAA6D,GACtE,OAAO,CAAC,uDAAuD,CAAC;IAanE;;;;;;;;OAQG;IACG,WAAW,CACf,iBAAiB,EAAE,MAAM,EACzB,mBAAmB,EAAE,MAAM,EAC3B,gBAAgB,EAAE,MAAM,EACxB,OAAO,CAAC,EAAE,6DAA6D,GACtE,OAAO,CACR,gBAAgB,CACd,cAAc,CAAC,uDAAuD,CAAC,EACvE,uDAAuD,CACxD,CACF;IA6DD;;;;;;;;OAQG;IACG,kBAAkB,CACtB,iBAAiB,EAAE,MAAM,EACzB,mBAAmB,EAAE,MAAM,EAC3B,gBAAgB,EAAE,MAAM,EACxB,OAAO,CAAC,EAAE,6DAA6D,GACtE,OAAO,CAAC,uDAAuD,CAAC;IAUnE;;;;;;;;OAQG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,mBAAmB,EAAE,MAAM,EAC3B,gBAAgB,EAAE,MAAM,EACxB,OAAO,CAAC,EAAE,0DAA0D,GACnE,OAAO,CAAC,oDAAoD,CAAC;CAMjE"}
|
|
@@ -9,7 +9,7 @@ import { __awaiter } from "tslib";
|
|
|
9
9
|
import * as coreClient from "@azure/core-client";
|
|
10
10
|
import * as Mappers from "../models/mappers";
|
|
11
11
|
import * as Parameters from "../models/parameters";
|
|
12
|
-
import { createHttpPoller } from "@azure/core-lro";
|
|
12
|
+
import { createHttpPoller, } from "@azure/core-lro";
|
|
13
13
|
import { createLroSpec } from "../lroImpl";
|
|
14
14
|
/** Class containing CloudHsmClusterPrivateEndpointConnections operations. */
|
|
15
15
|
export class CloudHsmClusterPrivateEndpointConnectionsImpl {
|
|
@@ -24,7 +24,7 @@ export class CloudHsmClusterPrivateEndpointConnectionsImpl {
|
|
|
24
24
|
* Creates or updates the private endpoint connection for the Cloud Hsm Cluster.
|
|
25
25
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
26
26
|
* @param cloudHsmClusterName The name of the Cloud HSM Cluster within the specified resource group.
|
|
27
|
-
* Cloud HSM Cluster names must be between 3 and
|
|
27
|
+
* Cloud HSM Cluster names must be between 3 and 23 characters in length.
|
|
28
28
|
* @param peConnectionName Name of the private endpoint connection associated with the Cloud HSM
|
|
29
29
|
* Cluster.
|
|
30
30
|
* @param properties Parameters of the PrivateEndpointConnection
|
|
@@ -36,14 +36,14 @@ export class CloudHsmClusterPrivateEndpointConnectionsImpl {
|
|
|
36
36
|
cloudHsmClusterName,
|
|
37
37
|
peConnectionName,
|
|
38
38
|
properties,
|
|
39
|
-
options
|
|
39
|
+
options,
|
|
40
40
|
}, createOperationSpec);
|
|
41
41
|
}
|
|
42
42
|
/**
|
|
43
43
|
* Deletes the private endpoint connection for the Cloud Hsm Cluster.
|
|
44
44
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
45
45
|
* @param cloudHsmClusterName The name of the Cloud HSM Cluster within the specified resource group.
|
|
46
|
-
* Cloud HSM Cluster names must be between 3 and
|
|
46
|
+
* Cloud HSM Cluster names must be between 3 and 23 characters in length.
|
|
47
47
|
* @param peConnectionName Name of the private endpoint connection associated with the Cloud HSM
|
|
48
48
|
* Cluster.
|
|
49
49
|
* @param options The options parameters.
|
|
@@ -68,8 +68,8 @@ export class CloudHsmClusterPrivateEndpointConnectionsImpl {
|
|
|
68
68
|
rawResponse: {
|
|
69
69
|
statusCode: currentRawResponse.status,
|
|
70
70
|
body: currentRawResponse.parsedBody,
|
|
71
|
-
headers: currentRawResponse.headers.toJSON()
|
|
72
|
-
}
|
|
71
|
+
headers: currentRawResponse.headers.toJSON(),
|
|
72
|
+
},
|
|
73
73
|
};
|
|
74
74
|
});
|
|
75
75
|
const lro = createLroSpec({
|
|
@@ -78,14 +78,14 @@ export class CloudHsmClusterPrivateEndpointConnectionsImpl {
|
|
|
78
78
|
resourceGroupName,
|
|
79
79
|
cloudHsmClusterName,
|
|
80
80
|
peConnectionName,
|
|
81
|
-
options
|
|
81
|
+
options,
|
|
82
82
|
},
|
|
83
|
-
spec: deleteOperationSpec
|
|
83
|
+
spec: deleteOperationSpec,
|
|
84
84
|
});
|
|
85
85
|
const poller = yield createHttpPoller(lro, {
|
|
86
86
|
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
87
87
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
88
|
-
resourceLocationConfig: "location"
|
|
88
|
+
resourceLocationConfig: "location",
|
|
89
89
|
});
|
|
90
90
|
yield poller.poll();
|
|
91
91
|
return poller;
|
|
@@ -95,7 +95,7 @@ export class CloudHsmClusterPrivateEndpointConnectionsImpl {
|
|
|
95
95
|
* Deletes the private endpoint connection for the Cloud Hsm Cluster.
|
|
96
96
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
97
97
|
* @param cloudHsmClusterName The name of the Cloud HSM Cluster within the specified resource group.
|
|
98
|
-
* Cloud HSM Cluster names must be between 3 and
|
|
98
|
+
* Cloud HSM Cluster names must be between 3 and 23 characters in length.
|
|
99
99
|
* @param peConnectionName Name of the private endpoint connection associated with the Cloud HSM
|
|
100
100
|
* Cluster.
|
|
101
101
|
* @param options The options parameters.
|
|
@@ -110,7 +110,7 @@ export class CloudHsmClusterPrivateEndpointConnectionsImpl {
|
|
|
110
110
|
* Gets the private endpoint connection for the Cloud Hsm Cluster.
|
|
111
111
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
112
112
|
* @param cloudHsmClusterName The name of the Cloud HSM Cluster within the specified resource group.
|
|
113
|
-
* Cloud HSM Cluster names must be between 3 and
|
|
113
|
+
* Cloud HSM Cluster names must be between 3 and 23 characters in length.
|
|
114
114
|
* @param peConnectionName Name of the private endpoint connection associated with the Cloud HSM
|
|
115
115
|
* Cluster.
|
|
116
116
|
* @param options The options parameters.
|
|
@@ -126,11 +126,11 @@ const createOperationSpec = {
|
|
|
126
126
|
httpMethod: "PUT",
|
|
127
127
|
responses: {
|
|
128
128
|
200: {
|
|
129
|
-
bodyMapper: Mappers.PrivateEndpointConnection
|
|
129
|
+
bodyMapper: Mappers.PrivateEndpointConnection,
|
|
130
130
|
},
|
|
131
131
|
default: {
|
|
132
|
-
bodyMapper: Mappers.
|
|
133
|
-
}
|
|
132
|
+
bodyMapper: Mappers.ErrorResponse,
|
|
133
|
+
},
|
|
134
134
|
},
|
|
135
135
|
requestBody: Parameters.properties,
|
|
136
136
|
queryParameters: [Parameters.apiVersion],
|
|
@@ -139,23 +139,31 @@ const createOperationSpec = {
|
|
|
139
139
|
Parameters.subscriptionId,
|
|
140
140
|
Parameters.resourceGroupName,
|
|
141
141
|
Parameters.cloudHsmClusterName,
|
|
142
|
-
Parameters.peConnectionName
|
|
142
|
+
Parameters.peConnectionName,
|
|
143
143
|
],
|
|
144
144
|
headerParameters: [Parameters.contentType, Parameters.accept],
|
|
145
145
|
mediaType: "json",
|
|
146
|
-
serializer
|
|
146
|
+
serializer,
|
|
147
147
|
};
|
|
148
148
|
const deleteOperationSpec = {
|
|
149
149
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/cloudHsmClusters/{cloudHsmClusterName}/privateEndpointConnections/{peConnectionName}",
|
|
150
150
|
httpMethod: "DELETE",
|
|
151
151
|
responses: {
|
|
152
|
-
200: {
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
152
|
+
200: {
|
|
153
|
+
headersMapper: Mappers.CloudHsmClusterPrivateEndpointConnectionsDeleteHeaders,
|
|
154
|
+
},
|
|
155
|
+
201: {
|
|
156
|
+
headersMapper: Mappers.CloudHsmClusterPrivateEndpointConnectionsDeleteHeaders,
|
|
157
|
+
},
|
|
158
|
+
202: {
|
|
159
|
+
headersMapper: Mappers.CloudHsmClusterPrivateEndpointConnectionsDeleteHeaders,
|
|
160
|
+
},
|
|
161
|
+
204: {
|
|
162
|
+
headersMapper: Mappers.CloudHsmClusterPrivateEndpointConnectionsDeleteHeaders,
|
|
163
|
+
},
|
|
156
164
|
default: {
|
|
157
|
-
bodyMapper: Mappers.
|
|
158
|
-
}
|
|
165
|
+
bodyMapper: Mappers.ErrorResponse,
|
|
166
|
+
},
|
|
159
167
|
},
|
|
160
168
|
queryParameters: [Parameters.apiVersion],
|
|
161
169
|
urlParameters: [
|
|
@@ -163,21 +171,21 @@ const deleteOperationSpec = {
|
|
|
163
171
|
Parameters.subscriptionId,
|
|
164
172
|
Parameters.resourceGroupName,
|
|
165
173
|
Parameters.cloudHsmClusterName,
|
|
166
|
-
Parameters.peConnectionName
|
|
174
|
+
Parameters.peConnectionName,
|
|
167
175
|
],
|
|
168
176
|
headerParameters: [Parameters.accept],
|
|
169
|
-
serializer
|
|
177
|
+
serializer,
|
|
170
178
|
};
|
|
171
179
|
const getOperationSpec = {
|
|
172
180
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/cloudHsmClusters/{cloudHsmClusterName}/privateEndpointConnections/{peConnectionName}",
|
|
173
181
|
httpMethod: "GET",
|
|
174
182
|
responses: {
|
|
175
183
|
200: {
|
|
176
|
-
bodyMapper: Mappers.PrivateEndpointConnection
|
|
184
|
+
bodyMapper: Mappers.PrivateEndpointConnection,
|
|
177
185
|
},
|
|
178
186
|
default: {
|
|
179
|
-
bodyMapper: Mappers.
|
|
180
|
-
}
|
|
187
|
+
bodyMapper: Mappers.ErrorResponse,
|
|
188
|
+
},
|
|
181
189
|
},
|
|
182
190
|
queryParameters: [Parameters.apiVersion],
|
|
183
191
|
urlParameters: [
|
|
@@ -185,9 +193,9 @@ const getOperationSpec = {
|
|
|
185
193
|
Parameters.subscriptionId,
|
|
186
194
|
Parameters.resourceGroupName,
|
|
187
195
|
Parameters.cloudHsmClusterName,
|
|
188
|
-
Parameters.peConnectionName
|
|
196
|
+
Parameters.peConnectionName,
|
|
189
197
|
],
|
|
190
198
|
headerParameters: [Parameters.accept],
|
|
191
|
-
serializer
|
|
199
|
+
serializer,
|
|
192
200
|
};
|
|
193
201
|
//# sourceMappingURL=cloudHsmClusterPrivateEndpointConnections.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cloudHsmClusterPrivateEndpointConnections.js","sourceRoot":"","sources":["../../../src/operations/cloudHsmClusterPrivateEndpointConnections.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAGH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,mBAAmB,CAAC;AAC7C,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAEnD,OAAO,EAGL,gBAAgB,
|
|
1
|
+
{"version":3,"file":"cloudHsmClusterPrivateEndpointConnections.js","sourceRoot":"","sources":["../../../src/operations/cloudHsmClusterPrivateEndpointConnections.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAGH,OAAO,KAA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P,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,mBAAmB;QAC9B,UAAU,CAAC,gBAAgB;KAC5B;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,gBAAgB,GAA6B;IACjD,IAAI,EAAE,qMAAqM;IAC3M,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,yBAAyB;SAC9C;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,mBAAmB;QAC9B,UAAU,CAAC,gBAAgB;KAC5B;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
1
2
|
import { CloudHsmClusterPrivateLinkResources } from "../operationsInterfaces";
|
|
2
3
|
import { AzureHSMResourceProvider } from "../azureHSMResourceProvider";
|
|
3
|
-
import {
|
|
4
|
+
import { PrivateLinkResource, CloudHsmClusterPrivateLinkResourcesListByCloudHsmClusterOptionalParams } from "../models";
|
|
4
5
|
/** Class containing CloudHsmClusterPrivateLinkResources operations. */
|
|
5
6
|
export declare class CloudHsmClusterPrivateLinkResourcesImpl implements CloudHsmClusterPrivateLinkResources {
|
|
6
7
|
private readonly client;
|
|
@@ -13,9 +14,28 @@ export declare class CloudHsmClusterPrivateLinkResourcesImpl implements CloudHsm
|
|
|
13
14
|
* Gets the private link resources supported for the Cloud Hsm Cluster.
|
|
14
15
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
15
16
|
* @param cloudHsmClusterName The name of the Cloud HSM Cluster within the specified resource group.
|
|
16
|
-
* Cloud HSM Cluster names must be between 3 and
|
|
17
|
+
* Cloud HSM Cluster names must be between 3 and 23 characters in length.
|
|
17
18
|
* @param options The options parameters.
|
|
18
19
|
*/
|
|
19
|
-
listByCloudHsmCluster(resourceGroupName: string, cloudHsmClusterName: string, options?: CloudHsmClusterPrivateLinkResourcesListByCloudHsmClusterOptionalParams):
|
|
20
|
+
listByCloudHsmCluster(resourceGroupName: string, cloudHsmClusterName: string, options?: CloudHsmClusterPrivateLinkResourcesListByCloudHsmClusterOptionalParams): PagedAsyncIterableIterator<PrivateLinkResource>;
|
|
21
|
+
private listByCloudHsmClusterPagingPage;
|
|
22
|
+
private listByCloudHsmClusterPagingAll;
|
|
23
|
+
/**
|
|
24
|
+
* Gets the private link resources supported for the Cloud Hsm Cluster.
|
|
25
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
26
|
+
* @param cloudHsmClusterName The name of the Cloud HSM Cluster within the specified resource group.
|
|
27
|
+
* Cloud HSM Cluster names must be between 3 and 23 characters in length.
|
|
28
|
+
* @param options The options parameters.
|
|
29
|
+
*/
|
|
30
|
+
private _listByCloudHsmCluster;
|
|
31
|
+
/**
|
|
32
|
+
* ListByCloudHsmClusterNext
|
|
33
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
34
|
+
* @param cloudHsmClusterName The name of the Cloud HSM Cluster within the specified resource group.
|
|
35
|
+
* Cloud HSM Cluster names must be between 3 and 23 characters in length.
|
|
36
|
+
* @param nextLink The nextLink from the previous successful call to the ListByCloudHsmCluster method.
|
|
37
|
+
* @param options The options parameters.
|
|
38
|
+
*/
|
|
39
|
+
private _listByCloudHsmClusterNext;
|
|
20
40
|
}
|
|
21
41
|
//# sourceMappingURL=cloudHsmClusterPrivateLinkResources.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cloudHsmClusterPrivateLinkResources.d.ts","sourceRoot":"","sources":["../../../src/operations/cloudHsmClusterPrivateLinkResources.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,mCAAmC,EAAE,MAAM,yBAAyB,CAAC;AAI9E,OAAO,EAAE,wBAAwB,EAAE,MAAM,6BAA6B,CAAC;AACvE,OAAO,EACL,
|
|
1
|
+
{"version":3,"file":"cloudHsmClusterPrivateLinkResources.d.ts","sourceRoot":"","sources":["../../../src/operations/cloudHsmClusterPrivateLinkResources.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAE9E,OAAO,EAAE,mCAAmC,EAAE,MAAM,yBAAyB,CAAC;AAI9E,OAAO,EAAE,wBAAwB,EAAE,MAAM,6BAA6B,CAAC;AACvE,OAAO,EACL,mBAAmB,EAEnB,sEAAsE,EAGvE,MAAM,WAAW,CAAC;AAGnB,uEAAuE;AACvE,qBAAa,uCACX,YAAW,mCAAmC;IAE9C,OAAO,CAAC,QAAQ,CAAC,MAAM,CAA2B;IAElD;;;OAGG;gBACS,MAAM,EAAE,wBAAwB;IAI5C;;;;;;OAMG;IACI,qBAAqB,CAC1B,iBAAiB,EAAE,MAAM,EACzB,mBAAmB,EAAE,MAAM,EAC3B,OAAO,CAAC,EAAE,sEAAsE,GAC/E,0BAA0B,CAAC,mBAAmB,CAAC;YA2BnC,+BAA+B;YAiC/B,8BAA8B;IAc7C;;;;;;OAMG;IACH,OAAO,CAAC,sBAAsB;IAW9B;;;;;;;OAOG;IACH,OAAO,CAAC,0BAA0B;CAWnC"}
|
|
@@ -5,9 +5,12 @@
|
|
|
5
5
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
6
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
7
|
*/
|
|
8
|
+
import { __asyncDelegator, __asyncGenerator, __asyncValues, __await } from "tslib";
|
|
9
|
+
import { setContinuationToken } from "../pagingHelper";
|
|
8
10
|
import * as coreClient from "@azure/core-client";
|
|
9
11
|
import * as Mappers from "../models/mappers";
|
|
10
12
|
import * as Parameters from "../models/parameters";
|
|
13
|
+
/// <reference lib="esnext.asynciterable" />
|
|
11
14
|
/** Class containing CloudHsmClusterPrivateLinkResources operations. */
|
|
12
15
|
export class CloudHsmClusterPrivateLinkResourcesImpl {
|
|
13
16
|
/**
|
|
@@ -21,12 +24,87 @@ export class CloudHsmClusterPrivateLinkResourcesImpl {
|
|
|
21
24
|
* Gets the private link resources supported for the Cloud Hsm Cluster.
|
|
22
25
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
23
26
|
* @param cloudHsmClusterName The name of the Cloud HSM Cluster within the specified resource group.
|
|
24
|
-
* Cloud HSM Cluster names must be between 3 and
|
|
27
|
+
* Cloud HSM Cluster names must be between 3 and 23 characters in length.
|
|
25
28
|
* @param options The options parameters.
|
|
26
29
|
*/
|
|
27
30
|
listByCloudHsmCluster(resourceGroupName, cloudHsmClusterName, options) {
|
|
31
|
+
const iter = this.listByCloudHsmClusterPagingAll(resourceGroupName, cloudHsmClusterName, options);
|
|
32
|
+
return {
|
|
33
|
+
next() {
|
|
34
|
+
return iter.next();
|
|
35
|
+
},
|
|
36
|
+
[Symbol.asyncIterator]() {
|
|
37
|
+
return this;
|
|
38
|
+
},
|
|
39
|
+
byPage: (settings) => {
|
|
40
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
41
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
42
|
+
}
|
|
43
|
+
return this.listByCloudHsmClusterPagingPage(resourceGroupName, cloudHsmClusterName, options, settings);
|
|
44
|
+
},
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
listByCloudHsmClusterPagingPage(resourceGroupName, cloudHsmClusterName, options, settings) {
|
|
48
|
+
return __asyncGenerator(this, arguments, function* listByCloudHsmClusterPagingPage_1() {
|
|
49
|
+
let result;
|
|
50
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
51
|
+
if (!continuationToken) {
|
|
52
|
+
result = yield __await(this._listByCloudHsmCluster(resourceGroupName, cloudHsmClusterName, options));
|
|
53
|
+
let page = result.value || [];
|
|
54
|
+
continuationToken = result.nextLink;
|
|
55
|
+
setContinuationToken(page, continuationToken);
|
|
56
|
+
yield yield __await(page);
|
|
57
|
+
}
|
|
58
|
+
while (continuationToken) {
|
|
59
|
+
result = yield __await(this._listByCloudHsmClusterNext(resourceGroupName, cloudHsmClusterName, continuationToken, options));
|
|
60
|
+
continuationToken = result.nextLink;
|
|
61
|
+
let page = result.value || [];
|
|
62
|
+
setContinuationToken(page, continuationToken);
|
|
63
|
+
yield yield __await(page);
|
|
64
|
+
}
|
|
65
|
+
});
|
|
66
|
+
}
|
|
67
|
+
listByCloudHsmClusterPagingAll(resourceGroupName, cloudHsmClusterName, options) {
|
|
68
|
+
return __asyncGenerator(this, arguments, function* listByCloudHsmClusterPagingAll_1() {
|
|
69
|
+
var _a, e_1, _b, _c;
|
|
70
|
+
try {
|
|
71
|
+
for (var _d = true, _e = __asyncValues(this.listByCloudHsmClusterPagingPage(resourceGroupName, cloudHsmClusterName, options)), _f; _f = yield __await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
72
|
+
_c = _f.value;
|
|
73
|
+
_d = false;
|
|
74
|
+
const page = _c;
|
|
75
|
+
yield __await(yield* __asyncDelegator(__asyncValues(page)));
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
79
|
+
finally {
|
|
80
|
+
try {
|
|
81
|
+
if (!_d && !_a && (_b = _e.return)) yield __await(_b.call(_e));
|
|
82
|
+
}
|
|
83
|
+
finally { if (e_1) throw e_1.error; }
|
|
84
|
+
}
|
|
85
|
+
});
|
|
86
|
+
}
|
|
87
|
+
/**
|
|
88
|
+
* Gets the private link resources supported for the Cloud Hsm Cluster.
|
|
89
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
90
|
+
* @param cloudHsmClusterName The name of the Cloud HSM Cluster within the specified resource group.
|
|
91
|
+
* Cloud HSM Cluster names must be between 3 and 23 characters in length.
|
|
92
|
+
* @param options The options parameters.
|
|
93
|
+
*/
|
|
94
|
+
_listByCloudHsmCluster(resourceGroupName, cloudHsmClusterName, options) {
|
|
28
95
|
return this.client.sendOperationRequest({ resourceGroupName, cloudHsmClusterName, options }, listByCloudHsmClusterOperationSpec);
|
|
29
96
|
}
|
|
97
|
+
/**
|
|
98
|
+
* ListByCloudHsmClusterNext
|
|
99
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
100
|
+
* @param cloudHsmClusterName The name of the Cloud HSM Cluster within the specified resource group.
|
|
101
|
+
* Cloud HSM Cluster names must be between 3 and 23 characters in length.
|
|
102
|
+
* @param nextLink The nextLink from the previous successful call to the ListByCloudHsmCluster method.
|
|
103
|
+
* @param options The options parameters.
|
|
104
|
+
*/
|
|
105
|
+
_listByCloudHsmClusterNext(resourceGroupName, cloudHsmClusterName, nextLink, options) {
|
|
106
|
+
return this.client.sendOperationRequest({ resourceGroupName, cloudHsmClusterName, nextLink, options }, listByCloudHsmClusterNextOperationSpec);
|
|
107
|
+
}
|
|
30
108
|
}
|
|
31
109
|
// Operation Specifications
|
|
32
110
|
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
@@ -35,20 +113,41 @@ const listByCloudHsmClusterOperationSpec = {
|
|
|
35
113
|
httpMethod: "GET",
|
|
36
114
|
responses: {
|
|
37
115
|
200: {
|
|
38
|
-
bodyMapper: Mappers.PrivateLinkResourceListResult
|
|
116
|
+
bodyMapper: Mappers.PrivateLinkResourceListResult,
|
|
39
117
|
},
|
|
40
118
|
default: {
|
|
41
|
-
bodyMapper: Mappers.
|
|
42
|
-
}
|
|
119
|
+
bodyMapper: Mappers.ErrorResponse,
|
|
120
|
+
},
|
|
43
121
|
},
|
|
44
122
|
queryParameters: [Parameters.apiVersion],
|
|
45
123
|
urlParameters: [
|
|
46
124
|
Parameters.$host,
|
|
47
125
|
Parameters.subscriptionId,
|
|
48
126
|
Parameters.resourceGroupName,
|
|
49
|
-
Parameters.cloudHsmClusterName
|
|
127
|
+
Parameters.cloudHsmClusterName,
|
|
128
|
+
],
|
|
129
|
+
headerParameters: [Parameters.accept],
|
|
130
|
+
serializer,
|
|
131
|
+
};
|
|
132
|
+
const listByCloudHsmClusterNextOperationSpec = {
|
|
133
|
+
path: "{nextLink}",
|
|
134
|
+
httpMethod: "GET",
|
|
135
|
+
responses: {
|
|
136
|
+
200: {
|
|
137
|
+
bodyMapper: Mappers.PrivateLinkResourceListResult,
|
|
138
|
+
},
|
|
139
|
+
default: {
|
|
140
|
+
bodyMapper: Mappers.ErrorResponse,
|
|
141
|
+
},
|
|
142
|
+
},
|
|
143
|
+
urlParameters: [
|
|
144
|
+
Parameters.$host,
|
|
145
|
+
Parameters.subscriptionId,
|
|
146
|
+
Parameters.resourceGroupName,
|
|
147
|
+
Parameters.cloudHsmClusterName,
|
|
148
|
+
Parameters.nextLink,
|
|
50
149
|
],
|
|
51
150
|
headerParameters: [Parameters.accept],
|
|
52
|
-
serializer
|
|
151
|
+
serializer,
|
|
53
152
|
};
|
|
54
153
|
//# sourceMappingURL=cloudHsmClusterPrivateLinkResources.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cloudHsmClusterPrivateLinkResources.js","sourceRoot":"","sources":["../../../src/operations/cloudHsmClusterPrivateLinkResources.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG
|
|
1
|
+
{"version":3,"file":"cloudHsmClusterPrivateLinkResources.js","sourceRoot":"","sources":["../../../src/operations/cloudHsmClusterPrivateLinkResources.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAGH,OAAO,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|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { CloudHsmClusterRestoreStatus } from "../operationsInterfaces";
|
|
2
|
+
import { AzureHSMResourceProvider } from "../azureHSMResourceProvider";
|
|
3
|
+
import { CloudHsmClusterRestoreStatusGetOptionalParams, CloudHsmClusterRestoreStatusGetResponse } from "../models";
|
|
4
|
+
/** Class containing CloudHsmClusterRestoreStatus operations. */
|
|
5
|
+
export declare class CloudHsmClusterRestoreStatusImpl implements CloudHsmClusterRestoreStatus {
|
|
6
|
+
private readonly client;
|
|
7
|
+
/**
|
|
8
|
+
* Initialize a new instance of the class CloudHsmClusterRestoreStatus class.
|
|
9
|
+
* @param client Reference to the service client
|
|
10
|
+
*/
|
|
11
|
+
constructor(client: AzureHSMResourceProvider);
|
|
12
|
+
/**
|
|
13
|
+
* Gets the restore operation status of the specified Cloud HSM Cluster
|
|
14
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
15
|
+
* @param cloudHsmClusterName The name of the Cloud HSM Cluster within the specified resource group.
|
|
16
|
+
* Cloud HSM Cluster names must be between 3 and 23 characters in length.
|
|
17
|
+
* @param jobId The id returned as part of the backup request
|
|
18
|
+
* @param options The options parameters.
|
|
19
|
+
*/
|
|
20
|
+
get(resourceGroupName: string, cloudHsmClusterName: string, jobId: string, options?: CloudHsmClusterRestoreStatusGetOptionalParams): Promise<CloudHsmClusterRestoreStatusGetResponse>;
|
|
21
|
+
}
|
|
22
|
+
//# sourceMappingURL=cloudHsmClusterRestoreStatus.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cloudHsmClusterRestoreStatus.d.ts","sourceRoot":"","sources":["../../../src/operations/cloudHsmClusterRestoreStatus.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,4BAA4B,EAAE,MAAM,yBAAyB,CAAC;AAIvE,OAAO,EAAE,wBAAwB,EAAE,MAAM,6BAA6B,CAAC;AACvE,OAAO,EACL,6CAA6C,EAC7C,uCAAuC,EACxC,MAAM,WAAW,CAAC;AAEnB,gEAAgE;AAChE,qBAAa,gCACX,YAAW,4BAA4B;IAEvC,OAAO,CAAC,QAAQ,CAAC,MAAM,CAA2B;IAElD;;;OAGG;gBACS,MAAM,EAAE,wBAAwB;IAI5C;;;;;;;OAOG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,mBAAmB,EAAE,MAAM,EAC3B,KAAK,EAAE,MAAM,EACb,OAAO,CAAC,EAAE,6CAA6C,GACtD,OAAO,CAAC,uCAAuC,CAAC;CAMpD"}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
8
|
+
import * as coreClient from "@azure/core-client";
|
|
9
|
+
import * as Mappers from "../models/mappers";
|
|
10
|
+
import * as Parameters from "../models/parameters";
|
|
11
|
+
/** Class containing CloudHsmClusterRestoreStatus operations. */
|
|
12
|
+
export class CloudHsmClusterRestoreStatusImpl {
|
|
13
|
+
/**
|
|
14
|
+
* Initialize a new instance of the class CloudHsmClusterRestoreStatus class.
|
|
15
|
+
* @param client Reference to the service client
|
|
16
|
+
*/
|
|
17
|
+
constructor(client) {
|
|
18
|
+
this.client = client;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* Gets the restore operation status of the specified Cloud HSM Cluster
|
|
22
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
23
|
+
* @param cloudHsmClusterName The name of the Cloud HSM Cluster within the specified resource group.
|
|
24
|
+
* Cloud HSM Cluster names must be between 3 and 23 characters in length.
|
|
25
|
+
* @param jobId The id returned as part of the backup request
|
|
26
|
+
* @param options The options parameters.
|
|
27
|
+
*/
|
|
28
|
+
get(resourceGroupName, cloudHsmClusterName, jobId, options) {
|
|
29
|
+
return this.client.sendOperationRequest({ resourceGroupName, cloudHsmClusterName, jobId, options }, getOperationSpec);
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
// Operation Specifications
|
|
33
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
34
|
+
const getOperationSpec = {
|
|
35
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/cloudHsmClusters/{cloudHsmClusterName}/restoreOperationStatus/{jobId}",
|
|
36
|
+
httpMethod: "GET",
|
|
37
|
+
responses: {
|
|
38
|
+
200: {
|
|
39
|
+
bodyMapper: Mappers.RestoreResult,
|
|
40
|
+
headersMapper: Mappers.CloudHsmClusterRestoreStatusGetHeaders,
|
|
41
|
+
},
|
|
42
|
+
202: {
|
|
43
|
+
headersMapper: Mappers.CloudHsmClusterRestoreStatusGetHeaders,
|
|
44
|
+
},
|
|
45
|
+
default: {
|
|
46
|
+
bodyMapper: Mappers.ErrorResponse,
|
|
47
|
+
headersMapper: Mappers.CloudHsmClusterRestoreStatusGetExceptionHeaders,
|
|
48
|
+
},
|
|
49
|
+
},
|
|
50
|
+
queryParameters: [Parameters.apiVersion],
|
|
51
|
+
urlParameters: [
|
|
52
|
+
Parameters.$host,
|
|
53
|
+
Parameters.subscriptionId,
|
|
54
|
+
Parameters.resourceGroupName,
|
|
55
|
+
Parameters.cloudHsmClusterName,
|
|
56
|
+
Parameters.jobId,
|
|
57
|
+
],
|
|
58
|
+
headerParameters: [Parameters.accept],
|
|
59
|
+
serializer,
|
|
60
|
+
};
|
|
61
|
+
//# sourceMappingURL=cloudHsmClusterRestoreStatus.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cloudHsmClusterRestoreStatus.js","sourceRoot":"","sources":["../../../src/operations/cloudHsmClusterRestoreStatus.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,KAAK,UAAU,MAAM,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