@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.
Files changed (175) 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/types/tsdoc-metadata.json +1 -1
  169. package/dist-esm/src/azureDedicatedHSMResourceProvider.d.ts +0 -22
  170. package/dist-esm/src/azureDedicatedHSMResourceProvider.d.ts.map +0 -1
  171. package/dist-esm/src/azureDedicatedHSMResourceProvider.js.map +0 -1
  172. package/dist-esm/test/sampleTest.d.ts +0 -2
  173. package/dist-esm/test/sampleTest.d.ts.map +0 -1
  174. package/dist-esm/test/sampleTest.js +0 -38
  175. package/dist-esm/test/sampleTest.js.map +0 -1
@@ -1,8 +1,8 @@
1
1
  import * as coreAuth from '@azure/core-auth';
2
2
  import * as coreClient from '@azure/core-client';
3
+ import { OperationState } from '@azure/core-lro';
3
4
  import { PagedAsyncIterableIterator } from '@azure/core-paging';
4
- import { PollerLike } from '@azure/core-lro';
5
- import { PollOperationState } from '@azure/core-lro';
5
+ import { SimplePollerLike } from '@azure/core-lro';
6
6
 
7
7
  /** The API entity reference. */
8
8
  export declare interface ApiEntityReference {
@@ -10,41 +10,463 @@ export declare interface ApiEntityReference {
10
10
  id?: string;
11
11
  }
12
12
 
13
- export declare class AzureDedicatedHSMResourceProvider extends coreClient.ServiceClient {
13
+ export declare class AzureHSMResourceProvider extends coreClient.ServiceClient {
14
14
  $host: string;
15
- apiVersion: string;
16
15
  subscriptionId: string;
17
16
  /**
18
- * Initializes a new instance of the AzureDedicatedHSMResourceProvider class.
17
+ * Initializes a new instance of the AzureHSMResourceProvider class.
19
18
  * @param credentials Subscription credentials which uniquely identify client subscription.
20
- * @param subscriptionId Subscription credentials which uniquely identify Microsoft Azure subscription.
21
- * The subscription ID forms part of the URI for every service call.
19
+ * @param subscriptionId The ID of the target subscription. The value must be an UUID.
22
20
  * @param options The parameter options
23
21
  */
24
- constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: AzureDedicatedHSMResourceProviderOptionalParams);
25
- /** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
26
- private addCustomApiVersionPolicy;
22
+ constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: AzureHSMResourceProviderOptionalParams);
23
+ cloudHsmClusters: CloudHsmClusters;
24
+ cloudHsmClusterPrivateLinkResources: CloudHsmClusterPrivateLinkResources;
25
+ cloudHsmClusterPrivateEndpointConnections: CloudHsmClusterPrivateEndpointConnections;
26
+ privateEndpointConnections: PrivateEndpointConnections;
27
27
  operations: Operations;
28
28
  dedicatedHsmOperations: DedicatedHsmOperations;
29
29
  }
30
30
 
31
31
  /** Optional parameters. */
32
- export declare interface AzureDedicatedHSMResourceProviderOptionalParams extends coreClient.ServiceClientOptions {
32
+ export declare interface AzureHSMResourceProviderOptionalParams extends coreClient.ServiceClientOptions {
33
33
  /** server parameter */
34
34
  $host?: string;
35
- /** Api Version */
36
- apiVersion?: string;
37
35
  /** Overrides client endpoint. */
38
36
  endpoint?: string;
39
37
  }
40
38
 
39
+ /** Cloud Hsm Cluster backup information */
40
+ export declare interface BackupProperties {
41
+ /** Azure storage Resource Uri */
42
+ azureStorageResourceUri?: string;
43
+ /**
44
+ * Last Date Time that Customer Enabled Backup was taken
45
+ * NOTE: This property will not be serialized. It can only be populated by the server.
46
+ */
47
+ readonly lastBackupDateTime?: Date;
48
+ /**
49
+ * Status of last backup
50
+ * NOTE: This property will not be serialized. It can only be populated by the server.
51
+ */
52
+ readonly lastBackupStatus?: string;
53
+ }
54
+
55
+ /** Error details */
56
+ export declare interface CHsmError {
57
+ /**
58
+ * The error code.
59
+ * NOTE: This property will not be serialized. It can only be populated by the server.
60
+ */
61
+ readonly code?: string;
62
+ /**
63
+ * The error message.
64
+ * NOTE: This property will not be serialized. It can only be populated by the server.
65
+ */
66
+ readonly message?: string;
67
+ }
68
+
69
+ /** Resource information with extended details. */
70
+ export declare interface CloudHsmCluster extends CloudHsmClusterResource {
71
+ /** The Cloud HSM Cluster's provisioningState */
72
+ provisioningState?: ProvisioningState;
73
+ /** The Cloud HSM Cluster's auto-generated Domain Name Label Scope */
74
+ autoGeneratedDomainNameLabelScope?: string;
75
+ /** Security domain properties information for Cloud HSM cluster */
76
+ securityDomain?: CloudHsmClusterSecurityDomainProperties;
77
+ /** An array of Cloud HSM Cluster's HSMs */
78
+ hsms?: CloudHsmProperties[];
79
+ /** The Cloud HSM Cluster public network access */
80
+ publicNetworkAccess?: string;
81
+ /** List of private endpoint connection resources */
82
+ privateEndpointConnections?: PrivateEndpointConnection[];
83
+ /**
84
+ * Cloud HSM Cluster status message
85
+ * NOTE: This property will not be serialized. It can only be populated by the server.
86
+ */
87
+ readonly statusMessage?: string;
88
+ /** Cloud Hsm Cluster restore information */
89
+ restoreProperties?: RestoreProperties;
90
+ /** Cloud Hsm Cluster backup information */
91
+ backupProperties?: BackupProperties;
92
+ }
93
+
94
+ /** The Cloud HSM Cluster error details */
95
+ export declare interface CloudHsmClusterError {
96
+ /** Error details */
97
+ error?: CHsmError;
98
+ }
99
+
100
+ /** List of Cloud HSM Clusters */
101
+ export declare interface CloudHsmClusterListResult {
102
+ /** The list of Cloud HSM Clusters. */
103
+ value?: CloudHsmCluster[];
104
+ /** The URL to get the next set of Cloud HSM Clusters. */
105
+ nextLink?: string;
106
+ }
107
+
108
+ /** Patchable properties of the Cloud HSM Cluster */
109
+ export declare interface CloudHsmClusterPatchParameters {
110
+ /** The Cloud HSM Cluster's tags */
111
+ tags?: {
112
+ [propertyName: string]: string;
113
+ };
114
+ /** SKU details */
115
+ sku?: CloudHsmClusterSku;
116
+ /** Managed service identity (system assigned and/or user assigned identities) */
117
+ identity?: ManagedServiceIdentity;
118
+ /** Cloud Hsm Cluster backup information */
119
+ backupProperties?: BackupProperties;
120
+ }
121
+
122
+ /** Interface representing a CloudHsmClusterPrivateEndpointConnections. */
123
+ export declare interface CloudHsmClusterPrivateEndpointConnections {
124
+ /**
125
+ * Creates or updates the private endpoint connection for the Cloud Hsm Cluster.
126
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
127
+ * @param cloudHsmClusterName The name of the Cloud HSM Cluster within the specified resource group.
128
+ * Cloud HSM Cluster names must be between 3 and 24 characters in length.
129
+ * @param peConnectionName Name of the private endpoint connection associated with the Cloud HSM
130
+ * Cluster.
131
+ * @param properties Parameters of the PrivateEndpointConnection
132
+ * @param options The options parameters.
133
+ */
134
+ create(resourceGroupName: string, cloudHsmClusterName: string, peConnectionName: string, properties: PrivateEndpointConnection, options?: CloudHsmClusterPrivateEndpointConnectionsCreateOptionalParams): Promise<CloudHsmClusterPrivateEndpointConnectionsCreateResponse>;
135
+ /**
136
+ * Deletes the private endpoint connection for the Cloud Hsm Cluster.
137
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
138
+ * @param cloudHsmClusterName The name of the Cloud HSM Cluster within the specified resource group.
139
+ * Cloud HSM Cluster names must be between 3 and 24 characters in length.
140
+ * @param peConnectionName Name of the private endpoint connection associated with the Cloud HSM
141
+ * Cluster.
142
+ * @param options The options parameters.
143
+ */
144
+ beginDelete(resourceGroupName: string, cloudHsmClusterName: string, peConnectionName: string, options?: CloudHsmClusterPrivateEndpointConnectionsDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
145
+ /**
146
+ * Deletes the private endpoint connection for the Cloud Hsm Cluster.
147
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
148
+ * @param cloudHsmClusterName The name of the Cloud HSM Cluster within the specified resource group.
149
+ * Cloud HSM Cluster names must be between 3 and 24 characters in length.
150
+ * @param peConnectionName Name of the private endpoint connection associated with the Cloud HSM
151
+ * Cluster.
152
+ * @param options The options parameters.
153
+ */
154
+ beginDeleteAndWait(resourceGroupName: string, cloudHsmClusterName: string, peConnectionName: string, options?: CloudHsmClusterPrivateEndpointConnectionsDeleteOptionalParams): Promise<void>;
155
+ /**
156
+ * Gets the private endpoint connection for the Cloud Hsm Cluster.
157
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
158
+ * @param cloudHsmClusterName The name of the Cloud HSM Cluster within the specified resource group.
159
+ * Cloud HSM Cluster names must be between 3 and 24 characters in length.
160
+ * @param peConnectionName Name of the private endpoint connection associated with the Cloud HSM
161
+ * Cluster.
162
+ * @param options The options parameters.
163
+ */
164
+ get(resourceGroupName: string, cloudHsmClusterName: string, peConnectionName: string, options?: CloudHsmClusterPrivateEndpointConnectionsGetOptionalParams): Promise<CloudHsmClusterPrivateEndpointConnectionsGetResponse>;
165
+ }
166
+
167
+ /** Optional parameters. */
168
+ export declare interface CloudHsmClusterPrivateEndpointConnectionsCreateOptionalParams extends coreClient.OperationOptions {
169
+ }
170
+
171
+ /** Contains response data for the create operation. */
172
+ export declare type CloudHsmClusterPrivateEndpointConnectionsCreateResponse = PrivateEndpointConnection;
173
+
174
+ /** Defines headers for CloudHsmClusterPrivateEndpointConnections_delete operation. */
175
+ export declare interface CloudHsmClusterPrivateEndpointConnectionsDeleteHeaders {
176
+ /** The URI to poll for completion status. */
177
+ location?: string;
178
+ }
179
+
180
+ /** Optional parameters. */
181
+ export declare interface CloudHsmClusterPrivateEndpointConnectionsDeleteOptionalParams extends coreClient.OperationOptions {
182
+ /** Delay to wait until next poll, in milliseconds. */
183
+ updateIntervalInMs?: number;
184
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
185
+ resumeFrom?: string;
186
+ }
187
+
188
+ /** Optional parameters. */
189
+ export declare interface CloudHsmClusterPrivateEndpointConnectionsGetOptionalParams extends coreClient.OperationOptions {
190
+ }
191
+
192
+ /** Contains response data for the get operation. */
193
+ export declare type CloudHsmClusterPrivateEndpointConnectionsGetResponse = PrivateEndpointConnection;
194
+
195
+ /** Interface representing a CloudHsmClusterPrivateLinkResources. */
196
+ export declare interface CloudHsmClusterPrivateLinkResources {
197
+ /**
198
+ * Gets the private link resources supported for the Cloud Hsm Cluster.
199
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
200
+ * @param cloudHsmClusterName The name of the Cloud HSM Cluster within the specified resource group.
201
+ * Cloud HSM Cluster names must be between 3 and 24 characters in length.
202
+ * @param options The options parameters.
203
+ */
204
+ listByCloudHsmCluster(resourceGroupName: string, cloudHsmClusterName: string, options?: CloudHsmClusterPrivateLinkResourcesListByCloudHsmClusterOptionalParams): Promise<CloudHsmClusterPrivateLinkResourcesListByCloudHsmClusterResponse>;
205
+ }
206
+
207
+ /** Optional parameters. */
208
+ export declare interface CloudHsmClusterPrivateLinkResourcesListByCloudHsmClusterOptionalParams extends coreClient.OperationOptions {
209
+ }
210
+
211
+ /** Contains response data for the listByCloudHsmCluster operation. */
212
+ export declare type CloudHsmClusterPrivateLinkResourcesListByCloudHsmClusterResponse = PrivateLinkResourceListResult;
213
+
214
+ /** Cloud HSM Cluster Resource */
215
+ export declare interface CloudHsmClusterResource extends TrackedResource {
216
+ /** SKU details */
217
+ sku?: CloudHsmClusterSku;
218
+ /** Managed service identity (system assigned and/or user assigned identities) */
219
+ identity?: ManagedServiceIdentity;
220
+ }
221
+
222
+ /** Interface representing a CloudHsmClusters. */
223
+ export declare interface CloudHsmClusters {
224
+ /**
225
+ * The List operation gets information about the Cloud HSM Clusters associated with the subscription
226
+ * and within the specified resource group.
227
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
228
+ * @param options The options parameters.
229
+ */
230
+ listByResourceGroup(resourceGroupName: string, options?: CloudHsmClustersListByResourceGroupOptionalParams): PagedAsyncIterableIterator<CloudHsmCluster>;
231
+ /**
232
+ * The List operation gets information about the Cloud HSM Clusters associated with the subscription.
233
+ * @param options The options parameters.
234
+ */
235
+ listBySubscription(options?: CloudHsmClustersListBySubscriptionOptionalParams): PagedAsyncIterableIterator<CloudHsmCluster>;
236
+ /**
237
+ * Create or Update a Cloud HSM Cluster in the specified subscription.
238
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
239
+ * @param cloudHsmClusterName The name of the Cloud HSM Cluster within the specified resource group.
240
+ * Cloud HSM Cluster names must be between 3 and 24 characters in length.
241
+ * @param location The geo-location where the resource lives
242
+ * @param options The options parameters.
243
+ */
244
+ beginCreateOrUpdate(resourceGroupName: string, cloudHsmClusterName: string, location: string, options?: CloudHsmClustersCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<CloudHsmClustersCreateOrUpdateResponse>, CloudHsmClustersCreateOrUpdateResponse>>;
245
+ /**
246
+ * Create or Update a Cloud HSM Cluster in the specified subscription.
247
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
248
+ * @param cloudHsmClusterName The name of the Cloud HSM Cluster within the specified resource group.
249
+ * Cloud HSM Cluster names must be between 3 and 24 characters in length.
250
+ * @param location The geo-location where the resource lives
251
+ * @param options The options parameters.
252
+ */
253
+ beginCreateOrUpdateAndWait(resourceGroupName: string, cloudHsmClusterName: string, location: string, options?: CloudHsmClustersCreateOrUpdateOptionalParams): Promise<CloudHsmClustersCreateOrUpdateResponse>;
254
+ /**
255
+ * Update a Cloud HSM Cluster in the specified subscription.
256
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
257
+ * @param cloudHsmClusterName The name of the Cloud HSM Cluster within the specified resource group.
258
+ * Cloud HSM Cluster names must be between 3 and 24 characters in length.
259
+ * @param options The options parameters.
260
+ */
261
+ beginUpdate(resourceGroupName: string, cloudHsmClusterName: string, options?: CloudHsmClustersUpdateOptionalParams): Promise<SimplePollerLike<OperationState<CloudHsmClustersUpdateResponse>, CloudHsmClustersUpdateResponse>>;
262
+ /**
263
+ * Update a Cloud HSM Cluster in the specified subscription.
264
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
265
+ * @param cloudHsmClusterName The name of the Cloud HSM Cluster within the specified resource group.
266
+ * Cloud HSM Cluster names must be between 3 and 24 characters in length.
267
+ * @param options The options parameters.
268
+ */
269
+ beginUpdateAndWait(resourceGroupName: string, cloudHsmClusterName: string, options?: CloudHsmClustersUpdateOptionalParams): Promise<CloudHsmClustersUpdateResponse>;
270
+ /**
271
+ * Gets the specified Cloud HSM Cluster
272
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
273
+ * @param cloudHsmClusterName The name of the Cloud HSM Cluster within the specified resource group.
274
+ * Cloud HSM Cluster names must be between 3 and 24 characters in length.
275
+ * @param options The options parameters.
276
+ */
277
+ get(resourceGroupName: string, cloudHsmClusterName: string, options?: CloudHsmClustersGetOptionalParams): Promise<CloudHsmClustersGetResponse>;
278
+ /**
279
+ * Deletes the specified Cloud HSM Cluster
280
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
281
+ * @param cloudHsmClusterName The name of the Cloud HSM Cluster within the specified resource group.
282
+ * Cloud HSM Cluster names must be between 3 and 24 characters in length.
283
+ * @param options The options parameters.
284
+ */
285
+ beginDelete(resourceGroupName: string, cloudHsmClusterName: string, options?: CloudHsmClustersDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
286
+ /**
287
+ * Deletes the specified Cloud HSM Cluster
288
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
289
+ * @param cloudHsmClusterName The name of the Cloud HSM Cluster within the specified resource group.
290
+ * Cloud HSM Cluster names must be between 3 and 24 characters in length.
291
+ * @param options The options parameters.
292
+ */
293
+ beginDeleteAndWait(resourceGroupName: string, cloudHsmClusterName: string, options?: CloudHsmClustersDeleteOptionalParams): Promise<void>;
294
+ }
295
+
296
+ /** Optional parameters. */
297
+ export declare interface CloudHsmClustersCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
298
+ /** Resource tags. */
299
+ tags?: {
300
+ [propertyName: string]: string;
301
+ };
302
+ /** SKU details */
303
+ sku?: CloudHsmClusterSku;
304
+ /** Managed service identity (system assigned and/or user assigned identities) */
305
+ identity?: ManagedServiceIdentity;
306
+ /** The Cloud HSM Cluster's provisioningState */
307
+ provisioningState?: ProvisioningState;
308
+ /** The Cloud HSM Cluster's auto-generated Domain Name Label Scope */
309
+ autoGeneratedDomainNameLabelScope?: string;
310
+ /** Security domain properties information for Cloud HSM cluster */
311
+ securityDomain?: CloudHsmClusterSecurityDomainProperties;
312
+ /** An array of Cloud HSM Cluster's HSMs */
313
+ hsms?: CloudHsmProperties[];
314
+ /** The Cloud HSM Cluster public network access */
315
+ publicNetworkAccess?: string;
316
+ /** List of private endpoint connection resources */
317
+ privateEndpointConnections?: PrivateEndpointConnection[];
318
+ /** Cloud Hsm Cluster restore information */
319
+ restoreProperties?: RestoreProperties;
320
+ /** Cloud Hsm Cluster backup information */
321
+ backupProperties?: BackupProperties;
322
+ /** Delay to wait until next poll, in milliseconds. */
323
+ updateIntervalInMs?: number;
324
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
325
+ resumeFrom?: string;
326
+ }
327
+
328
+ /** Contains response data for the createOrUpdate operation. */
329
+ export declare type CloudHsmClustersCreateOrUpdateResponse = CloudHsmCluster;
330
+
331
+ /** Defines headers for CloudHsmClusters_delete operation. */
332
+ export declare interface CloudHsmClustersDeleteHeaders {
333
+ /** The URI to poll for completion status. */
334
+ location?: string;
335
+ }
336
+
337
+ /** Optional parameters. */
338
+ export declare interface CloudHsmClustersDeleteOptionalParams extends coreClient.OperationOptions {
339
+ /** Delay to wait until next poll, in milliseconds. */
340
+ updateIntervalInMs?: number;
341
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
342
+ resumeFrom?: string;
343
+ }
344
+
345
+ /** Security domain properties information for Cloud HSM cluster */
346
+ export declare interface CloudHsmClusterSecurityDomainProperties {
347
+ /** FIPS state information for security domain */
348
+ fipsState?: number;
349
+ /** status of security domain activation */
350
+ activationStatus?: string;
351
+ }
352
+
353
+ /** Optional parameters. */
354
+ export declare interface CloudHsmClustersGetOptionalParams extends coreClient.OperationOptions {
355
+ }
356
+
357
+ /** Contains response data for the get operation. */
358
+ export declare type CloudHsmClustersGetResponse = CloudHsmCluster;
359
+
360
+ /** Cloud Hsm Cluster SKU information */
361
+ export declare interface CloudHsmClusterSku {
362
+ /** Sku family of the Cloud HSM Cluster */
363
+ family: CloudHsmClusterSkuFamily;
364
+ /** Sku name of the Cloud HSM Cluster */
365
+ name: CloudHsmClusterSkuName;
366
+ /** Sku capacity */
367
+ capacity?: number;
368
+ }
369
+
370
+ /**
371
+ * Defines values for CloudHsmClusterSkuFamily. \
372
+ * {@link KnownCloudHsmClusterSkuFamily} can be used interchangeably with CloudHsmClusterSkuFamily,
373
+ * this enum contains the known values that the service supports.
374
+ * ### Known values supported by the service
375
+ * **B**
376
+ */
377
+ export declare type CloudHsmClusterSkuFamily = string;
378
+
379
+ /** Defines values for CloudHsmClusterSkuName. */
380
+ export declare type CloudHsmClusterSkuName = "Standard_B1" | "Standard B10";
381
+
382
+ /** Optional parameters. */
383
+ export declare interface CloudHsmClustersListByResourceGroupNextOptionalParams extends coreClient.OperationOptions {
384
+ }
385
+
386
+ /** Contains response data for the listByResourceGroupNext operation. */
387
+ export declare type CloudHsmClustersListByResourceGroupNextResponse = CloudHsmClusterListResult;
388
+
389
+ /** Optional parameters. */
390
+ export declare interface CloudHsmClustersListByResourceGroupOptionalParams extends coreClient.OperationOptions {
391
+ /** The page-continuation token to use with a paged version of this API */
392
+ skiptoken?: string;
393
+ }
394
+
395
+ /** Contains response data for the listByResourceGroup operation. */
396
+ export declare type CloudHsmClustersListByResourceGroupResponse = CloudHsmClusterListResult;
397
+
398
+ /** Optional parameters. */
399
+ export declare interface CloudHsmClustersListBySubscriptionNextOptionalParams extends coreClient.OperationOptions {
400
+ }
401
+
402
+ /** Contains response data for the listBySubscriptionNext operation. */
403
+ export declare type CloudHsmClustersListBySubscriptionNextResponse = CloudHsmClusterListResult;
404
+
405
+ /** Optional parameters. */
406
+ export declare interface CloudHsmClustersListBySubscriptionOptionalParams extends coreClient.OperationOptions {
407
+ /** The page-continuation token to use with a paged version of this API */
408
+ skiptoken?: string;
409
+ }
410
+
411
+ /** Contains response data for the listBySubscription operation. */
412
+ export declare type CloudHsmClustersListBySubscriptionResponse = CloudHsmClusterListResult;
413
+
414
+ /** Defines headers for CloudHsmClusters_update operation. */
415
+ export declare interface CloudHsmClustersUpdateHeaders {
416
+ /** The URI to poll for completion status. */
417
+ location?: string;
418
+ }
419
+
420
+ /** Optional parameters. */
421
+ export declare interface CloudHsmClustersUpdateOptionalParams extends coreClient.OperationOptions {
422
+ /** The Cloud HSM Cluster's tags */
423
+ tags?: {
424
+ [propertyName: string]: string;
425
+ };
426
+ /** SKU details */
427
+ sku?: CloudHsmClusterSku;
428
+ /** Managed service identity (system assigned and/or user assigned identities) */
429
+ identity?: ManagedServiceIdentity;
430
+ /** Cloud Hsm Cluster backup information */
431
+ backupProperties?: BackupProperties;
432
+ /** Delay to wait until next poll, in milliseconds. */
433
+ updateIntervalInMs?: number;
434
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
435
+ resumeFrom?: string;
436
+ }
437
+
438
+ /** Contains response data for the update operation. */
439
+ export declare type CloudHsmClustersUpdateResponse = CloudHsmCluster;
440
+
441
+ /** The Cloud HSM Properties */
442
+ export declare interface CloudHsmProperties {
443
+ /** FQDN of the Cloud HSM */
444
+ fqdn?: string;
445
+ /** The Cloud HSM State */
446
+ state?: string;
447
+ /** The Cloud HSM State message */
448
+ stateMessage?: string;
449
+ }
450
+
451
+ /**
452
+ * Defines values for CreatedByType. \
453
+ * {@link KnownCreatedByType} can be used interchangeably with CreatedByType,
454
+ * this enum contains the known values that the service supports.
455
+ * ### Known values supported by the service
456
+ * **User** \
457
+ * **Application** \
458
+ * **ManagedIdentity** \
459
+ * **Key**
460
+ */
461
+ export declare type CreatedByType = string;
462
+
41
463
  /** Resource information with extended details. */
42
- export declare interface DedicatedHsm extends Resource {
464
+ export declare interface DedicatedHsm extends DedicatedHsmResource {
43
465
  /**
44
466
  * Metadata pertaining to creation and last modification of the resource
45
467
  * NOTE: This property will not be serialized. It can only be populated by the server.
46
468
  */
47
- readonly systemData?: SystemData;
469
+ readonly systemData?: SystemDataAutoGenerated;
48
470
  /** Specifies the network interfaces of the dedicated hsm. */
49
471
  networkProfile?: NetworkProfile;
50
472
  /** Specifies the management network interfaces of the dedicated hsm. */
@@ -161,6 +583,8 @@ export declare interface DedicatedHsmOperation {
161
583
  * NOTE: This property will not be serialized. It can only be populated by the server.
162
584
  */
163
585
  readonly isDataAction?: boolean;
586
+ /** The origin of the operation */
587
+ origin?: string;
164
588
  /** The display string. */
165
589
  display?: DedicatedHsmOperationDisplay;
166
590
  }
@@ -212,7 +636,7 @@ export declare interface DedicatedHsmOperations {
212
636
  * @param parameters Parameters to create or update the dedicated hsm
213
637
  * @param options The options parameters.
214
638
  */
215
- beginCreateOrUpdate(resourceGroupName: string, name: string, parameters: DedicatedHsm, options?: DedicatedHsmCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<DedicatedHsmCreateOrUpdateResponse>, DedicatedHsmCreateOrUpdateResponse>>;
639
+ beginCreateOrUpdate(resourceGroupName: string, name: string, parameters: DedicatedHsm, options?: DedicatedHsmCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<DedicatedHsmCreateOrUpdateResponse>, DedicatedHsmCreateOrUpdateResponse>>;
216
640
  /**
217
641
  * Create or Update a dedicated HSM in the specified subscription.
218
642
  * @param resourceGroupName The name of the Resource Group to which the resource belongs.
@@ -227,7 +651,7 @@ export declare interface DedicatedHsmOperations {
227
651
  * @param name Name of the dedicated HSM
228
652
  * @param options The options parameters.
229
653
  */
230
- beginUpdate(resourceGroupName: string, name: string, options?: DedicatedHsmUpdateOptionalParams): Promise<PollerLike<PollOperationState<DedicatedHsmUpdateResponse>, DedicatedHsmUpdateResponse>>;
654
+ beginUpdate(resourceGroupName: string, name: string, options?: DedicatedHsmUpdateOptionalParams): Promise<SimplePollerLike<OperationState<DedicatedHsmUpdateResponse>, DedicatedHsmUpdateResponse>>;
231
655
  /**
232
656
  * Update a dedicated HSM in the specified subscription.
233
657
  * @param resourceGroupName The name of the Resource Group to which the server belongs.
@@ -241,7 +665,7 @@ export declare interface DedicatedHsmOperations {
241
665
  * @param name The name of the dedicated HSM to delete
242
666
  * @param options The options parameters.
243
667
  */
244
- beginDelete(resourceGroupName: string, name: string, options?: DedicatedHsmDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
668
+ beginDelete(resourceGroupName: string, name: string, options?: DedicatedHsmDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
245
669
  /**
246
670
  * Deletes the specified Azure Dedicated HSM.
247
671
  * @param resourceGroupName The name of the Resource Group to which the dedicated HSM belongs.
@@ -266,6 +690,35 @@ export declare interface DedicatedHsmPatchParameters {
266
690
  };
267
691
  }
268
692
 
693
+ /** Dedicated HSM resource */
694
+ export declare interface DedicatedHsmResource {
695
+ /**
696
+ * The Azure Resource Manager resource ID for the dedicated HSM.
697
+ * NOTE: This property will not be serialized. It can only be populated by the server.
698
+ */
699
+ readonly id?: string;
700
+ /**
701
+ * The name of the dedicated HSM.
702
+ * NOTE: This property will not be serialized. It can only be populated by the server.
703
+ */
704
+ readonly name?: string;
705
+ /**
706
+ * The resource type of the dedicated HSM.
707
+ * NOTE: This property will not be serialized. It can only be populated by the server.
708
+ */
709
+ readonly type?: string;
710
+ /** The supported Azure location where the dedicated HSM should be created. */
711
+ location: string;
712
+ /** SKU details */
713
+ sku?: Sku;
714
+ /** The Dedicated Hsm zones. */
715
+ zones?: string[];
716
+ /** Resource tags */
717
+ tags?: {
718
+ [propertyName: string]: string;
719
+ };
720
+ }
721
+
269
722
  /** Optional parameters. */
270
723
  export declare interface DedicatedHsmUpdateOptionalParams extends coreClient.OperationOptions {
271
724
  /** Resource tags */
@@ -356,6 +809,24 @@ export declare type IdentityType = string;
356
809
  */
357
810
  export declare type JsonWebKeyType = string;
358
811
 
812
+ /** Known values of {@link CloudHsmClusterSkuFamily} that the service accepts. */
813
+ export declare enum KnownCloudHsmClusterSkuFamily {
814
+ /** B */
815
+ B = "B"
816
+ }
817
+
818
+ /** Known values of {@link CreatedByType} that the service accepts. */
819
+ export declare enum KnownCreatedByType {
820
+ /** User */
821
+ User = "User",
822
+ /** Application */
823
+ Application = "Application",
824
+ /** ManagedIdentity */
825
+ ManagedIdentity = "ManagedIdentity",
826
+ /** Key */
827
+ Key = "Key"
828
+ }
829
+
359
830
  /** Known values of {@link IdentityType} that the service accepts. */
360
831
  export declare enum KnownIdentityType {
361
832
  /** User */
@@ -386,6 +857,60 @@ export declare enum KnownJsonWebKeyType {
386
857
  Deleting = "Deleting"
387
858
  }
388
859
 
860
+ /** Known values of {@link ManagedServiceIdentityType} that the service accepts. */
861
+ export declare enum KnownManagedServiceIdentityType {
862
+ /** None */
863
+ None = "None",
864
+ /** SystemAssigned */
865
+ SystemAssigned = "SystemAssigned",
866
+ /** UserAssigned */
867
+ UserAssigned = "UserAssigned",
868
+ /** SystemAssignedUserAssigned */
869
+ SystemAssignedUserAssigned = "SystemAssigned,UserAssigned"
870
+ }
871
+
872
+ /** Known values of {@link PrivateEndpointConnectionProvisioningState} that the service accepts. */
873
+ export declare enum KnownPrivateEndpointConnectionProvisioningState {
874
+ /** Succeeded */
875
+ Succeeded = "Succeeded",
876
+ /** Creating */
877
+ Creating = "Creating",
878
+ /** Deleting */
879
+ Deleting = "Deleting",
880
+ /** Failed */
881
+ Failed = "Failed",
882
+ /** Updating */
883
+ Updating = "Updating",
884
+ /** InternalError */
885
+ InternalError = "InternalError",
886
+ /** Canceled */
887
+ Canceled = "Canceled"
888
+ }
889
+
890
+ /** Known values of {@link PrivateEndpointServiceConnectionStatus} that the service accepts. */
891
+ export declare enum KnownPrivateEndpointServiceConnectionStatus {
892
+ /** Pending */
893
+ Pending = "Pending",
894
+ /** Approved */
895
+ Approved = "Approved",
896
+ /** Rejected */
897
+ Rejected = "Rejected"
898
+ }
899
+
900
+ /** Known values of {@link ProvisioningState} that the service accepts. */
901
+ export declare enum KnownProvisioningState {
902
+ /** Provisioning */
903
+ Provisioning = "Provisioning",
904
+ /** Succeeded */
905
+ Succeeded = "Succeeded",
906
+ /** Failed */
907
+ Failed = "Failed",
908
+ /** Deleting */
909
+ Deleting = "Deleting",
910
+ /** Canceled */
911
+ Canceled = "Canceled"
912
+ }
913
+
389
914
  /** Known values of {@link SkuName} that the service accepts. */
390
915
  export declare enum KnownSkuName {
391
916
  /** The dedicated HSM is a Safenet Luna Network HSM A790 device. */
@@ -404,6 +929,38 @@ export declare enum KnownSkuName {
404
929
  PayShield10KLMK2CPS2500 = "payShield10K_LMK2_CPS2500"
405
930
  }
406
931
 
932
+ /** Managed service identity (system assigned and/or user assigned identities) */
933
+ export declare interface ManagedServiceIdentity {
934
+ /**
935
+ * The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.
936
+ * NOTE: This property will not be serialized. It can only be populated by the server.
937
+ */
938
+ readonly principalId?: string;
939
+ /**
940
+ * The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.
941
+ * NOTE: This property will not be serialized. It can only be populated by the server.
942
+ */
943
+ readonly tenantId?: string;
944
+ /** Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed). */
945
+ type: ManagedServiceIdentityType;
946
+ /** The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests. */
947
+ userAssignedIdentities?: {
948
+ [propertyName: string]: UserAssignedIdentity | null;
949
+ };
950
+ }
951
+
952
+ /**
953
+ * Defines values for ManagedServiceIdentityType. \
954
+ * {@link KnownManagedServiceIdentityType} can be used interchangeably with ManagedServiceIdentityType,
955
+ * this enum contains the known values that the service supports.
956
+ * ### Known values supported by the service
957
+ * **None** \
958
+ * **SystemAssigned** \
959
+ * **UserAssigned** \
960
+ * **SystemAssigned,UserAssigned**
961
+ */
962
+ export declare type ManagedServiceIdentityType = string;
963
+
407
964
  /** The network interface definition. */
408
965
  export declare interface NetworkInterface {
409
966
  /**
@@ -458,43 +1015,185 @@ export declare interface OutboundEnvironmentEndpointCollection {
458
1015
  readonly nextLink?: string;
459
1016
  }
460
1017
 
461
- /** Dedicated HSM resource */
1018
+ /** The private endpoint resource. */
1019
+ export declare interface PrivateEndpoint {
1020
+ /**
1021
+ * The ARM identifier for private endpoint.
1022
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1023
+ */
1024
+ readonly id?: string;
1025
+ }
1026
+
1027
+ /** The private endpoint connection resource. */
1028
+ export declare interface PrivateEndpointConnection extends ProxyResource {
1029
+ /** Modified whenever there is a change in the state of private endpoint connection. */
1030
+ etag?: string;
1031
+ /** The private endpoint resource. */
1032
+ privateEndpoint?: PrivateEndpoint;
1033
+ /** A collection of information about the state of the connection between service consumer and provider. */
1034
+ privateLinkServiceConnectionState?: PrivateLinkServiceConnectionState;
1035
+ /**
1036
+ * The provisioning state of the private endpoint connection resource.
1037
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1038
+ */
1039
+ readonly provisioningState?: PrivateEndpointConnectionProvisioningState;
1040
+ /**
1041
+ * The group ids for the private endpoint resource.
1042
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1043
+ */
1044
+ readonly groupIds?: string[];
1045
+ }
1046
+
1047
+ /** List of private endpoint connections associated with the specified resource. */
1048
+ export declare interface PrivateEndpointConnectionListResult {
1049
+ /** Array of private endpoint connections. */
1050
+ value?: PrivateEndpointConnection[];
1051
+ /** The URL to get the next set of private endpoint connections. */
1052
+ nextLink?: string;
1053
+ }
1054
+
1055
+ /**
1056
+ * Defines values for PrivateEndpointConnectionProvisioningState. \
1057
+ * {@link KnownPrivateEndpointConnectionProvisioningState} can be used interchangeably with PrivateEndpointConnectionProvisioningState,
1058
+ * this enum contains the known values that the service supports.
1059
+ * ### Known values supported by the service
1060
+ * **Succeeded** \
1061
+ * **Creating** \
1062
+ * **Deleting** \
1063
+ * **Failed** \
1064
+ * **Updating** \
1065
+ * **InternalError** \
1066
+ * **Canceled**
1067
+ */
1068
+ export declare type PrivateEndpointConnectionProvisioningState = string;
1069
+
1070
+ /** Interface representing a PrivateEndpointConnections. */
1071
+ export declare interface PrivateEndpointConnections {
1072
+ /**
1073
+ * The List operation gets information about the private endpoint connections associated with the Cloud
1074
+ * HSM Cluster
1075
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
1076
+ * @param cloudHsmClusterName The name of the Cloud HSM Cluster within the specified resource group.
1077
+ * Cloud HSM Cluster names must be between 3 and 24 characters in length.
1078
+ * @param options The options parameters.
1079
+ */
1080
+ listByCloudHsmCluster(resourceGroupName: string, cloudHsmClusterName: string, options?: PrivateEndpointConnectionsListByCloudHsmClusterOptionalParams): PagedAsyncIterableIterator<PrivateEndpointConnection>;
1081
+ }
1082
+
1083
+ /** Optional parameters. */
1084
+ export declare interface PrivateEndpointConnectionsListByCloudHsmClusterNextOptionalParams extends coreClient.OperationOptions {
1085
+ }
1086
+
1087
+ /** Contains response data for the listByCloudHsmClusterNext operation. */
1088
+ export declare type PrivateEndpointConnectionsListByCloudHsmClusterNextResponse = PrivateEndpointConnectionListResult;
1089
+
1090
+ /** Optional parameters. */
1091
+ export declare interface PrivateEndpointConnectionsListByCloudHsmClusterOptionalParams extends coreClient.OperationOptions {
1092
+ }
1093
+
1094
+ /** Contains response data for the listByCloudHsmCluster operation. */
1095
+ export declare type PrivateEndpointConnectionsListByCloudHsmClusterResponse = PrivateEndpointConnectionListResult;
1096
+
1097
+ /**
1098
+ * Defines values for PrivateEndpointServiceConnectionStatus. \
1099
+ * {@link KnownPrivateEndpointServiceConnectionStatus} can be used interchangeably with PrivateEndpointServiceConnectionStatus,
1100
+ * this enum contains the known values that the service supports.
1101
+ * ### Known values supported by the service
1102
+ * **Pending** \
1103
+ * **Approved** \
1104
+ * **Rejected**
1105
+ */
1106
+ export declare type PrivateEndpointServiceConnectionStatus = string;
1107
+
1108
+ /** A private link resource. */
1109
+ export declare interface PrivateLinkResource extends Resource {
1110
+ /**
1111
+ * The private link resource group id.
1112
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1113
+ */
1114
+ readonly groupId?: string;
1115
+ /**
1116
+ * The private link resource required member names.
1117
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1118
+ */
1119
+ readonly requiredMembers?: string[];
1120
+ /** The private link resource private link DNS zone name. */
1121
+ requiredZoneNames?: string[];
1122
+ }
1123
+
1124
+ /** A list of private link resources. */
1125
+ export declare interface PrivateLinkResourceListResult {
1126
+ /** Array of private link resources */
1127
+ value?: PrivateLinkResource[];
1128
+ }
1129
+
1130
+ /** A collection of information about the state of the connection between service consumer and provider. */
1131
+ export declare interface PrivateLinkServiceConnectionState {
1132
+ /** Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service. */
1133
+ status?: PrivateEndpointServiceConnectionStatus;
1134
+ /** The reason for approval/rejection of the connection. */
1135
+ description?: string;
1136
+ /** A message indicating if changes on the service provider require any updates on the consumer. */
1137
+ actionsRequired?: string;
1138
+ }
1139
+
1140
+ /**
1141
+ * Defines values for ProvisioningState. \
1142
+ * {@link KnownProvisioningState} can be used interchangeably with ProvisioningState,
1143
+ * this enum contains the known values that the service supports.
1144
+ * ### Known values supported by the service
1145
+ * **Provisioning** \
1146
+ * **Succeeded** \
1147
+ * **Failed** \
1148
+ * **Deleting** \
1149
+ * **Canceled**
1150
+ */
1151
+ export declare type ProvisioningState = string;
1152
+
1153
+ /** The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location */
1154
+ export declare interface ProxyResource extends Resource {
1155
+ }
1156
+
1157
+ /** Common fields that are returned in the response for all Azure Resource Manager resources */
462
1158
  export declare interface Resource {
463
1159
  /**
464
- * The Azure Resource Manager resource ID for the dedicated HSM.
1160
+ * Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
465
1161
  * NOTE: This property will not be serialized. It can only be populated by the server.
466
1162
  */
467
1163
  readonly id?: string;
468
1164
  /**
469
- * The name of the dedicated HSM.
1165
+ * The name of the resource
470
1166
  * NOTE: This property will not be serialized. It can only be populated by the server.
471
1167
  */
472
1168
  readonly name?: string;
473
1169
  /**
474
- * The resource type of the dedicated HSM.
1170
+ * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
475
1171
  * NOTE: This property will not be serialized. It can only be populated by the server.
476
1172
  */
477
1173
  readonly type?: string;
478
- /** The supported Azure location where the dedicated HSM should be created. */
479
- location: string;
480
- /** SKU details */
481
- sku?: Sku;
482
- /** The Dedicated Hsm zones. */
483
- zones?: string[];
484
- /** Resource tags */
485
- tags?: {
486
- [propertyName: string]: string;
487
- };
1174
+ /**
1175
+ * Azure Resource Manager metadata containing createdBy and modifiedBy information.
1176
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1177
+ */
1178
+ readonly systemData?: SystemData;
488
1179
  }
489
1180
 
490
1181
  /** List of dedicated HSM resources. */
491
1182
  export declare interface ResourceListResult {
492
1183
  /** The list of dedicated HSM resources. */
493
- value?: Resource[];
1184
+ value?: DedicatedHsmResource[];
494
1185
  /** The URL to get the next set of dedicated HSM resources. */
495
1186
  nextLink?: string;
496
1187
  }
497
1188
 
1189
+ /** Cloud Hsm Cluster restore information */
1190
+ export declare interface RestoreProperties {
1191
+ /** Directory name in Azure Storage Blob where the backup is stored */
1192
+ foldername?: string;
1193
+ /** Azure Blob storage container Uri */
1194
+ azureStorageResourceUri?: string;
1195
+ }
1196
+
498
1197
  /** SKU of the dedicated HSM */
499
1198
  export declare interface Sku {
500
1199
  /** SKU of the dedicated HSM */
@@ -516,8 +1215,24 @@ export declare interface Sku {
516
1215
  */
517
1216
  export declare type SkuName = string;
518
1217
 
519
- /** Metadata pertaining to creation and last modification of dedicated hsm resource. */
1218
+ /** Metadata pertaining to creation and last modification of the resource. */
520
1219
  export declare interface SystemData {
1220
+ /** The identity that created the resource. */
1221
+ createdBy?: string;
1222
+ /** The type of identity that created the resource. */
1223
+ createdByType?: CreatedByType;
1224
+ /** The timestamp of resource creation (UTC). */
1225
+ createdAt?: Date;
1226
+ /** The identity that last modified the resource. */
1227
+ lastModifiedBy?: string;
1228
+ /** The type of identity that last modified the resource. */
1229
+ lastModifiedByType?: CreatedByType;
1230
+ /** The timestamp of resource last modification (UTC) */
1231
+ lastModifiedAt?: Date;
1232
+ }
1233
+
1234
+ /** Metadata pertaining to creation and last modification of dedicated hsm resource. */
1235
+ export declare interface SystemDataAutoGenerated {
521
1236
  /** The identity that created dedicated hsm resource. */
522
1237
  createdBy?: string;
523
1238
  /** The type of identity that created dedicated hsm resource. */
@@ -532,4 +1247,28 @@ export declare interface SystemData {
532
1247
  lastModifiedAt?: Date;
533
1248
  }
534
1249
 
1250
+ /** The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location' */
1251
+ export declare interface TrackedResource extends Resource {
1252
+ /** Resource tags. */
1253
+ tags?: {
1254
+ [propertyName: string]: string;
1255
+ };
1256
+ /** The geo-location where the resource lives */
1257
+ location: string;
1258
+ }
1259
+
1260
+ /** User assigned identity properties */
1261
+ export declare interface UserAssignedIdentity {
1262
+ /**
1263
+ * The principal ID of the assigned identity.
1264
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1265
+ */
1266
+ readonly principalId?: string;
1267
+ /**
1268
+ * The client ID of the assigned identity.
1269
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1270
+ */
1271
+ readonly clientId?: string;
1272
+ }
1273
+
535
1274
  export { }