@azure/arm-hardwaresecuritymodules 2.0.0-alpha.20240118.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.
Files changed (174) hide show
  1. package/CHANGELOG.md +82 -1
  2. package/LICENSE +1 -1
  3. package/README.md +14 -14
  4. package/dist/index.js +2215 -425
  5. package/dist/index.js.map +1 -1
  6. package/dist/index.min.js +1 -1
  7. package/dist/index.min.js.map +1 -1
  8. package/dist-esm/samples-dev/cloudHsmClusterPrivateEndpointConnectionsCreateSample.d.ts +2 -0
  9. package/dist-esm/samples-dev/cloudHsmClusterPrivateEndpointConnectionsCreateSample.d.ts.map +1 -0
  10. package/dist-esm/samples-dev/cloudHsmClusterPrivateEndpointConnectionsCreateSample.js +46 -0
  11. package/dist-esm/samples-dev/cloudHsmClusterPrivateEndpointConnectionsCreateSample.js.map +1 -0
  12. package/dist-esm/samples-dev/cloudHsmClusterPrivateEndpointConnectionsDeleteSample.d.ts +2 -0
  13. package/dist-esm/samples-dev/cloudHsmClusterPrivateEndpointConnectionsDeleteSample.d.ts.map +1 -0
  14. package/dist-esm/samples-dev/cloudHsmClusterPrivateEndpointConnectionsDeleteSample.js +40 -0
  15. package/dist-esm/samples-dev/cloudHsmClusterPrivateEndpointConnectionsDeleteSample.js.map +1 -0
  16. package/dist-esm/samples-dev/cloudHsmClusterPrivateEndpointConnectionsGetSample.d.ts +2 -0
  17. package/dist-esm/samples-dev/cloudHsmClusterPrivateEndpointConnectionsGetSample.d.ts.map +1 -0
  18. package/dist-esm/samples-dev/cloudHsmClusterPrivateEndpointConnectionsGetSample.js +40 -0
  19. package/dist-esm/samples-dev/cloudHsmClusterPrivateEndpointConnectionsGetSample.js.map +1 -0
  20. package/dist-esm/samples-dev/cloudHsmClusterPrivateLinkResourcesListByCloudHsmClusterSample.d.ts +2 -0
  21. package/dist-esm/samples-dev/cloudHsmClusterPrivateLinkResourcesListByCloudHsmClusterSample.d.ts.map +1 -0
  22. package/dist-esm/samples-dev/cloudHsmClusterPrivateLinkResourcesListByCloudHsmClusterSample.js +39 -0
  23. package/dist-esm/samples-dev/cloudHsmClusterPrivateLinkResourcesListByCloudHsmClusterSample.js.map +1 -0
  24. package/dist-esm/samples-dev/cloudHsmClustersCreateOrUpdateSample.d.ts +2 -0
  25. package/dist-esm/samples-dev/cloudHsmClustersCreateOrUpdateSample.d.ts.map +1 -0
  26. package/dist-esm/samples-dev/cloudHsmClustersCreateOrUpdateSample.js +53 -0
  27. package/dist-esm/samples-dev/cloudHsmClustersCreateOrUpdateSample.js.map +1 -0
  28. package/dist-esm/samples-dev/cloudHsmClustersDeleteSample.d.ts +2 -0
  29. package/dist-esm/samples-dev/cloudHsmClustersDeleteSample.d.ts.map +1 -0
  30. package/dist-esm/samples-dev/cloudHsmClustersDeleteSample.js +39 -0
  31. package/dist-esm/samples-dev/cloudHsmClustersDeleteSample.js.map +1 -0
  32. package/dist-esm/samples-dev/cloudHsmClustersGetSample.d.ts +2 -0
  33. package/dist-esm/samples-dev/cloudHsmClustersGetSample.d.ts.map +1 -0
  34. package/dist-esm/samples-dev/cloudHsmClustersGetSample.js +39 -0
  35. package/dist-esm/samples-dev/cloudHsmClustersGetSample.js.map +1 -0
  36. package/dist-esm/samples-dev/cloudHsmClustersListByResourceGroupSample.d.ts +2 -0
  37. package/dist-esm/samples-dev/cloudHsmClustersListByResourceGroupSample.d.ts.map +1 -0
  38. package/dist-esm/samples-dev/cloudHsmClustersListByResourceGroupSample.js +54 -0
  39. package/dist-esm/samples-dev/cloudHsmClustersListByResourceGroupSample.js.map +1 -0
  40. package/dist-esm/samples-dev/cloudHsmClustersListBySubscriptionSample.d.ts +2 -0
  41. package/dist-esm/samples-dev/cloudHsmClustersListBySubscriptionSample.d.ts.map +1 -0
  42. package/dist-esm/samples-dev/cloudHsmClustersListBySubscriptionSample.js +53 -0
  43. package/dist-esm/samples-dev/cloudHsmClustersListBySubscriptionSample.js.map +1 -0
  44. package/dist-esm/samples-dev/cloudHsmClustersUpdateSample.d.ts +2 -0
  45. package/dist-esm/samples-dev/cloudHsmClustersUpdateSample.d.ts.map +1 -0
  46. package/dist-esm/samples-dev/cloudHsmClustersUpdateSample.js +47 -0
  47. package/dist-esm/samples-dev/cloudHsmClustersUpdateSample.js.map +1 -0
  48. package/dist-esm/samples-dev/dedicatedHsmCreateOrUpdateSample.js +23 -13
  49. package/dist-esm/samples-dev/dedicatedHsmCreateOrUpdateSample.js.map +1 -1
  50. package/dist-esm/samples-dev/dedicatedHsmDeleteSample.js +13 -5
  51. package/dist-esm/samples-dev/dedicatedHsmDeleteSample.js.map +1 -1
  52. package/dist-esm/samples-dev/dedicatedHsmGetSample.js +23 -13
  53. package/dist-esm/samples-dev/dedicatedHsmGetSample.js.map +1 -1
  54. package/dist-esm/samples-dev/dedicatedHsmListByResourceGroupSample.js +18 -9
  55. package/dist-esm/samples-dev/dedicatedHsmListByResourceGroupSample.js.map +1 -1
  56. package/dist-esm/samples-dev/dedicatedHsmListBySubscriptionSample.js +16 -7
  57. package/dist-esm/samples-dev/dedicatedHsmListBySubscriptionSample.js.map +1 -1
  58. package/dist-esm/samples-dev/dedicatedHsmListOutboundNetworkDependenciesEndpointsSample.js +13 -5
  59. package/dist-esm/samples-dev/dedicatedHsmListOutboundNetworkDependenciesEndpointsSample.js.map +1 -1
  60. package/dist-esm/samples-dev/dedicatedHsmUpdateSample.js +18 -9
  61. package/dist-esm/samples-dev/dedicatedHsmUpdateSample.js.map +1 -1
  62. package/dist-esm/samples-dev/operationsListSample.js +16 -7
  63. package/dist-esm/samples-dev/operationsListSample.js.map +1 -1
  64. package/dist-esm/samples-dev/privateEndpointConnectionsListByCloudHsmClusterSample.d.ts +2 -0
  65. package/dist-esm/samples-dev/privateEndpointConnectionsListByCloudHsmClusterSample.d.ts.map +1 -0
  66. package/dist-esm/samples-dev/privateEndpointConnectionsListByCloudHsmClusterSample.js +55 -0
  67. package/dist-esm/samples-dev/privateEndpointConnectionsListByCloudHsmClusterSample.js.map +1 -0
  68. package/dist-esm/src/azureHSMResourceProvider.d.ts +22 -0
  69. package/dist-esm/src/azureHSMResourceProvider.d.ts.map +1 -0
  70. package/dist-esm/src/{azureDedicatedHSMResourceProvider.js → azureHSMResourceProvider.js} +10 -37
  71. package/dist-esm/src/azureHSMResourceProvider.js.map +1 -0
  72. package/dist-esm/src/index.d.ts +1 -1
  73. package/dist-esm/src/index.d.ts.map +1 -1
  74. package/dist-esm/src/index.js +1 -1
  75. package/dist-esm/src/index.js.map +1 -1
  76. package/dist-esm/src/lroImpl.d.ts +6 -11
  77. package/dist-esm/src/lroImpl.d.ts.map +1 -1
  78. package/dist-esm/src/lroImpl.js +12 -20
  79. package/dist-esm/src/lroImpl.js.map +1 -1
  80. package/dist-esm/src/models/index.d.ts +538 -8
  81. package/dist-esm/src/models/index.d.ts.map +1 -1
  82. package/dist-esm/src/models/index.js +72 -0
  83. package/dist-esm/src/models/index.js.map +1 -1
  84. package/dist-esm/src/models/mappers.d.ts +28 -2
  85. package/dist-esm/src/models/mappers.d.ts.map +1 -1
  86. package/dist-esm/src/models/mappers.js +692 -7
  87. package/dist-esm/src/models/mappers.js.map +1 -1
  88. package/dist-esm/src/models/parameters.d.ts +27 -5
  89. package/dist-esm/src/models/parameters.d.ts.map +1 -1
  90. package/dist-esm/src/models/parameters.js +161 -29
  91. package/dist-esm/src/models/parameters.js.map +1 -1
  92. package/dist-esm/src/operations/cloudHsmClusterPrivateEndpointConnections.d.ts +55 -0
  93. package/dist-esm/src/operations/cloudHsmClusterPrivateEndpointConnections.d.ts.map +1 -0
  94. package/dist-esm/src/operations/cloudHsmClusterPrivateEndpointConnections.js +193 -0
  95. package/dist-esm/src/operations/cloudHsmClusterPrivateEndpointConnections.js.map +1 -0
  96. package/dist-esm/src/operations/cloudHsmClusterPrivateLinkResources.d.ts +21 -0
  97. package/dist-esm/src/operations/cloudHsmClusterPrivateLinkResources.d.ts.map +1 -0
  98. package/dist-esm/src/operations/cloudHsmClusterPrivateLinkResources.js +54 -0
  99. package/dist-esm/src/operations/cloudHsmClusterPrivateLinkResources.js.map +1 -0
  100. package/dist-esm/src/operations/cloudHsmClusters.d.ts +114 -0
  101. package/dist-esm/src/operations/cloudHsmClusters.d.ts.map +1 -0
  102. package/dist-esm/src/operations/cloudHsmClusters.js +580 -0
  103. package/dist-esm/src/operations/cloudHsmClusters.js.map +1 -0
  104. package/dist-esm/src/operations/dedicatedHsmOperations.d.ts +6 -6
  105. package/dist-esm/src/operations/dedicatedHsmOperations.d.ts.map +1 -1
  106. package/dist-esm/src/operations/dedicatedHsmOperations.js +51 -39
  107. package/dist-esm/src/operations/dedicatedHsmOperations.js.map +1 -1
  108. package/dist-esm/src/operations/index.d.ts +4 -0
  109. package/dist-esm/src/operations/index.d.ts.map +1 -1
  110. package/dist-esm/src/operations/index.js +4 -0
  111. package/dist-esm/src/operations/index.js.map +1 -1
  112. package/dist-esm/src/operations/operations.d.ts +2 -2
  113. package/dist-esm/src/operations/operations.d.ts.map +1 -1
  114. package/dist-esm/src/operations/operations.js +1 -1
  115. package/dist-esm/src/operations/operations.js.map +1 -1
  116. package/dist-esm/src/operations/privateEndpointConnections.d.ts +43 -0
  117. package/dist-esm/src/operations/privateEndpointConnections.d.ts.map +1 -0
  118. package/dist-esm/src/operations/privateEndpointConnections.js +155 -0
  119. package/dist-esm/src/operations/privateEndpointConnections.js.map +1 -0
  120. package/dist-esm/src/operationsInterfaces/cloudHsmClusterPrivateEndpointConnections.d.ts +47 -0
  121. package/dist-esm/src/operationsInterfaces/cloudHsmClusterPrivateEndpointConnections.d.ts.map +1 -0
  122. package/dist-esm/src/operationsInterfaces/cloudHsmClusterPrivateEndpointConnections.js +9 -0
  123. package/dist-esm/src/operationsInterfaces/cloudHsmClusterPrivateEndpointConnections.js.map +1 -0
  124. package/dist-esm/src/operationsInterfaces/cloudHsmClusterPrivateLinkResources.d.ts +13 -0
  125. package/dist-esm/src/operationsInterfaces/cloudHsmClusterPrivateLinkResources.d.ts.map +1 -0
  126. package/dist-esm/src/operationsInterfaces/cloudHsmClusterPrivateLinkResources.js +9 -0
  127. package/dist-esm/src/operationsInterfaces/cloudHsmClusterPrivateLinkResources.js.map +1 -0
  128. package/dist-esm/src/operationsInterfaces/cloudHsmClusters.d.ts +77 -0
  129. package/dist-esm/src/operationsInterfaces/cloudHsmClusters.d.ts.map +1 -0
  130. package/dist-esm/src/operationsInterfaces/cloudHsmClusters.js +9 -0
  131. package/dist-esm/src/operationsInterfaces/cloudHsmClusters.js.map +1 -0
  132. package/dist-esm/src/operationsInterfaces/dedicatedHsmOperations.d.ts +4 -4
  133. package/dist-esm/src/operationsInterfaces/dedicatedHsmOperations.d.ts.map +1 -1
  134. package/dist-esm/src/operationsInterfaces/index.d.ts +4 -0
  135. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -1
  136. package/dist-esm/src/operationsInterfaces/index.js +4 -0
  137. package/dist-esm/src/operationsInterfaces/index.js.map +1 -1
  138. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts +15 -0
  139. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -0
  140. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.js +9 -0
  141. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.js.map +1 -0
  142. package/dist-esm/test/hardwaresecuritymodules_operations_test.spec.d.ts +4 -0
  143. package/dist-esm/test/hardwaresecuritymodules_operations_test.spec.d.ts.map +1 -0
  144. package/dist-esm/test/hardwaresecuritymodules_operations_test.spec.js +73 -0
  145. package/dist-esm/test/hardwaresecuritymodules_operations_test.spec.js.map +1 -0
  146. package/package.json +15 -12
  147. package/review/arm-hardwaresecuritymodules.api.md +426 -19
  148. package/src/{azureDedicatedHSMResourceProvider.ts → azureHSMResourceProvider.ts} +35 -46
  149. package/src/index.ts +1 -1
  150. package/src/lroImpl.ts +31 -23
  151. package/src/models/index.ts +599 -8
  152. package/src/models/mappers.ts +751 -7
  153. package/src/models/parameters.ts +187 -30
  154. package/src/operations/cloudHsmClusterPrivateEndpointConnections.ts +263 -0
  155. package/src/operations/cloudHsmClusterPrivateLinkResources.ts +74 -0
  156. package/src/operations/cloudHsmClusters.ts +750 -0
  157. package/src/operations/dedicatedHsmOperations.ts +69 -59
  158. package/src/operations/index.ts +4 -0
  159. package/src/operations/operations.ts +4 -4
  160. package/src/operations/privateEndpointConnections.ts +208 -0
  161. package/src/operationsInterfaces/cloudHsmClusterPrivateEndpointConnections.ts +83 -0
  162. package/src/operationsInterfaces/cloudHsmClusterPrivateLinkResources.ts +28 -0
  163. package/src/operationsInterfaces/cloudHsmClusters.ts +142 -0
  164. package/src/operationsInterfaces/dedicatedHsmOperations.ts +6 -6
  165. package/src/operationsInterfaces/index.ts +4 -0
  166. package/src/operationsInterfaces/privateEndpointConnections.ts +31 -0
  167. package/types/arm-hardwaresecuritymodules.d.ts +773 -34
  168. package/dist-esm/src/azureDedicatedHSMResourceProvider.d.ts +0 -22
  169. package/dist-esm/src/azureDedicatedHSMResourceProvider.d.ts.map +0 -1
  170. package/dist-esm/src/azureDedicatedHSMResourceProvider.js.map +0 -1
  171. package/dist-esm/test/sampleTest.d.ts +0 -2
  172. package/dist-esm/test/sampleTest.d.ts.map +0 -1
  173. package/dist-esm/test/sampleTest.js +0 -38
  174. 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 { PollerLike, PollOperationState } from "@azure/core-lro";
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
- PollerLike<
72
- PollOperationState<DedicatedHsmCreateOrUpdateResponse>,
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
- PollerLike<
101
- PollOperationState<DedicatedHsmUpdateResponse>,
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<PollerLike<PollOperationState<void>, void>>;
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
+ }