@azure/arm-hardwaresecuritymodules 2.0.0-alpha.20240110.1 → 2.0.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +82 -1
- package/LICENSE +1 -1
- package/README.md +14 -14
- package/dist/index.js +2215 -425
- 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/cloudHsmClusterPrivateEndpointConnectionsCreateSample.d.ts +2 -0
- package/dist-esm/samples-dev/cloudHsmClusterPrivateEndpointConnectionsCreateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/cloudHsmClusterPrivateEndpointConnectionsCreateSample.js +46 -0
- package/dist-esm/samples-dev/cloudHsmClusterPrivateEndpointConnectionsCreateSample.js.map +1 -0
- package/dist-esm/samples-dev/cloudHsmClusterPrivateEndpointConnectionsDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/cloudHsmClusterPrivateEndpointConnectionsDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/cloudHsmClusterPrivateEndpointConnectionsDeleteSample.js +40 -0
- package/dist-esm/samples-dev/cloudHsmClusterPrivateEndpointConnectionsDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/cloudHsmClusterPrivateEndpointConnectionsGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/cloudHsmClusterPrivateEndpointConnectionsGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/cloudHsmClusterPrivateEndpointConnectionsGetSample.js +40 -0
- package/dist-esm/samples-dev/cloudHsmClusterPrivateEndpointConnectionsGetSample.js.map +1 -0
- package/dist-esm/samples-dev/cloudHsmClusterPrivateLinkResourcesListByCloudHsmClusterSample.d.ts +2 -0
- package/dist-esm/samples-dev/cloudHsmClusterPrivateLinkResourcesListByCloudHsmClusterSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/cloudHsmClusterPrivateLinkResourcesListByCloudHsmClusterSample.js +39 -0
- package/dist-esm/samples-dev/cloudHsmClusterPrivateLinkResourcesListByCloudHsmClusterSample.js.map +1 -0
- package/dist-esm/samples-dev/cloudHsmClustersCreateOrUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/cloudHsmClustersCreateOrUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/cloudHsmClustersCreateOrUpdateSample.js +53 -0
- package/dist-esm/samples-dev/cloudHsmClustersCreateOrUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/cloudHsmClustersDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/cloudHsmClustersDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/cloudHsmClustersDeleteSample.js +39 -0
- package/dist-esm/samples-dev/cloudHsmClustersDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/cloudHsmClustersGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/cloudHsmClustersGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/cloudHsmClustersGetSample.js +39 -0
- package/dist-esm/samples-dev/cloudHsmClustersGetSample.js.map +1 -0
- package/dist-esm/samples-dev/cloudHsmClustersListByResourceGroupSample.d.ts +2 -0
- package/dist-esm/samples-dev/cloudHsmClustersListByResourceGroupSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/cloudHsmClustersListByResourceGroupSample.js +54 -0
- package/dist-esm/samples-dev/cloudHsmClustersListByResourceGroupSample.js.map +1 -0
- package/dist-esm/samples-dev/cloudHsmClustersListBySubscriptionSample.d.ts +2 -0
- package/dist-esm/samples-dev/cloudHsmClustersListBySubscriptionSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/cloudHsmClustersListBySubscriptionSample.js +53 -0
- package/dist-esm/samples-dev/cloudHsmClustersListBySubscriptionSample.js.map +1 -0
- package/dist-esm/samples-dev/cloudHsmClustersUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/cloudHsmClustersUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/cloudHsmClustersUpdateSample.js +47 -0
- package/dist-esm/samples-dev/cloudHsmClustersUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/dedicatedHsmCreateOrUpdateSample.js +23 -13
- package/dist-esm/samples-dev/dedicatedHsmCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/dedicatedHsmDeleteSample.js +13 -5
- package/dist-esm/samples-dev/dedicatedHsmDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/dedicatedHsmGetSample.js +23 -13
- package/dist-esm/samples-dev/dedicatedHsmGetSample.js.map +1 -1
- package/dist-esm/samples-dev/dedicatedHsmListByResourceGroupSample.js +18 -9
- package/dist-esm/samples-dev/dedicatedHsmListByResourceGroupSample.js.map +1 -1
- package/dist-esm/samples-dev/dedicatedHsmListBySubscriptionSample.js +16 -7
- package/dist-esm/samples-dev/dedicatedHsmListBySubscriptionSample.js.map +1 -1
- package/dist-esm/samples-dev/dedicatedHsmListOutboundNetworkDependenciesEndpointsSample.js +13 -5
- package/dist-esm/samples-dev/dedicatedHsmListOutboundNetworkDependenciesEndpointsSample.js.map +1 -1
- package/dist-esm/samples-dev/dedicatedHsmUpdateSample.js +18 -9
- package/dist-esm/samples-dev/dedicatedHsmUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/operationsListSample.js +16 -7
- package/dist-esm/samples-dev/operationsListSample.js.map +1 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsListByCloudHsmClusterSample.d.ts +2 -0
- package/dist-esm/samples-dev/privateEndpointConnectionsListByCloudHsmClusterSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/privateEndpointConnectionsListByCloudHsmClusterSample.js +55 -0
- package/dist-esm/samples-dev/privateEndpointConnectionsListByCloudHsmClusterSample.js.map +1 -0
- package/dist-esm/src/azureHSMResourceProvider.d.ts +22 -0
- package/dist-esm/src/azureHSMResourceProvider.d.ts.map +1 -0
- package/dist-esm/src/{azureDedicatedHSMResourceProvider.js → azureHSMResourceProvider.js} +10 -37
- package/dist-esm/src/azureHSMResourceProvider.js.map +1 -0
- package/dist-esm/src/index.d.ts +1 -1
- package/dist-esm/src/index.d.ts.map +1 -1
- package/dist-esm/src/index.js +1 -1
- package/dist-esm/src/index.js.map +1 -1
- package/dist-esm/src/lroImpl.d.ts +6 -11
- package/dist-esm/src/lroImpl.d.ts.map +1 -1
- package/dist-esm/src/lroImpl.js +12 -20
- package/dist-esm/src/lroImpl.js.map +1 -1
- package/dist-esm/src/models/index.d.ts +538 -8
- package/dist-esm/src/models/index.d.ts.map +1 -1
- package/dist-esm/src/models/index.js +72 -0
- package/dist-esm/src/models/index.js.map +1 -1
- package/dist-esm/src/models/mappers.d.ts +28 -2
- package/dist-esm/src/models/mappers.d.ts.map +1 -1
- package/dist-esm/src/models/mappers.js +692 -7
- package/dist-esm/src/models/mappers.js.map +1 -1
- package/dist-esm/src/models/parameters.d.ts +27 -5
- package/dist-esm/src/models/parameters.d.ts.map +1 -1
- package/dist-esm/src/models/parameters.js +161 -29
- package/dist-esm/src/models/parameters.js.map +1 -1
- package/dist-esm/src/operations/cloudHsmClusterPrivateEndpointConnections.d.ts +55 -0
- package/dist-esm/src/operations/cloudHsmClusterPrivateEndpointConnections.d.ts.map +1 -0
- package/dist-esm/src/operations/cloudHsmClusterPrivateEndpointConnections.js +193 -0
- package/dist-esm/src/operations/cloudHsmClusterPrivateEndpointConnections.js.map +1 -0
- package/dist-esm/src/operations/cloudHsmClusterPrivateLinkResources.d.ts +21 -0
- package/dist-esm/src/operations/cloudHsmClusterPrivateLinkResources.d.ts.map +1 -0
- package/dist-esm/src/operations/cloudHsmClusterPrivateLinkResources.js +54 -0
- package/dist-esm/src/operations/cloudHsmClusterPrivateLinkResources.js.map +1 -0
- package/dist-esm/src/operations/cloudHsmClusters.d.ts +114 -0
- package/dist-esm/src/operations/cloudHsmClusters.d.ts.map +1 -0
- package/dist-esm/src/operations/cloudHsmClusters.js +580 -0
- package/dist-esm/src/operations/cloudHsmClusters.js.map +1 -0
- package/dist-esm/src/operations/dedicatedHsmOperations.d.ts +6 -6
- package/dist-esm/src/operations/dedicatedHsmOperations.d.ts.map +1 -1
- package/dist-esm/src/operations/dedicatedHsmOperations.js +51 -39
- package/dist-esm/src/operations/dedicatedHsmOperations.js.map +1 -1
- package/dist-esm/src/operations/index.d.ts +4 -0
- package/dist-esm/src/operations/index.d.ts.map +1 -1
- package/dist-esm/src/operations/index.js +4 -0
- package/dist-esm/src/operations/index.js.map +1 -1
- package/dist-esm/src/operations/operations.d.ts +2 -2
- package/dist-esm/src/operations/operations.d.ts.map +1 -1
- package/dist-esm/src/operations/operations.js +1 -1
- package/dist-esm/src/operations/operations.js.map +1 -1
- package/dist-esm/src/operations/privateEndpointConnections.d.ts +43 -0
- package/dist-esm/src/operations/privateEndpointConnections.d.ts.map +1 -0
- package/dist-esm/src/operations/privateEndpointConnections.js +155 -0
- package/dist-esm/src/operations/privateEndpointConnections.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/cloudHsmClusterPrivateEndpointConnections.d.ts +47 -0
- package/dist-esm/src/operationsInterfaces/cloudHsmClusterPrivateEndpointConnections.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/cloudHsmClusterPrivateEndpointConnections.js +9 -0
- package/dist-esm/src/operationsInterfaces/cloudHsmClusterPrivateEndpointConnections.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/cloudHsmClusterPrivateLinkResources.d.ts +13 -0
- package/dist-esm/src/operationsInterfaces/cloudHsmClusterPrivateLinkResources.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/cloudHsmClusterPrivateLinkResources.js +9 -0
- package/dist-esm/src/operationsInterfaces/cloudHsmClusterPrivateLinkResources.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/cloudHsmClusters.d.ts +77 -0
- package/dist-esm/src/operationsInterfaces/cloudHsmClusters.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/cloudHsmClusters.js +9 -0
- package/dist-esm/src/operationsInterfaces/cloudHsmClusters.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/dedicatedHsmOperations.d.ts +4 -4
- package/dist-esm/src/operationsInterfaces/dedicatedHsmOperations.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/index.d.ts +4 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/index.js +4 -0
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts +15 -0
- package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/privateEndpointConnections.js +9 -0
- package/dist-esm/src/operationsInterfaces/privateEndpointConnections.js.map +1 -0
- package/dist-esm/test/hardwaresecuritymodules_operations_test.spec.d.ts +4 -0
- package/dist-esm/test/hardwaresecuritymodules_operations_test.spec.d.ts.map +1 -0
- package/dist-esm/test/hardwaresecuritymodules_operations_test.spec.js +73 -0
- package/dist-esm/test/hardwaresecuritymodules_operations_test.spec.js.map +1 -0
- package/package.json +15 -12
- package/review/arm-hardwaresecuritymodules.api.md +426 -19
- package/src/{azureDedicatedHSMResourceProvider.ts → azureHSMResourceProvider.ts} +35 -46
- package/src/index.ts +1 -1
- package/src/lroImpl.ts +31 -23
- package/src/models/index.ts +599 -8
- package/src/models/mappers.ts +751 -7
- package/src/models/parameters.ts +187 -30
- package/src/operations/cloudHsmClusterPrivateEndpointConnections.ts +263 -0
- package/src/operations/cloudHsmClusterPrivateLinkResources.ts +74 -0
- package/src/operations/cloudHsmClusters.ts +750 -0
- package/src/operations/dedicatedHsmOperations.ts +69 -59
- package/src/operations/index.ts +4 -0
- package/src/operations/operations.ts +4 -4
- package/src/operations/privateEndpointConnections.ts +208 -0
- package/src/operationsInterfaces/cloudHsmClusterPrivateEndpointConnections.ts +83 -0
- package/src/operationsInterfaces/cloudHsmClusterPrivateLinkResources.ts +28 -0
- package/src/operationsInterfaces/cloudHsmClusters.ts +142 -0
- package/src/operationsInterfaces/dedicatedHsmOperations.ts +6 -6
- package/src/operationsInterfaces/index.ts +4 -0
- package/src/operationsInterfaces/privateEndpointConnections.ts +31 -0
- package/types/arm-hardwaresecuritymodules.d.ts +773 -34
- package/types/tsdoc-metadata.json +1 -1
- package/dist-esm/src/azureDedicatedHSMResourceProvider.d.ts +0 -22
- package/dist-esm/src/azureDedicatedHSMResourceProvider.d.ts.map +0 -1
- package/dist-esm/src/azureDedicatedHSMResourceProvider.js.map +0 -1
- package/dist-esm/test/sampleTest.d.ts +0 -2
- package/dist-esm/test/sampleTest.d.ts.map +0 -1
- package/dist-esm/test/sampleTest.js +0 -38
- package/dist-esm/test/sampleTest.js.map +0 -1
|
@@ -0,0 +1,142 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
10
|
+
import { SimplePollerLike, OperationState } from "@azure/core-lro";
|
|
11
|
+
import {
|
|
12
|
+
CloudHsmCluster,
|
|
13
|
+
CloudHsmClustersListByResourceGroupOptionalParams,
|
|
14
|
+
CloudHsmClustersListBySubscriptionOptionalParams,
|
|
15
|
+
CloudHsmClustersCreateOrUpdateOptionalParams,
|
|
16
|
+
CloudHsmClustersCreateOrUpdateResponse,
|
|
17
|
+
CloudHsmClustersUpdateOptionalParams,
|
|
18
|
+
CloudHsmClustersUpdateResponse,
|
|
19
|
+
CloudHsmClustersGetOptionalParams,
|
|
20
|
+
CloudHsmClustersGetResponse,
|
|
21
|
+
CloudHsmClustersDeleteOptionalParams
|
|
22
|
+
} from "../models";
|
|
23
|
+
|
|
24
|
+
/// <reference lib="esnext.asynciterable" />
|
|
25
|
+
/** Interface representing a CloudHsmClusters. */
|
|
26
|
+
export interface CloudHsmClusters {
|
|
27
|
+
/**
|
|
28
|
+
* The List operation gets information about the Cloud HSM Clusters associated with the subscription
|
|
29
|
+
* and within the specified resource group.
|
|
30
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
31
|
+
* @param options The options parameters.
|
|
32
|
+
*/
|
|
33
|
+
listByResourceGroup(
|
|
34
|
+
resourceGroupName: string,
|
|
35
|
+
options?: CloudHsmClustersListByResourceGroupOptionalParams
|
|
36
|
+
): PagedAsyncIterableIterator<CloudHsmCluster>;
|
|
37
|
+
/**
|
|
38
|
+
* The List operation gets information about the Cloud HSM Clusters associated with the subscription.
|
|
39
|
+
* @param options The options parameters.
|
|
40
|
+
*/
|
|
41
|
+
listBySubscription(
|
|
42
|
+
options?: CloudHsmClustersListBySubscriptionOptionalParams
|
|
43
|
+
): PagedAsyncIterableIterator<CloudHsmCluster>;
|
|
44
|
+
/**
|
|
45
|
+
* Create or Update a Cloud HSM Cluster in the specified subscription.
|
|
46
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
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 24 characters in length.
|
|
49
|
+
* @param location The geo-location where the resource lives
|
|
50
|
+
* @param options The options parameters.
|
|
51
|
+
*/
|
|
52
|
+
beginCreateOrUpdate(
|
|
53
|
+
resourceGroupName: string,
|
|
54
|
+
cloudHsmClusterName: string,
|
|
55
|
+
location: string,
|
|
56
|
+
options?: CloudHsmClustersCreateOrUpdateOptionalParams
|
|
57
|
+
): Promise<
|
|
58
|
+
SimplePollerLike<
|
|
59
|
+
OperationState<CloudHsmClustersCreateOrUpdateResponse>,
|
|
60
|
+
CloudHsmClustersCreateOrUpdateResponse
|
|
61
|
+
>
|
|
62
|
+
>;
|
|
63
|
+
/**
|
|
64
|
+
* Create or Update a Cloud HSM Cluster in the specified subscription.
|
|
65
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
66
|
+
* @param cloudHsmClusterName The name of the Cloud HSM Cluster within the specified resource group.
|
|
67
|
+
* Cloud HSM Cluster names must be between 3 and 24 characters in length.
|
|
68
|
+
* @param location The geo-location where the resource lives
|
|
69
|
+
* @param options The options parameters.
|
|
70
|
+
*/
|
|
71
|
+
beginCreateOrUpdateAndWait(
|
|
72
|
+
resourceGroupName: string,
|
|
73
|
+
cloudHsmClusterName: string,
|
|
74
|
+
location: string,
|
|
75
|
+
options?: CloudHsmClustersCreateOrUpdateOptionalParams
|
|
76
|
+
): Promise<CloudHsmClustersCreateOrUpdateResponse>;
|
|
77
|
+
/**
|
|
78
|
+
* Update a Cloud HSM Cluster in the specified subscription.
|
|
79
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
80
|
+
* @param cloudHsmClusterName The name of the Cloud HSM Cluster within the specified resource group.
|
|
81
|
+
* Cloud HSM Cluster names must be between 3 and 24 characters in length.
|
|
82
|
+
* @param options The options parameters.
|
|
83
|
+
*/
|
|
84
|
+
beginUpdate(
|
|
85
|
+
resourceGroupName: string,
|
|
86
|
+
cloudHsmClusterName: string,
|
|
87
|
+
options?: CloudHsmClustersUpdateOptionalParams
|
|
88
|
+
): Promise<
|
|
89
|
+
SimplePollerLike<
|
|
90
|
+
OperationState<CloudHsmClustersUpdateResponse>,
|
|
91
|
+
CloudHsmClustersUpdateResponse
|
|
92
|
+
>
|
|
93
|
+
>;
|
|
94
|
+
/**
|
|
95
|
+
* Update a Cloud HSM Cluster in the specified subscription.
|
|
96
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
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 24 characters in length.
|
|
99
|
+
* @param options The options parameters.
|
|
100
|
+
*/
|
|
101
|
+
beginUpdateAndWait(
|
|
102
|
+
resourceGroupName: string,
|
|
103
|
+
cloudHsmClusterName: string,
|
|
104
|
+
options?: CloudHsmClustersUpdateOptionalParams
|
|
105
|
+
): Promise<CloudHsmClustersUpdateResponse>;
|
|
106
|
+
/**
|
|
107
|
+
* Gets the specified Cloud HSM Cluster
|
|
108
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
109
|
+
* @param cloudHsmClusterName The name of the Cloud HSM Cluster within the specified resource group.
|
|
110
|
+
* Cloud HSM Cluster names must be between 3 and 24 characters in length.
|
|
111
|
+
* @param options The options parameters.
|
|
112
|
+
*/
|
|
113
|
+
get(
|
|
114
|
+
resourceGroupName: string,
|
|
115
|
+
cloudHsmClusterName: string,
|
|
116
|
+
options?: CloudHsmClustersGetOptionalParams
|
|
117
|
+
): Promise<CloudHsmClustersGetResponse>;
|
|
118
|
+
/**
|
|
119
|
+
* Deletes the specified Cloud HSM Cluster
|
|
120
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
121
|
+
* @param cloudHsmClusterName The name of the Cloud HSM Cluster within the specified resource group.
|
|
122
|
+
* Cloud HSM Cluster names must be between 3 and 24 characters in length.
|
|
123
|
+
* @param options The options parameters.
|
|
124
|
+
*/
|
|
125
|
+
beginDelete(
|
|
126
|
+
resourceGroupName: string,
|
|
127
|
+
cloudHsmClusterName: string,
|
|
128
|
+
options?: CloudHsmClustersDeleteOptionalParams
|
|
129
|
+
): Promise<SimplePollerLike<OperationState<void>, void>>;
|
|
130
|
+
/**
|
|
131
|
+
* Deletes the specified Cloud HSM Cluster
|
|
132
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
133
|
+
* @param cloudHsmClusterName The name of the Cloud HSM Cluster within the specified resource group.
|
|
134
|
+
* Cloud HSM Cluster names must be between 3 and 24 characters in length.
|
|
135
|
+
* @param options The options parameters.
|
|
136
|
+
*/
|
|
137
|
+
beginDeleteAndWait(
|
|
138
|
+
resourceGroupName: string,
|
|
139
|
+
cloudHsmClusterName: string,
|
|
140
|
+
options?: CloudHsmClustersDeleteOptionalParams
|
|
141
|
+
): Promise<void>;
|
|
142
|
+
}
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
9
|
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
10
|
-
import {
|
|
10
|
+
import { SimplePollerLike, OperationState } from "@azure/core-lro";
|
|
11
11
|
import {
|
|
12
12
|
DedicatedHsm,
|
|
13
13
|
DedicatedHsmListByResourceGroupOptionalParams,
|
|
@@ -68,8 +68,8 @@ export interface DedicatedHsmOperations {
|
|
|
68
68
|
parameters: DedicatedHsm,
|
|
69
69
|
options?: DedicatedHsmCreateOrUpdateOptionalParams
|
|
70
70
|
): Promise<
|
|
71
|
-
|
|
72
|
-
|
|
71
|
+
SimplePollerLike<
|
|
72
|
+
OperationState<DedicatedHsmCreateOrUpdateResponse>,
|
|
73
73
|
DedicatedHsmCreateOrUpdateResponse
|
|
74
74
|
>
|
|
75
75
|
>;
|
|
@@ -97,8 +97,8 @@ export interface DedicatedHsmOperations {
|
|
|
97
97
|
name: string,
|
|
98
98
|
options?: DedicatedHsmUpdateOptionalParams
|
|
99
99
|
): Promise<
|
|
100
|
-
|
|
101
|
-
|
|
100
|
+
SimplePollerLike<
|
|
101
|
+
OperationState<DedicatedHsmUpdateResponse>,
|
|
102
102
|
DedicatedHsmUpdateResponse
|
|
103
103
|
>
|
|
104
104
|
>;
|
|
@@ -123,7 +123,7 @@ export interface DedicatedHsmOperations {
|
|
|
123
123
|
resourceGroupName: string,
|
|
124
124
|
name: string,
|
|
125
125
|
options?: DedicatedHsmDeleteOptionalParams
|
|
126
|
-
): Promise<
|
|
126
|
+
): Promise<SimplePollerLike<OperationState<void>, void>>;
|
|
127
127
|
/**
|
|
128
128
|
* Deletes the specified Azure Dedicated HSM.
|
|
129
129
|
* @param resourceGroupName The name of the Resource Group to which the dedicated HSM belongs.
|
|
@@ -6,5 +6,9 @@
|
|
|
6
6
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
|
+
export * from "./cloudHsmClusters";
|
|
10
|
+
export * from "./cloudHsmClusterPrivateLinkResources";
|
|
11
|
+
export * from "./cloudHsmClusterPrivateEndpointConnections";
|
|
12
|
+
export * from "./privateEndpointConnections";
|
|
9
13
|
export * from "./operations";
|
|
10
14
|
export * from "./dedicatedHsmOperations";
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
10
|
+
import {
|
|
11
|
+
PrivateEndpointConnection,
|
|
12
|
+
PrivateEndpointConnectionsListByCloudHsmClusterOptionalParams
|
|
13
|
+
} from "../models";
|
|
14
|
+
|
|
15
|
+
/// <reference lib="esnext.asynciterable" />
|
|
16
|
+
/** Interface representing a PrivateEndpointConnections. */
|
|
17
|
+
export interface PrivateEndpointConnections {
|
|
18
|
+
/**
|
|
19
|
+
* The List operation gets information about the private endpoint connections associated with the Cloud
|
|
20
|
+
* HSM Cluster
|
|
21
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
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 24 characters in length.
|
|
24
|
+
* @param options The options parameters.
|
|
25
|
+
*/
|
|
26
|
+
listByCloudHsmCluster(
|
|
27
|
+
resourceGroupName: string,
|
|
28
|
+
cloudHsmClusterName: string,
|
|
29
|
+
options?: PrivateEndpointConnectionsListByCloudHsmClusterOptionalParams
|
|
30
|
+
): PagedAsyncIterableIterator<PrivateEndpointConnection>;
|
|
31
|
+
}
|