@azure/arm-hardwaresecuritymodules 2.0.0-beta.1 → 2.0.0-beta.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (172) hide show
  1. package/CHANGELOG.md +146 -2
  2. package/dist/index.js +2121 -1216
  3. package/dist/index.js.map +1 -1
  4. package/dist/index.min.js +1 -1
  5. package/dist/index.min.js.map +1 -1
  6. package/dist-esm/samples-dev/cloudHsmClusterBackupStatusGetSample.d.ts +2 -0
  7. package/dist-esm/samples-dev/cloudHsmClusterBackupStatusGetSample.d.ts.map +1 -0
  8. package/dist-esm/samples-dev/cloudHsmClusterBackupStatusGetSample.js +40 -0
  9. package/dist-esm/samples-dev/cloudHsmClusterBackupStatusGetSample.js.map +1 -0
  10. package/dist-esm/samples-dev/cloudHsmClusterPrivateEndpointConnectionsCreateSample.js +4 -4
  11. package/dist-esm/samples-dev/cloudHsmClusterPrivateEndpointConnectionsCreateSample.js.map +1 -1
  12. package/dist-esm/samples-dev/cloudHsmClusterPrivateEndpointConnectionsDeleteSample.js +1 -1
  13. package/dist-esm/samples-dev/cloudHsmClusterPrivateEndpointConnectionsDeleteSample.js.map +1 -1
  14. package/dist-esm/samples-dev/cloudHsmClusterPrivateEndpointConnectionsGetSample.js +1 -1
  15. package/dist-esm/samples-dev/cloudHsmClusterPrivateLinkResourcesListByCloudHsmClusterSample.js +20 -4
  16. package/dist-esm/samples-dev/cloudHsmClusterPrivateLinkResourcesListByCloudHsmClusterSample.js.map +1 -1
  17. package/dist-esm/samples-dev/cloudHsmClusterRestoreStatusGetSample.d.ts +2 -0
  18. package/dist-esm/samples-dev/cloudHsmClusterRestoreStatusGetSample.d.ts.map +1 -0
  19. package/dist-esm/samples-dev/cloudHsmClusterRestoreStatusGetSample.js +40 -0
  20. package/dist-esm/samples-dev/cloudHsmClusterRestoreStatusGetSample.js.map +1 -0
  21. package/dist-esm/samples-dev/cloudHsmClustersBackupSample.d.ts +2 -0
  22. package/dist-esm/samples-dev/cloudHsmClustersBackupSample.d.ts.map +1 -0
  23. package/dist-esm/samples-dev/cloudHsmClustersBackupSample.js +39 -0
  24. package/dist-esm/samples-dev/cloudHsmClustersBackupSample.js.map +1 -0
  25. package/dist-esm/samples-dev/cloudHsmClustersCreateOrUpdateSample.js +6 -6
  26. package/dist-esm/samples-dev/cloudHsmClustersCreateOrUpdateSample.js.map +1 -1
  27. package/dist-esm/samples-dev/cloudHsmClustersDeleteSample.js +1 -1
  28. package/dist-esm/samples-dev/cloudHsmClustersGetSample.js +1 -1
  29. package/dist-esm/samples-dev/cloudHsmClustersListByResourceGroupSample.js +2 -2
  30. package/dist-esm/samples-dev/cloudHsmClustersListByResourceGroupSample.js.map +1 -1
  31. package/dist-esm/samples-dev/cloudHsmClustersListBySubscriptionSample.js +2 -2
  32. package/dist-esm/samples-dev/cloudHsmClustersListBySubscriptionSample.js.map +1 -1
  33. package/dist-esm/samples-dev/cloudHsmClustersRestoreSample.d.ts +2 -0
  34. package/dist-esm/samples-dev/cloudHsmClustersRestoreSample.d.ts.map +1 -0
  35. package/dist-esm/samples-dev/cloudHsmClustersRestoreSample.js +43 -0
  36. package/dist-esm/samples-dev/cloudHsmClustersRestoreSample.js.map +1 -0
  37. package/dist-esm/samples-dev/cloudHsmClustersUpdateSample.js +4 -4
  38. package/dist-esm/samples-dev/cloudHsmClustersUpdateSample.js.map +1 -1
  39. package/dist-esm/samples-dev/cloudHsmClustersValidateBackupPropertiesSample.d.ts +2 -0
  40. package/dist-esm/samples-dev/cloudHsmClustersValidateBackupPropertiesSample.d.ts.map +1 -0
  41. package/dist-esm/samples-dev/cloudHsmClustersValidateBackupPropertiesSample.js +39 -0
  42. package/dist-esm/samples-dev/cloudHsmClustersValidateBackupPropertiesSample.js.map +1 -0
  43. package/dist-esm/samples-dev/cloudHsmClustersValidateRestorePropertiesSample.d.ts +2 -0
  44. package/dist-esm/samples-dev/cloudHsmClustersValidateRestorePropertiesSample.d.ts.map +1 -0
  45. package/dist-esm/samples-dev/cloudHsmClustersValidateRestorePropertiesSample.js +46 -0
  46. package/dist-esm/samples-dev/cloudHsmClustersValidateRestorePropertiesSample.js.map +1 -0
  47. package/dist-esm/samples-dev/dedicatedHsmCreateOrUpdateSample.js +15 -15
  48. package/dist-esm/samples-dev/dedicatedHsmCreateOrUpdateSample.js.map +1 -1
  49. package/dist-esm/samples-dev/dedicatedHsmDeleteSample.js +1 -1
  50. package/dist-esm/samples-dev/dedicatedHsmGetSample.js +3 -3
  51. package/dist-esm/samples-dev/dedicatedHsmListByResourceGroupSample.js +4 -4
  52. package/dist-esm/samples-dev/dedicatedHsmListByResourceGroupSample.js.map +1 -1
  53. package/dist-esm/samples-dev/dedicatedHsmListBySubscriptionSample.js +4 -4
  54. package/dist-esm/samples-dev/dedicatedHsmListBySubscriptionSample.js.map +1 -1
  55. package/dist-esm/samples-dev/dedicatedHsmListOutboundNetworkDependenciesEndpointsSample.js +2 -2
  56. package/dist-esm/samples-dev/dedicatedHsmListOutboundNetworkDependenciesEndpointsSample.js.map +1 -1
  57. package/dist-esm/samples-dev/dedicatedHsmUpdateSample.js +3 -3
  58. package/dist-esm/samples-dev/dedicatedHsmUpdateSample.js.map +1 -1
  59. package/dist-esm/samples-dev/operationsListSample.js +8 -8
  60. package/dist-esm/samples-dev/operationsListSample.js.map +1 -1
  61. package/dist-esm/samples-dev/privateEndpointConnectionsListByCloudHsmClusterSample.js +2 -2
  62. package/dist-esm/samples-dev/privateEndpointConnectionsListByCloudHsmClusterSample.js.map +1 -1
  63. package/dist-esm/src/azureHSMResourceProvider.d.ts +7 -2
  64. package/dist-esm/src/azureHSMResourceProvider.d.ts.map +1 -1
  65. package/dist-esm/src/azureHSMResourceProvider.js +44 -10
  66. package/dist-esm/src/azureHSMResourceProvider.js.map +1 -1
  67. package/dist-esm/src/index.d.ts +0 -1
  68. package/dist-esm/src/index.d.ts.map +1 -1
  69. package/dist-esm/src/lroImpl.js +1 -1
  70. package/dist-esm/src/models/index.d.ts +543 -263
  71. package/dist-esm/src/models/index.d.ts.map +1 -1
  72. package/dist-esm/src/models/index.js +109 -49
  73. package/dist-esm/src/models/index.js.map +1 -1
  74. package/dist-esm/src/models/mappers.d.ts +28 -16
  75. package/dist-esm/src/models/mappers.d.ts.map +1 -1
  76. package/dist-esm/src/models/mappers.js +832 -637
  77. package/dist-esm/src/models/mappers.js.map +1 -1
  78. package/dist-esm/src/models/parameters.d.ts +5 -12
  79. package/dist-esm/src/models/parameters.d.ts.map +1 -1
  80. package/dist-esm/src/models/parameters.js +76 -117
  81. package/dist-esm/src/models/parameters.js.map +1 -1
  82. package/dist-esm/src/operations/cloudHsmClusterBackupStatus.d.ts +22 -0
  83. package/dist-esm/src/operations/cloudHsmClusterBackupStatus.d.ts.map +1 -0
  84. package/dist-esm/src/operations/cloudHsmClusterBackupStatus.js +61 -0
  85. package/dist-esm/src/operations/cloudHsmClusterBackupStatus.js.map +1 -0
  86. package/dist-esm/src/operations/cloudHsmClusterPrivateEndpointConnections.d.ts +7 -7
  87. package/dist-esm/src/operations/cloudHsmClusterPrivateEndpointConnections.d.ts.map +1 -1
  88. package/dist-esm/src/operations/cloudHsmClusterPrivateEndpointConnections.js +37 -29
  89. package/dist-esm/src/operations/cloudHsmClusterPrivateEndpointConnections.js.map +1 -1
  90. package/dist-esm/src/operations/cloudHsmClusterPrivateLinkResources.d.ts +23 -3
  91. package/dist-esm/src/operations/cloudHsmClusterPrivateLinkResources.d.ts.map +1 -1
  92. package/dist-esm/src/operations/cloudHsmClusterPrivateLinkResources.js +105 -6
  93. package/dist-esm/src/operations/cloudHsmClusterPrivateLinkResources.js.map +1 -1
  94. package/dist-esm/src/operations/cloudHsmClusterRestoreStatus.d.ts +22 -0
  95. package/dist-esm/src/operations/cloudHsmClusterRestoreStatus.d.ts.map +1 -0
  96. package/dist-esm/src/operations/cloudHsmClusterRestoreStatus.js +61 -0
  97. package/dist-esm/src/operations/cloudHsmClusterRestoreStatus.js.map +1 -0
  98. package/dist-esm/src/operations/cloudHsmClusters.d.ts +78 -10
  99. package/dist-esm/src/operations/cloudHsmClusters.d.ts.map +1 -1
  100. package/dist-esm/src/operations/cloudHsmClusters.js +467 -82
  101. package/dist-esm/src/operations/cloudHsmClusters.js.map +1 -1
  102. package/dist-esm/src/operations/dedicatedHsmOperations.d.ts +24 -24
  103. package/dist-esm/src/operations/dedicatedHsmOperations.d.ts.map +1 -1
  104. package/dist-esm/src/operations/dedicatedHsmOperations.js +117 -109
  105. package/dist-esm/src/operations/dedicatedHsmOperations.js.map +1 -1
  106. package/dist-esm/src/operations/index.d.ts +3 -1
  107. package/dist-esm/src/operations/index.d.ts.map +1 -1
  108. package/dist-esm/src/operations/index.js +3 -1
  109. package/dist-esm/src/operations/index.js.map +1 -1
  110. package/dist-esm/src/operations/operations.d.ts +4 -4
  111. package/dist-esm/src/operations/operations.d.ts.map +1 -1
  112. package/dist-esm/src/operations/operations.js +8 -8
  113. package/dist-esm/src/operations/operations.js.map +1 -1
  114. package/dist-esm/src/operations/privateEndpointConnections.d.ts +3 -3
  115. package/dist-esm/src/operations/privateEndpointConnections.d.ts.map +1 -1
  116. package/dist-esm/src/operations/privateEndpointConnections.js +14 -14
  117. package/dist-esm/src/operations/privateEndpointConnections.js.map +1 -1
  118. package/dist-esm/src/operationsInterfaces/cloudHsmClusterBackupStatus.d.ts +14 -0
  119. package/dist-esm/src/operationsInterfaces/cloudHsmClusterBackupStatus.d.ts.map +1 -0
  120. package/dist-esm/src/operationsInterfaces/cloudHsmClusterBackupStatus.js +9 -0
  121. package/dist-esm/src/operationsInterfaces/cloudHsmClusterBackupStatus.js.map +1 -0
  122. package/dist-esm/src/operationsInterfaces/cloudHsmClusterPrivateEndpointConnections.d.ts +7 -7
  123. package/dist-esm/src/operationsInterfaces/cloudHsmClusterPrivateEndpointConnections.d.ts.map +1 -1
  124. package/dist-esm/src/operationsInterfaces/cloudHsmClusterPrivateLinkResources.d.ts +4 -3
  125. package/dist-esm/src/operationsInterfaces/cloudHsmClusterPrivateLinkResources.d.ts.map +1 -1
  126. package/dist-esm/src/operationsInterfaces/cloudHsmClusterRestoreStatus.d.ts +14 -0
  127. package/dist-esm/src/operationsInterfaces/cloudHsmClusterRestoreStatus.d.ts.map +1 -0
  128. package/dist-esm/src/operationsInterfaces/cloudHsmClusterRestoreStatus.js +9 -0
  129. package/dist-esm/src/operationsInterfaces/cloudHsmClusterRestoreStatus.js.map +1 -0
  130. package/dist-esm/src/operationsInterfaces/cloudHsmClusters.d.ts +78 -10
  131. package/dist-esm/src/operationsInterfaces/cloudHsmClusters.d.ts.map +1 -1
  132. package/dist-esm/src/operationsInterfaces/dedicatedHsmOperations.d.ts +18 -18
  133. package/dist-esm/src/operationsInterfaces/dedicatedHsmOperations.d.ts.map +1 -1
  134. package/dist-esm/src/operationsInterfaces/index.d.ts +3 -1
  135. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -1
  136. package/dist-esm/src/operationsInterfaces/index.js +3 -1
  137. package/dist-esm/src/operationsInterfaces/index.js.map +1 -1
  138. package/dist-esm/src/operationsInterfaces/operations.d.ts +3 -3
  139. package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -1
  140. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts +1 -1
  141. package/dist-esm/src/pagingHelper.js.map +1 -1
  142. package/dist-esm/test/hardwaresecuritymodules_operations_test.spec.d.ts.map +1 -1
  143. package/dist-esm/test/hardwaresecuritymodules_operations_test.spec.js +6 -2
  144. package/dist-esm/test/hardwaresecuritymodules_operations_test.spec.js.map +1 -1
  145. package/package.json +14 -15
  146. package/review/arm-hardwaresecuritymodules.api.md +298 -93
  147. package/src/azureHSMResourceProvider.ts +67 -20
  148. package/src/lroImpl.ts +4 -4
  149. package/src/models/index.ts +633 -284
  150. package/src/models/mappers.ts +898 -675
  151. package/src/models/parameters.ts +82 -128
  152. package/src/operations/cloudHsmClusterBackupStatus.ts +82 -0
  153. package/src/operations/cloudHsmClusterPrivateEndpointConnections.ts +74 -56
  154. package/src/operations/cloudHsmClusterPrivateLinkResources.ts +145 -13
  155. package/src/operations/cloudHsmClusterRestoreStatus.ts +82 -0
  156. package/src/operations/cloudHsmClusters.ts +684 -151
  157. package/src/operations/dedicatedHsmOperations.ts +224 -215
  158. package/src/operations/index.ts +3 -1
  159. package/src/operations/operations.ts +17 -17
  160. package/src/operations/privateEndpointConnections.ts +30 -30
  161. package/src/operationsInterfaces/cloudHsmClusterBackupStatus.ts +30 -0
  162. package/src/operationsInterfaces/cloudHsmClusterPrivateEndpointConnections.ts +17 -11
  163. package/src/operationsInterfaces/cloudHsmClusterPrivateLinkResources.ts +6 -4
  164. package/src/operationsInterfaces/cloudHsmClusterRestoreStatus.ts +30 -0
  165. package/src/operationsInterfaces/cloudHsmClusters.ts +156 -19
  166. package/src/operationsInterfaces/dedicatedHsmOperations.ts +34 -28
  167. package/src/operationsInterfaces/index.ts +3 -1
  168. package/src/operationsInterfaces/operations.ts +4 -4
  169. package/src/operationsInterfaces/privateEndpointConnections.ts +3 -3
  170. package/src/pagingHelper.ts +1 -1
  171. package/types/arm-hardwaresecuritymodules.d.ts +625 -205
  172. package/types/tsdoc-metadata.json +1 -1
@@ -8,19 +8,11 @@
8
8
 
9
9
  import * as coreClient from "@azure/core-client";
10
10
 
11
- /** Security domain properties information for Cloud HSM cluster */
12
- export interface CloudHsmClusterSecurityDomainProperties {
13
- /** FIPS state information for security domain */
14
- fipsState?: number;
15
- /** status of security domain activation */
16
- activationStatus?: string;
17
- }
18
-
19
11
  /** The Cloud HSM Properties */
20
12
  export interface CloudHsmProperties {
21
13
  /** FQDN of the Cloud HSM */
22
14
  fqdn?: string;
23
- /** The Cloud HSM State */
15
+ /** The Cloud HSM State. Values are: Deploying, ConfiguringSlb, Starting, Starting, Failed, Failed, Deleting, DeletingSlbEntry, InitialProvisioning, Updating */
24
16
  state?: string;
25
17
  /** The Cloud HSM State message */
26
18
  stateMessage?: string;
@@ -85,40 +77,6 @@ export interface SystemData {
85
77
  lastModifiedAt?: Date;
86
78
  }
87
79
 
88
- /** Cloud Hsm Cluster restore information */
89
- export interface RestoreProperties {
90
- /** Directory name in Azure Storage Blob where the backup is stored */
91
- foldername?: string;
92
- /** Azure Blob storage container Uri */
93
- azureStorageResourceUri?: string;
94
- }
95
-
96
- /** Cloud Hsm Cluster backup information */
97
- export interface BackupProperties {
98
- /** Azure storage Resource Uri */
99
- azureStorageResourceUri?: string;
100
- /**
101
- * Last Date Time that Customer Enabled Backup was taken
102
- * NOTE: This property will not be serialized. It can only be populated by the server.
103
- */
104
- readonly lastBackupDateTime?: Date;
105
- /**
106
- * Status of last backup
107
- * NOTE: This property will not be serialized. It can only be populated by the server.
108
- */
109
- readonly lastBackupStatus?: string;
110
- }
111
-
112
- /** Cloud Hsm Cluster SKU information */
113
- export interface CloudHsmClusterSku {
114
- /** Sku family of the Cloud HSM Cluster */
115
- family: CloudHsmClusterSkuFamily;
116
- /** Sku name of the Cloud HSM Cluster */
117
- name: CloudHsmClusterSkuName;
118
- /** Sku capacity */
119
- capacity?: number;
120
- }
121
-
122
80
  /** Managed service identity (system assigned and/or user assigned identities) */
123
81
  export interface ManagedServiceIdentity {
124
82
  /**
@@ -153,14 +111,24 @@ export interface UserAssignedIdentity {
153
111
  readonly clientId?: string;
154
112
  }
155
113
 
156
- /** The Cloud HSM Cluster error details */
157
- export interface CloudHsmClusterError {
158
- /** Error details */
159
- error?: CHsmError;
114
+ /** Cloud Hsm Cluster SKU information */
115
+ export interface CloudHsmClusterSku {
116
+ /** Sku family of the Cloud HSM Cluster */
117
+ family: CloudHsmClusterSkuFamily;
118
+ /** Sku name of the Cloud HSM Cluster */
119
+ name: CloudHsmClusterSkuName;
120
+ /** Sku capacity */
121
+ capacity?: number;
122
+ }
123
+
124
+ /** Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.). */
125
+ export interface ErrorResponse {
126
+ /** The error object. */
127
+ error?: ErrorDetail;
160
128
  }
161
129
 
162
- /** Error details */
163
- export interface CHsmError {
130
+ /** The error detail. */
131
+ export interface ErrorDetail {
164
132
  /**
165
133
  * The error code.
166
134
  * NOTE: This property will not be serialized. It can only be populated by the server.
@@ -171,18 +139,43 @@ export interface CHsmError {
171
139
  * NOTE: This property will not be serialized. It can only be populated by the server.
172
140
  */
173
141
  readonly message?: string;
142
+ /**
143
+ * The error target.
144
+ * NOTE: This property will not be serialized. It can only be populated by the server.
145
+ */
146
+ readonly target?: string;
147
+ /**
148
+ * The error details.
149
+ * NOTE: This property will not be serialized. It can only be populated by the server.
150
+ */
151
+ readonly details?: ErrorDetail[];
152
+ /**
153
+ * The error additional info.
154
+ * NOTE: This property will not be serialized. It can only be populated by the server.
155
+ */
156
+ readonly additionalInfo?: ErrorAdditionalInfo[];
157
+ }
158
+
159
+ /** The resource management error additional info. */
160
+ export interface ErrorAdditionalInfo {
161
+ /**
162
+ * The additional info type.
163
+ * NOTE: This property will not be serialized. It can only be populated by the server.
164
+ */
165
+ readonly type?: string;
166
+ /**
167
+ * The additional info.
168
+ * NOTE: This property will not be serialized. It can only be populated by the server.
169
+ */
170
+ readonly info?: Record<string, unknown>;
174
171
  }
175
172
 
176
173
  /** Patchable properties of the Cloud HSM Cluster */
177
174
  export interface CloudHsmClusterPatchParameters {
178
175
  /** The Cloud HSM Cluster's tags */
179
176
  tags?: { [propertyName: string]: string };
180
- /** SKU details */
181
- sku?: CloudHsmClusterSku;
182
177
  /** Managed service identity (system assigned and/or user assigned identities) */
183
178
  identity?: ManagedServiceIdentity;
184
- /** Cloud Hsm Cluster backup information */
185
- backupProperties?: BackupProperties;
186
179
  }
187
180
 
188
181
  /** List of Cloud HSM Clusters */
@@ -197,6 +190,11 @@ export interface CloudHsmClusterListResult {
197
190
  export interface PrivateLinkResourceListResult {
198
191
  /** Array of private link resources */
199
192
  value?: PrivateLinkResource[];
193
+ /**
194
+ * URL to get the next set of operation list results (if there are any).
195
+ * NOTE: This property will not be serialized. It can only be populated by the server.
196
+ */
197
+ readonly nextLink?: string;
200
198
  }
201
199
 
202
200
  /** List of private endpoint connections associated with the specified resource. */
@@ -207,81 +205,78 @@ export interface PrivateEndpointConnectionListResult {
207
205
  nextLink?: string;
208
206
  }
209
207
 
210
- /** Result of the request to list Dedicated HSM Provider operations. It contains a list of operations. */
211
- export interface DedicatedHsmOperationListResult {
212
- /** List of Dedicated HSM Resource Provider operations. */
213
- value?: DedicatedHsmOperation[];
208
+ /** Backup and Restore Common properties */
209
+ export interface BackupRestoreRequestBaseProperties {
210
+ /** The Azure blob storage container Uri which contains the backup */
211
+ azureStorageBlobContainerUri: string;
212
+ /** The SAS token pointing to an Azure blob storage container. This property is reserved for Azure Backup Service. */
213
+ token?: string;
214
214
  }
215
215
 
216
- /** REST API operation */
217
- export interface DedicatedHsmOperation {
218
- /** The name of the Dedicated HSM Resource Provider Operation. */
219
- name?: string;
216
+ /** Backup operation Result */
217
+ export interface BackupResult {
220
218
  /**
221
- * Gets or sets a value indicating whether it is a data plane action
219
+ * Status of the backup/restore operation
222
220
  * NOTE: This property will not be serialized. It can only be populated by the server.
223
221
  */
224
- readonly isDataAction?: boolean;
225
- /** The origin of the operation */
226
- origin?: string;
227
- /** The display string. */
228
- display?: DedicatedHsmOperationDisplay;
229
- }
230
-
231
- /** The display string. */
232
- export interface DedicatedHsmOperationDisplay {
233
- /** The Resource Provider of the operation */
234
- provider?: string;
235
- /** Resource on which the operation is performed. */
236
- resource?: string;
237
- /** Operation type: Read, write, delete, etc. */
238
- operation?: string;
239
- /** The object that represents the operation. */
240
- description?: string;
241
- }
242
-
243
- /** The error exception. */
244
- export interface DedicatedHsmError {
222
+ readonly status?: BackupRestoreOperationStatus;
223
+ /** The status details of backup/restore operation */
224
+ statusDetails?: string;
225
+ /** Error encountered, if any, during the backup/restore operation. */
226
+ error?: ErrorDetail;
245
227
  /**
246
- * The error detail of the operation if any.
228
+ * The start time of the backup/restore operation in UTC
247
229
  * NOTE: This property will not be serialized. It can only be populated by the server.
248
230
  */
249
- readonly error?: ErrorModel;
231
+ readonly startTime?: Date;
232
+ /**
233
+ * The end time of the backup/restore operation in UTC
234
+ * NOTE: This property will not be serialized. It can only be populated by the server.
235
+ */
236
+ readonly endTime?: Date;
237
+ /** Identifier for the backup/restore operation. */
238
+ jobId?: string;
239
+ /** The Azure blob storage container Uri which contains the backup */
240
+ azureStorageBlobContainerUri?: string;
241
+ /** The ID of the backup. */
242
+ backupId?: string;
250
243
  }
251
244
 
252
- /** The key vault server error. */
253
- export interface ErrorModel {
245
+ /** Backup and Restore operation common properties */
246
+ export interface BackupRestoreBaseResultProperties {
254
247
  /**
255
- * The error code.
248
+ * Status of the backup/restore operation
256
249
  * NOTE: This property will not be serialized. It can only be populated by the server.
257
250
  */
258
- readonly code?: string;
251
+ readonly status?: BackupRestoreOperationStatus;
252
+ /** The status details of backup/restore operation */
253
+ statusDetails?: string;
254
+ /** Error encountered, if any, during the backup/restore operation. */
255
+ error?: ErrorDetail;
259
256
  /**
260
- * The error message.
257
+ * The start time of the backup/restore operation in UTC
261
258
  * NOTE: This property will not be serialized. It can only be populated by the server.
262
259
  */
263
- readonly message?: string;
260
+ readonly startTime?: Date;
264
261
  /**
265
- * Contains more specific error that narrows down the cause. May be null.
262
+ * The end time of the backup/restore operation in UTC
266
263
  * NOTE: This property will not be serialized. It can only be populated by the server.
267
264
  */
268
- readonly innerError?: ErrorModel;
265
+ readonly endTime?: Date;
266
+ /** Identifier for the backup/restore operation. */
267
+ jobId?: string;
269
268
  }
270
269
 
271
- /** Metadata pertaining to creation and last modification of dedicated hsm resource. */
272
- export interface SystemDataAutoGenerated {
273
- /** The identity that created dedicated hsm resource. */
274
- createdBy?: string;
275
- /** The type of identity that created dedicated hsm resource. */
276
- createdByType?: IdentityType;
277
- /** The timestamp of dedicated hsm resource creation (UTC). */
278
- createdAt?: Date;
279
- /** The identity that last modified dedicated hsm resource. */
280
- lastModifiedBy?: string;
281
- /** The type of identity that last modified dedicated hsm resource. */
282
- lastModifiedByType?: IdentityType;
283
- /** The timestamp of dedicated hsm resource last modification (UTC). */
284
- lastModifiedAt?: Date;
270
+ /** Restore operation properties */
271
+ export interface RestoreResult {
272
+ /** Backup and Restore operation common properties */
273
+ properties?: BackupRestoreBaseResultProperties;
274
+ }
275
+
276
+ /** SKU of the dedicated HSM */
277
+ export interface Sku {
278
+ /** SKU of the dedicated HSM */
279
+ name?: SkuName;
285
280
  }
286
281
 
287
282
  /** The network profile definition. */
@@ -294,52 +289,47 @@ export interface NetworkProfile {
294
289
 
295
290
  /** The API entity reference. */
296
291
  export interface ApiEntityReference {
297
- /** The ARM resource id in the form of /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/... */
298
- id?: string;
292
+ /** The Azure resource id in the form of /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/... */
293
+ resourceId?: string;
299
294
  }
300
295
 
301
296
  /** The network interface definition. */
302
297
  export interface NetworkInterface {
303
298
  /**
304
- * The ARM resource id in the form of /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/...
299
+ * The Azure resource id in the form of /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/...
305
300
  * NOTE: This property will not be serialized. It can only be populated by the server.
306
301
  */
307
- readonly id?: string;
302
+ readonly resourceId?: string;
308
303
  /** Private Ip address of the interface */
309
304
  privateIpAddress?: string;
310
305
  }
311
306
 
312
- /** Dedicated HSM resource */
313
- export interface DedicatedHsmResource {
307
+ /** The error exception. */
308
+ export interface DedicatedHsmError {
309
+ /**
310
+ * The error detail of the operation if any.
311
+ * NOTE: This property will not be serialized. It can only be populated by the server.
312
+ */
313
+ readonly error?: ErrorModel;
314
+ }
315
+
316
+ /** The key vault server error. */
317
+ export interface ErrorModel {
314
318
  /**
315
- * The Azure Resource Manager resource ID for the dedicated HSM.
319
+ * The error code.
316
320
  * NOTE: This property will not be serialized. It can only be populated by the server.
317
321
  */
318
- readonly id?: string;
322
+ readonly code?: string;
319
323
  /**
320
- * The name of the dedicated HSM.
324
+ * The error message.
321
325
  * NOTE: This property will not be serialized. It can only be populated by the server.
322
326
  */
323
- readonly name?: string;
327
+ readonly message?: string;
324
328
  /**
325
- * The resource type of the dedicated HSM.
329
+ * Contains more specific error that narrows down the cause. May be null.
326
330
  * NOTE: This property will not be serialized. It can only be populated by the server.
327
331
  */
328
- readonly type?: string;
329
- /** The supported Azure location where the dedicated HSM should be created. */
330
- location: string;
331
- /** SKU details */
332
- sku?: Sku;
333
- /** The Dedicated Hsm zones. */
334
- zones?: string[];
335
- /** Resource tags */
336
- tags?: { [propertyName: string]: string };
337
- }
338
-
339
- /** SKU of the dedicated HSM */
340
- export interface Sku {
341
- /** SKU of the dedicated HSM */
342
- name?: SkuName;
332
+ readonly innerError?: ErrorModel;
343
333
  }
344
334
 
345
335
  /** Patchable properties of the dedicated HSM */
@@ -395,12 +385,68 @@ export interface EndpointDetail {
395
385
  description?: string;
396
386
  }
397
387
 
398
- /** List of dedicated HSM resources. */
399
- export interface ResourceListResult {
400
- /** The list of dedicated HSM resources. */
401
- value?: DedicatedHsmResource[];
402
- /** The URL to get the next set of dedicated HSM resources. */
403
- nextLink?: string;
388
+ /** A list of REST API operations supported by an Azure Resource Provider. It contains an URL link to get the next set of results. */
389
+ export interface OperationListResult {
390
+ /**
391
+ * List of operations supported by the resource provider
392
+ * NOTE: This property will not be serialized. It can only be populated by the server.
393
+ */
394
+ readonly value?: Operation[];
395
+ /**
396
+ * URL to get the next set of operation list results (if there are any).
397
+ * NOTE: This property will not be serialized. It can only be populated by the server.
398
+ */
399
+ readonly nextLink?: string;
400
+ }
401
+
402
+ /** Details of a REST API operation, returned from the Resource Provider Operations API */
403
+ export interface Operation {
404
+ /**
405
+ * The name of the operation, as per Resource-Based Access Control (RBAC). Examples: "Microsoft.Compute/virtualMachines/write", "Microsoft.Compute/virtualMachines/capture/action"
406
+ * NOTE: This property will not be serialized. It can only be populated by the server.
407
+ */
408
+ readonly name?: string;
409
+ /**
410
+ * Whether the operation applies to data-plane. This is "true" for data-plane operations and "false" for ARM/control-plane operations.
411
+ * NOTE: This property will not be serialized. It can only be populated by the server.
412
+ */
413
+ readonly isDataAction?: boolean;
414
+ /** Localized display information for this particular operation. */
415
+ display?: OperationDisplay;
416
+ /**
417
+ * The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is "user,system"
418
+ * NOTE: This property will not be serialized. It can only be populated by the server.
419
+ */
420
+ readonly origin?: Origin;
421
+ /**
422
+ * Enum. Indicates the action type. "Internal" refers to actions that are for internal only APIs.
423
+ * NOTE: This property will not be serialized. It can only be populated by the server.
424
+ */
425
+ readonly actionType?: ActionType;
426
+ }
427
+
428
+ /** Localized display information for this particular operation. */
429
+ export interface OperationDisplay {
430
+ /**
431
+ * The localized friendly form of the resource provider name, e.g. "Microsoft Monitoring Insights" or "Microsoft Compute".
432
+ * NOTE: This property will not be serialized. It can only be populated by the server.
433
+ */
434
+ readonly provider?: string;
435
+ /**
436
+ * The localized friendly name of the resource type related to this operation. E.g. "Virtual Machines" or "Job Schedule Collections".
437
+ * NOTE: This property will not be serialized. It can only be populated by the server.
438
+ */
439
+ readonly resource?: string;
440
+ /**
441
+ * The concise, localized friendly name for the operation; suitable for dropdowns. E.g. "Create or Update Virtual Machine", "Restart Virtual Machine".
442
+ * NOTE: This property will not be serialized. It can only be populated by the server.
443
+ */
444
+ readonly operation?: string;
445
+ /**
446
+ * The short, localized friendly description of the operation; suitable for tool tips and detailed views.
447
+ * NOTE: This property will not be serialized. It can only be populated by the server.
448
+ */
449
+ readonly description?: string;
404
450
  }
405
451
 
406
452
  /** The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location */
@@ -430,29 +476,24 @@ export interface PrivateLinkResource extends Resource {
430
476
  requiredZoneNames?: string[];
431
477
  }
432
478
 
433
- /** Resource information with extended details. */
434
- export interface DedicatedHsm extends DedicatedHsmResource {
435
- /**
436
- * Metadata pertaining to creation and last modification of the resource
437
- * NOTE: This property will not be serialized. It can only be populated by the server.
438
- */
439
- readonly systemData?: SystemDataAutoGenerated;
440
- /** Specifies the network interfaces of the dedicated hsm. */
441
- networkProfile?: NetworkProfile;
442
- /** Specifies the management network interfaces of the dedicated hsm. */
443
- managementNetworkProfile?: NetworkProfile;
444
- /** This field will be used when RP does not support Availability zones. */
445
- stampId?: string;
446
- /**
447
- * Resource Status Message.
448
- * NOTE: This property will not be serialized. It can only be populated by the server.
449
- */
450
- readonly statusMessage?: string;
451
- /**
452
- * Provisioning state.
453
- * NOTE: This property will not be serialized. It can only be populated by the server.
454
- */
455
- readonly provisioningState?: JsonWebKeyType;
479
+ /** Backup properties */
480
+ export interface BackupRequestProperties
481
+ extends BackupRestoreRequestBaseProperties {}
482
+
483
+ /** Cloud Hsm Cluster restore information */
484
+ export interface RestoreRequestProperties
485
+ extends BackupRestoreRequestBaseProperties {
486
+ /** An autogenerated unique string ID for labeling the backup. It contains both a UUID and a date timestamp. */
487
+ backupId: string;
488
+ }
489
+
490
+ /** Properties of the Cloud HSM Cluster */
491
+ export interface BackupResultProperties
492
+ extends BackupRestoreBaseResultProperties {
493
+ /** The Azure blob storage container Uri which contains the backup */
494
+ azureStorageBlobContainerUri?: string;
495
+ /** The ID of the backup. */
496
+ backupId?: string;
456
497
  }
457
498
 
458
499
  /** The private endpoint connection resource. */
@@ -477,35 +518,67 @@ export interface PrivateEndpointConnection extends ProxyResource {
477
518
 
478
519
  /** Cloud HSM Cluster Resource */
479
520
  export interface CloudHsmClusterResource extends TrackedResource {
480
- /** SKU details */
481
- sku?: CloudHsmClusterSku;
482
521
  /** Managed service identity (system assigned and/or user assigned identities) */
483
522
  identity?: ManagedServiceIdentity;
523
+ /** SKU details */
524
+ sku?: CloudHsmClusterSku;
525
+ }
526
+
527
+ /** Resource information with extended details. */
528
+ export interface DedicatedHsm extends TrackedResource {
529
+ /** SKU details */
530
+ sku: Sku;
531
+ /** The Dedicated Hsm zones. */
532
+ zones?: string[];
533
+ /** Specifies the network interfaces of the dedicated hsm. */
534
+ networkProfile?: NetworkProfile;
535
+ /** Specifies the management network interfaces of the dedicated hsm. */
536
+ managementNetworkProfile?: NetworkProfile;
537
+ /** This field will be used when RP does not support Availability zones. */
538
+ stampId?: string;
539
+ /**
540
+ * Resource Status Message.
541
+ * NOTE: This property will not be serialized. It can only be populated by the server.
542
+ */
543
+ readonly statusMessage?: string;
544
+ /**
545
+ * Provisioning state.
546
+ * NOTE: This property will not be serialized. It can only be populated by the server.
547
+ */
548
+ readonly provisioningState?: JsonWebKeyType;
484
549
  }
485
550
 
486
551
  /** Resource information with extended details. */
487
552
  export interface CloudHsmCluster extends CloudHsmClusterResource {
488
- /** The Cloud HSM Cluster's provisioningState */
489
- provisioningState?: ProvisioningState;
553
+ /**
554
+ * State of security domain activation
555
+ * NOTE: This property will not be serialized. It can only be populated by the server.
556
+ */
557
+ readonly activationState?: ActivationState;
490
558
  /** The Cloud HSM Cluster's auto-generated Domain Name Label Scope */
491
- autoGeneratedDomainNameLabelScope?: string;
492
- /** Security domain properties information for Cloud HSM cluster */
493
- securityDomain?: CloudHsmClusterSecurityDomainProperties;
494
- /** An array of Cloud HSM Cluster's HSMs */
495
- hsms?: CloudHsmProperties[];
559
+ autoGeneratedDomainNameLabelScope?: AutoGeneratedDomainNameLabelScope;
560
+ /**
561
+ * An array of Cloud HSM Cluster's HSMs
562
+ * NOTE: This property will not be serialized. It can only be populated by the server.
563
+ */
564
+ readonly hsms?: CloudHsmProperties[];
565
+ /**
566
+ * List of private endpoint connection resources
567
+ * NOTE: This property will not be serialized. It can only be populated by the server.
568
+ */
569
+ readonly privateEndpointConnections?: PrivateEndpointConnection[];
570
+ /**
571
+ * The Cloud HSM Cluster's provisioningState
572
+ * NOTE: This property will not be serialized. It can only be populated by the server.
573
+ */
574
+ readonly provisioningState?: ProvisioningState;
496
575
  /** The Cloud HSM Cluster public network access */
497
- publicNetworkAccess?: string;
498
- /** List of private endpoint connection resources */
499
- privateEndpointConnections?: PrivateEndpointConnection[];
576
+ publicNetworkAccess?: PublicNetworkAccess;
500
577
  /**
501
578
  * Cloud HSM Cluster status message
502
579
  * NOTE: This property will not be serialized. It can only be populated by the server.
503
580
  */
504
581
  readonly statusMessage?: string;
505
- /** Cloud Hsm Cluster restore information */
506
- restoreProperties?: RestoreProperties;
507
- /** Cloud Hsm Cluster backup information */
508
- backupProperties?: BackupProperties;
509
582
  }
510
583
 
511
584
  /** Defines headers for CloudHsmClusters_update operation. */
@@ -520,38 +593,122 @@ export interface CloudHsmClustersDeleteHeaders {
520
593
  location?: string;
521
594
  }
522
595
 
596
+ /** Defines headers for CloudHsmClusters_validateBackupProperties operation. */
597
+ export interface CloudHsmClustersValidateBackupPropertiesHeaders {
598
+ /** A unique ID for the current operation, service generated. All the resource providers must return this value in the response headers to facilitate debugging. */
599
+ xMsRequestId?: string;
600
+ }
601
+
602
+ /** Defines headers for CloudHsmClusters_backup operation. */
603
+ export interface CloudHsmClustersBackupHeaders {
604
+ /** A unique ID for the current operation, service generated. All the resource providers must return this value in the response headers to facilitate debugging. */
605
+ xMsRequestId?: string;
606
+ }
607
+
608
+ /** Defines headers for CloudHsmClusters_validateRestoreProperties operation. */
609
+ export interface CloudHsmClustersValidateRestorePropertiesHeaders {
610
+ /** A unique ID for the current operation, service generated. All the resource providers must return this value in the response headers to facilitate debugging. */
611
+ xMsRequestId?: string;
612
+ }
613
+
614
+ /** Defines headers for CloudHsmClusters_restore operation. */
615
+ export interface CloudHsmClustersRestoreHeaders {
616
+ /** A unique ID for the current operation, service generated. All the resource providers must return this value in the response headers to facilitate debugging. */
617
+ xMsRequestId?: string;
618
+ }
619
+
523
620
  /** Defines headers for CloudHsmClusterPrivateEndpointConnections_delete operation. */
524
621
  export interface CloudHsmClusterPrivateEndpointConnectionsDeleteHeaders {
525
622
  /** The URI to poll for completion status. */
526
623
  location?: string;
527
624
  }
528
625
 
529
- /** Known values of {@link ProvisioningState} that the service accepts. */
530
- export enum KnownProvisioningState {
531
- /** Provisioning */
532
- Provisioning = "Provisioning",
533
- /** Succeeded */
534
- Succeeded = "Succeeded",
626
+ /** Defines headers for CloudHsmClusterBackupStatus_get operation. */
627
+ export interface CloudHsmClusterBackupStatusGetHeaders {
628
+ /** A unique ID for the current operation, service generated. All the resource providers must return this value in the response headers to facilitate debugging. */
629
+ xMsRequestId?: string;
630
+ }
631
+
632
+ /** Defines headers for CloudHsmClusterBackupStatus_get operation. */
633
+ export interface CloudHsmClusterBackupStatusGetExceptionHeaders {
634
+ /** A unique ID for the current operation, service generated. All the resource providers must return this value in the response headers to facilitate debugging. */
635
+ xMsRequestId?: string;
636
+ }
637
+
638
+ /** Defines headers for CloudHsmClusterRestoreStatus_get operation. */
639
+ export interface CloudHsmClusterRestoreStatusGetHeaders {
640
+ /** A unique ID for the current operation, service generated. All the resource providers must return this value in the response headers to facilitate debugging. */
641
+ xMsRequestId?: string;
642
+ }
643
+
644
+ /** Defines headers for CloudHsmClusterRestoreStatus_get operation. */
645
+ export interface CloudHsmClusterRestoreStatusGetExceptionHeaders {
646
+ /** A unique ID for the current operation, service generated. All the resource providers must return this value in the response headers to facilitate debugging. */
647
+ xMsRequestId?: string;
648
+ }
649
+
650
+ /** Defines headers for DedicatedHsm_update operation. */
651
+ export interface DedicatedHsmUpdateHeaders {
652
+ /** The URI to poll for completion status. */
653
+ location?: string;
654
+ }
655
+
656
+ /** Defines headers for DedicatedHsm_delete operation. */
657
+ export interface DedicatedHsmDeleteHeaders {
658
+ /** The URI to poll for completion status. */
659
+ location?: string;
660
+ }
661
+
662
+ /** Known values of {@link ActivationState} that the service accepts. */
663
+ export enum KnownActivationState {
664
+ /** NotDefined */
665
+ NotDefined = "NotDefined",
666
+ /** NotActivated */
667
+ NotActivated = "NotActivated",
668
+ /** Active */
669
+ Active = "Active",
535
670
  /** Failed */
536
671
  Failed = "Failed",
537
- /** Deleting */
538
- Deleting = "Deleting",
539
- /** Canceled */
540
- Canceled = "Canceled"
672
+ /** Unknown */
673
+ Unknown = "Unknown",
541
674
  }
542
675
 
543
676
  /**
544
- * Defines values for ProvisioningState. \
545
- * {@link KnownProvisioningState} can be used interchangeably with ProvisioningState,
677
+ * Defines values for ActivationState. \
678
+ * {@link KnownActivationState} can be used interchangeably with ActivationState,
546
679
  * this enum contains the known values that the service supports.
547
680
  * ### Known values supported by the service
548
- * **Provisioning** \
549
- * **Succeeded** \
681
+ * **NotDefined** \
682
+ * **NotActivated** \
683
+ * **Active** \
550
684
  * **Failed** \
551
- * **Deleting** \
552
- * **Canceled**
685
+ * **Unknown**
553
686
  */
554
- export type ProvisioningState = string;
687
+ export type ActivationState = string;
688
+
689
+ /** Known values of {@link AutoGeneratedDomainNameLabelScope} that the service accepts. */
690
+ export enum KnownAutoGeneratedDomainNameLabelScope {
691
+ /** TenantReuse */
692
+ TenantReuse = "TenantReuse",
693
+ /** SubscriptionReuse */
694
+ SubscriptionReuse = "SubscriptionReuse",
695
+ /** ResourceGroupReuse */
696
+ ResourceGroupReuse = "ResourceGroupReuse",
697
+ /** NoReuse */
698
+ NoReuse = "NoReuse",
699
+ }
700
+
701
+ /**
702
+ * Defines values for AutoGeneratedDomainNameLabelScope. \
703
+ * {@link KnownAutoGeneratedDomainNameLabelScope} can be used interchangeably with AutoGeneratedDomainNameLabelScope,
704
+ * this enum contains the known values that the service supports.
705
+ * ### Known values supported by the service
706
+ * **TenantReuse** \
707
+ * **SubscriptionReuse** \
708
+ * **ResourceGroupReuse** \
709
+ * **NoReuse**
710
+ */
711
+ export type AutoGeneratedDomainNameLabelScope = string;
555
712
 
556
713
  /** Known values of {@link PrivateEndpointServiceConnectionStatus} that the service accepts. */
557
714
  export enum KnownPrivateEndpointServiceConnectionStatus {
@@ -560,7 +717,7 @@ export enum KnownPrivateEndpointServiceConnectionStatus {
560
717
  /** Approved */
561
718
  Approved = "Approved",
562
719
  /** Rejected */
563
- Rejected = "Rejected"
720
+ Rejected = "Rejected",
564
721
  }
565
722
 
566
723
  /**
@@ -589,7 +746,7 @@ export enum KnownPrivateEndpointConnectionProvisioningState {
589
746
  /** InternalError */
590
747
  InternalError = "InternalError",
591
748
  /** Canceled */
592
- Canceled = "Canceled"
749
+ Canceled = "Canceled",
593
750
  }
594
751
 
595
752
  /**
@@ -616,7 +773,7 @@ export enum KnownCreatedByType {
616
773
  /** ManagedIdentity */
617
774
  ManagedIdentity = "ManagedIdentity",
618
775
  /** Key */
619
- Key = "Key"
776
+ Key = "Key",
620
777
  }
621
778
 
622
779
  /**
@@ -631,20 +788,47 @@ export enum KnownCreatedByType {
631
788
  */
632
789
  export type CreatedByType = string;
633
790
 
634
- /** Known values of {@link CloudHsmClusterSkuFamily} that the service accepts. */
635
- export enum KnownCloudHsmClusterSkuFamily {
636
- /** B */
637
- B = "B"
791
+ /** Known values of {@link ProvisioningState} that the service accepts. */
792
+ export enum KnownProvisioningState {
793
+ /** Provisioning */
794
+ Provisioning = "Provisioning",
795
+ /** Succeeded */
796
+ Succeeded = "Succeeded",
797
+ /** Failed */
798
+ Failed = "Failed",
799
+ /** Deleting */
800
+ Deleting = "Deleting",
801
+ /** Canceled */
802
+ Canceled = "Canceled",
638
803
  }
639
804
 
640
805
  /**
641
- * Defines values for CloudHsmClusterSkuFamily. \
642
- * {@link KnownCloudHsmClusterSkuFamily} can be used interchangeably with CloudHsmClusterSkuFamily,
806
+ * Defines values for ProvisioningState. \
807
+ * {@link KnownProvisioningState} can be used interchangeably with ProvisioningState,
643
808
  * this enum contains the known values that the service supports.
644
809
  * ### Known values supported by the service
645
- * **B**
810
+ * **Provisioning** \
811
+ * **Succeeded** \
812
+ * **Failed** \
813
+ * **Deleting** \
814
+ * **Canceled**
646
815
  */
647
- export type CloudHsmClusterSkuFamily = string;
816
+ export type ProvisioningState = string;
817
+
818
+ /** Known values of {@link PublicNetworkAccess} that the service accepts. */
819
+ export enum KnownPublicNetworkAccess {
820
+ /** Disabled */
821
+ Disabled = "Disabled",
822
+ }
823
+
824
+ /**
825
+ * Defines values for PublicNetworkAccess. \
826
+ * {@link KnownPublicNetworkAccess} can be used interchangeably with PublicNetworkAccess,
827
+ * this enum contains the known values that the service supports.
828
+ * ### Known values supported by the service
829
+ * **Disabled**
830
+ */
831
+ export type PublicNetworkAccess = string;
648
832
 
649
833
  /** Known values of {@link ManagedServiceIdentityType} that the service accepts. */
650
834
  export enum KnownManagedServiceIdentityType {
@@ -655,7 +839,7 @@ export enum KnownManagedServiceIdentityType {
655
839
  /** UserAssigned */
656
840
  UserAssigned = "UserAssigned",
657
841
  /** SystemAssignedUserAssigned */
658
- SystemAssignedUserAssigned = "SystemAssigned,UserAssigned"
842
+ SystemAssignedUserAssigned = "SystemAssigned,UserAssigned",
659
843
  }
660
844
 
661
845
  /**
@@ -670,62 +854,44 @@ export enum KnownManagedServiceIdentityType {
670
854
  */
671
855
  export type ManagedServiceIdentityType = string;
672
856
 
673
- /** Known values of {@link IdentityType} that the service accepts. */
674
- export enum KnownIdentityType {
675
- /** User */
676
- User = "User",
677
- /** Application */
678
- Application = "Application",
679
- /** ManagedIdentity */
680
- ManagedIdentity = "ManagedIdentity",
681
- /** Key */
682
- Key = "Key"
857
+ /** Known values of {@link CloudHsmClusterSkuFamily} that the service accepts. */
858
+ export enum KnownCloudHsmClusterSkuFamily {
859
+ /** B */
860
+ B = "B",
683
861
  }
684
862
 
685
863
  /**
686
- * Defines values for IdentityType. \
687
- * {@link KnownIdentityType} can be used interchangeably with IdentityType,
864
+ * Defines values for CloudHsmClusterSkuFamily. \
865
+ * {@link KnownCloudHsmClusterSkuFamily} can be used interchangeably with CloudHsmClusterSkuFamily,
688
866
  * this enum contains the known values that the service supports.
689
867
  * ### Known values supported by the service
690
- * **User** \
691
- * **Application** \
692
- * **ManagedIdentity** \
693
- * **Key**
868
+ * **B**
694
869
  */
695
- export type IdentityType = string;
870
+ export type CloudHsmClusterSkuFamily = string;
696
871
 
697
- /** Known values of {@link JsonWebKeyType} that the service accepts. */
698
- export enum KnownJsonWebKeyType {
699
- /** The dedicated HSM has been full provisioned. */
872
+ /** Known values of {@link BackupRestoreOperationStatus} that the service accepts. */
873
+ export enum KnownBackupRestoreOperationStatus {
874
+ /** InProgress */
875
+ InProgress = "InProgress",
876
+ /** Succeeded */
700
877
  Succeeded = "Succeeded",
701
- /** The dedicated HSM is currently being provisioned. */
702
- Provisioning = "Provisioning",
703
- /** A device is currently being allocated for the dedicated HSM resource. */
704
- Allocating = "Allocating",
705
- /** The dedicated HSM is being connected to the virtual network. */
706
- Connecting = "Connecting",
707
- /** Provisioning of the dedicated HSM has failed. */
878
+ /** Failed */
708
879
  Failed = "Failed",
709
- /** Validating the subscription has sufficient quota to allocate a dedicated HSM device. */
710
- CheckingQuota = "CheckingQuota",
711
- /** The dedicated HSM is currently being deleted. */
712
- Deleting = "Deleting"
880
+ /** Cancelled */
881
+ Cancelled = "Cancelled",
713
882
  }
714
883
 
715
884
  /**
716
- * Defines values for JsonWebKeyType. \
717
- * {@link KnownJsonWebKeyType} can be used interchangeably with JsonWebKeyType,
885
+ * Defines values for BackupRestoreOperationStatus. \
886
+ * {@link KnownBackupRestoreOperationStatus} can be used interchangeably with BackupRestoreOperationStatus,
718
887
  * this enum contains the known values that the service supports.
719
888
  * ### Known values supported by the service
720
- * **Succeeded**: The dedicated HSM has been full provisioned. \
721
- * **Provisioning**: The dedicated HSM is currently being provisioned. \
722
- * **Allocating**: A device is currently being allocated for the dedicated HSM resource. \
723
- * **Connecting**: The dedicated HSM is being connected to the virtual network. \
724
- * **Failed**: Provisioning of the dedicated HSM has failed. \
725
- * **CheckingQuota**: Validating the subscription has sufficient quota to allocate a dedicated HSM device. \
726
- * **Deleting**: The dedicated HSM is currently being deleted.
889
+ * **InProgress** \
890
+ * **Succeeded** \
891
+ * **Failed** \
892
+ * **Cancelled**
727
893
  */
728
- export type JsonWebKeyType = string;
894
+ export type BackupRestoreOperationStatus = string;
729
895
 
730
896
  /** Known values of {@link SkuName} that the service accepts. */
731
897
  export enum KnownSkuName {
@@ -742,7 +908,7 @@ export enum KnownSkuName {
742
908
  /** The dedicated HSM is a payShield 10K, model PS10-D, 10Gb Ethernet Hardware Platform device with 2 local master keys which supports up to 250 calls per second. */
743
909
  PayShield10KLMK2CPS250 = "payShield10K_LMK2_CPS250",
744
910
  /** The dedicated HSM is a payShield 10K, model PS10-D, 10Gb Ethernet Hardware Platform device with 2 local master keys which supports up to 2500 calls per second. */
745
- PayShield10KLMK2CPS2500 = "payShield10K_LMK2_CPS2500"
911
+ PayShield10KLMK2CPS2500 = "payShield10K_LMK2_CPS2500",
746
912
  }
747
913
 
748
914
  /**
@@ -759,6 +925,99 @@ export enum KnownSkuName {
759
925
  * **payShield10K_LMK2_CPS2500**: The dedicated HSM is a payShield 10K, model PS10-D, 10Gb Ethernet Hardware Platform device with 2 local master keys which supports up to 2500 calls per second.
760
926
  */
761
927
  export type SkuName = string;
928
+
929
+ /** Known values of {@link JsonWebKeyType} that the service accepts. */
930
+ export enum KnownJsonWebKeyType {
931
+ /** The dedicated HSM has been fully provisioned. */
932
+ Succeeded = "Succeeded",
933
+ /** The dedicated HSM is currently being provisioned. */
934
+ Provisioning = "Provisioning",
935
+ /** A device is currently being allocated for the dedicated HSM resource. */
936
+ Allocating = "Allocating",
937
+ /** The dedicated HSM is being connected to the virtual network. */
938
+ Connecting = "Connecting",
939
+ /** Provisioning of the dedicated HSM has failed. */
940
+ Failed = "Failed",
941
+ /** Validating the subscription has sufficient quota to allocate a dedicated HSM device. */
942
+ CheckingQuota = "CheckingQuota",
943
+ /** The dedicated HSM is currently being deleted. */
944
+ Deleting = "Deleting",
945
+ }
946
+
947
+ /**
948
+ * Defines values for JsonWebKeyType. \
949
+ * {@link KnownJsonWebKeyType} can be used interchangeably with JsonWebKeyType,
950
+ * this enum contains the known values that the service supports.
951
+ * ### Known values supported by the service
952
+ * **Succeeded**: The dedicated HSM has been fully provisioned. \
953
+ * **Provisioning**: The dedicated HSM is currently being provisioned. \
954
+ * **Allocating**: A device is currently being allocated for the dedicated HSM resource. \
955
+ * **Connecting**: The dedicated HSM is being connected to the virtual network. \
956
+ * **Failed**: Provisioning of the dedicated HSM has failed. \
957
+ * **CheckingQuota**: Validating the subscription has sufficient quota to allocate a dedicated HSM device. \
958
+ * **Deleting**: The dedicated HSM is currently being deleted.
959
+ */
960
+ export type JsonWebKeyType = string;
961
+
962
+ /** Known values of {@link Origin} that the service accepts. */
963
+ export enum KnownOrigin {
964
+ /** User */
965
+ User = "user",
966
+ /** System */
967
+ System = "system",
968
+ /** UserSystem */
969
+ UserSystem = "user,system",
970
+ }
971
+
972
+ /**
973
+ * Defines values for Origin. \
974
+ * {@link KnownOrigin} can be used interchangeably with Origin,
975
+ * this enum contains the known values that the service supports.
976
+ * ### Known values supported by the service
977
+ * **user** \
978
+ * **system** \
979
+ * **user,system**
980
+ */
981
+ export type Origin = string;
982
+
983
+ /** Known values of {@link ActionType} that the service accepts. */
984
+ export enum KnownActionType {
985
+ /** Internal */
986
+ Internal = "Internal",
987
+ }
988
+
989
+ /**
990
+ * Defines values for ActionType. \
991
+ * {@link KnownActionType} can be used interchangeably with ActionType,
992
+ * this enum contains the known values that the service supports.
993
+ * ### Known values supported by the service
994
+ * **Internal**
995
+ */
996
+ export type ActionType = string;
997
+
998
+ /** Known values of {@link IdentityType} that the service accepts. */
999
+ export enum KnownIdentityType {
1000
+ /** User */
1001
+ User = "User",
1002
+ /** Application */
1003
+ Application = "Application",
1004
+ /** ManagedIdentity */
1005
+ ManagedIdentity = "ManagedIdentity",
1006
+ /** Key */
1007
+ Key = "Key",
1008
+ }
1009
+
1010
+ /**
1011
+ * Defines values for IdentityType. \
1012
+ * {@link KnownIdentityType} can be used interchangeably with IdentityType,
1013
+ * this enum contains the known values that the service supports.
1014
+ * ### Known values supported by the service
1015
+ * **User** \
1016
+ * **Application** \
1017
+ * **ManagedIdentity** \
1018
+ * **Key**
1019
+ */
1020
+ export type IdentityType = string;
762
1021
  /** Defines values for CloudHsmClusterSkuName. */
763
1022
  export type CloudHsmClusterSkuName = "Standard_B1" | "Standard B10";
764
1023
 
@@ -767,26 +1026,14 @@ export interface CloudHsmClustersCreateOrUpdateOptionalParams
767
1026
  extends coreClient.OperationOptions {
768
1027
  /** Resource tags. */
769
1028
  tags?: { [propertyName: string]: string };
770
- /** SKU details */
771
- sku?: CloudHsmClusterSku;
772
1029
  /** Managed service identity (system assigned and/or user assigned identities) */
773
1030
  identity?: ManagedServiceIdentity;
774
- /** The Cloud HSM Cluster's provisioningState */
775
- provisioningState?: ProvisioningState;
1031
+ /** SKU details */
1032
+ sku?: CloudHsmClusterSku;
776
1033
  /** The Cloud HSM Cluster's auto-generated Domain Name Label Scope */
777
- autoGeneratedDomainNameLabelScope?: string;
778
- /** Security domain properties information for Cloud HSM cluster */
779
- securityDomain?: CloudHsmClusterSecurityDomainProperties;
780
- /** An array of Cloud HSM Cluster's HSMs */
781
- hsms?: CloudHsmProperties[];
1034
+ autoGeneratedDomainNameLabelScope?: AutoGeneratedDomainNameLabelScope;
782
1035
  /** The Cloud HSM Cluster public network access */
783
- publicNetworkAccess?: string;
784
- /** List of private endpoint connection resources */
785
- privateEndpointConnections?: PrivateEndpointConnection[];
786
- /** Cloud Hsm Cluster restore information */
787
- restoreProperties?: RestoreProperties;
788
- /** Cloud Hsm Cluster backup information */
789
- backupProperties?: BackupProperties;
1036
+ publicNetworkAccess?: PublicNetworkAccess;
790
1037
  /** Delay to wait until next poll, in milliseconds. */
791
1038
  updateIntervalInMs?: number;
792
1039
  /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
@@ -801,12 +1048,8 @@ export interface CloudHsmClustersUpdateOptionalParams
801
1048
  extends coreClient.OperationOptions {
802
1049
  /** The Cloud HSM Cluster's tags */
803
1050
  tags?: { [propertyName: string]: string };
804
- /** SKU details */
805
- sku?: CloudHsmClusterSku;
806
1051
  /** Managed service identity (system assigned and/or user assigned identities) */
807
1052
  identity?: ManagedServiceIdentity;
808
- /** Cloud Hsm Cluster backup information */
809
- backupProperties?: BackupProperties;
810
1053
  /** Delay to wait until next poll, in milliseconds. */
811
1054
  updateIntervalInMs?: number;
812
1055
  /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
@@ -832,6 +1075,9 @@ export interface CloudHsmClustersDeleteOptionalParams
832
1075
  resumeFrom?: string;
833
1076
  }
834
1077
 
1078
+ /** Contains response data for the delete operation. */
1079
+ export type CloudHsmClustersDeleteResponse = CloudHsmClustersDeleteHeaders;
1080
+
835
1081
  /** Optional parameters. */
836
1082
  export interface CloudHsmClustersListByResourceGroupOptionalParams
837
1083
  extends coreClient.OperationOptions {
@@ -840,7 +1086,8 @@ export interface CloudHsmClustersListByResourceGroupOptionalParams
840
1086
  }
841
1087
 
842
1088
  /** Contains response data for the listByResourceGroup operation. */
843
- export type CloudHsmClustersListByResourceGroupResponse = CloudHsmClusterListResult;
1089
+ export type CloudHsmClustersListByResourceGroupResponse =
1090
+ CloudHsmClusterListResult;
844
1091
 
845
1092
  /** Optional parameters. */
846
1093
  export interface CloudHsmClustersListBySubscriptionOptionalParams
@@ -850,35 +1097,106 @@ export interface CloudHsmClustersListBySubscriptionOptionalParams
850
1097
  }
851
1098
 
852
1099
  /** Contains response data for the listBySubscription operation. */
853
- export type CloudHsmClustersListBySubscriptionResponse = CloudHsmClusterListResult;
1100
+ export type CloudHsmClustersListBySubscriptionResponse =
1101
+ CloudHsmClusterListResult;
1102
+
1103
+ /** Optional parameters. */
1104
+ export interface CloudHsmClustersValidateBackupPropertiesOptionalParams
1105
+ extends coreClient.OperationOptions {
1106
+ /** Backup Operation Required properties */
1107
+ backupRequestProperties?: BackupRequestProperties;
1108
+ /** Delay to wait until next poll, in milliseconds. */
1109
+ updateIntervalInMs?: number;
1110
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1111
+ resumeFrom?: string;
1112
+ }
1113
+
1114
+ /** Contains response data for the validateBackupProperties operation. */
1115
+ export type CloudHsmClustersValidateBackupPropertiesResponse =
1116
+ CloudHsmClustersValidateBackupPropertiesHeaders & BackupResult;
1117
+
1118
+ /** Optional parameters. */
1119
+ export interface CloudHsmClustersBackupOptionalParams
1120
+ extends coreClient.OperationOptions {
1121
+ /** Azure storage Resource Uri */
1122
+ backupRequestProperties?: BackupRequestProperties;
1123
+ /** Delay to wait until next poll, in milliseconds. */
1124
+ updateIntervalInMs?: number;
1125
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1126
+ resumeFrom?: string;
1127
+ }
1128
+
1129
+ /** Contains response data for the backup operation. */
1130
+ export type CloudHsmClustersBackupResponse = CloudHsmClustersBackupHeaders &
1131
+ BackupResult;
1132
+
1133
+ /** Optional parameters. */
1134
+ export interface CloudHsmClustersValidateRestorePropertiesOptionalParams
1135
+ extends coreClient.OperationOptions {
1136
+ /** Optional Parameters to validate prior performing a restore operation. */
1137
+ restoreRequestProperties?: RestoreRequestProperties;
1138
+ /** Delay to wait until next poll, in milliseconds. */
1139
+ updateIntervalInMs?: number;
1140
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1141
+ resumeFrom?: string;
1142
+ }
1143
+
1144
+ /** Contains response data for the validateRestoreProperties operation. */
1145
+ export type CloudHsmClustersValidateRestorePropertiesResponse =
1146
+ CloudHsmClustersValidateRestorePropertiesHeaders & RestoreResult;
1147
+
1148
+ /** Optional parameters. */
1149
+ export interface CloudHsmClustersRestoreOptionalParams
1150
+ extends coreClient.OperationOptions {
1151
+ /** Delay to wait until next poll, in milliseconds. */
1152
+ updateIntervalInMs?: number;
1153
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1154
+ resumeFrom?: string;
1155
+ }
1156
+
1157
+ /** Contains response data for the restore operation. */
1158
+ export type CloudHsmClustersRestoreResponse = CloudHsmClustersRestoreHeaders &
1159
+ RestoreResult;
854
1160
 
855
1161
  /** Optional parameters. */
856
1162
  export interface CloudHsmClustersListByResourceGroupNextOptionalParams
857
1163
  extends coreClient.OperationOptions {}
858
1164
 
859
1165
  /** Contains response data for the listByResourceGroupNext operation. */
860
- export type CloudHsmClustersListByResourceGroupNextResponse = CloudHsmClusterListResult;
1166
+ export type CloudHsmClustersListByResourceGroupNextResponse =
1167
+ CloudHsmClusterListResult;
861
1168
 
862
1169
  /** Optional parameters. */
863
1170
  export interface CloudHsmClustersListBySubscriptionNextOptionalParams
864
1171
  extends coreClient.OperationOptions {}
865
1172
 
866
1173
  /** Contains response data for the listBySubscriptionNext operation. */
867
- export type CloudHsmClustersListBySubscriptionNextResponse = CloudHsmClusterListResult;
1174
+ export type CloudHsmClustersListBySubscriptionNextResponse =
1175
+ CloudHsmClusterListResult;
868
1176
 
869
1177
  /** Optional parameters. */
870
1178
  export interface CloudHsmClusterPrivateLinkResourcesListByCloudHsmClusterOptionalParams
871
1179
  extends coreClient.OperationOptions {}
872
1180
 
873
1181
  /** Contains response data for the listByCloudHsmCluster operation. */
874
- export type CloudHsmClusterPrivateLinkResourcesListByCloudHsmClusterResponse = PrivateLinkResourceListResult;
1182
+ export type CloudHsmClusterPrivateLinkResourcesListByCloudHsmClusterResponse =
1183
+ PrivateLinkResourceListResult;
1184
+
1185
+ /** Optional parameters. */
1186
+ export interface CloudHsmClusterPrivateLinkResourcesListByCloudHsmClusterNextOptionalParams
1187
+ extends coreClient.OperationOptions {}
1188
+
1189
+ /** Contains response data for the listByCloudHsmClusterNext operation. */
1190
+ export type CloudHsmClusterPrivateLinkResourcesListByCloudHsmClusterNextResponse =
1191
+ PrivateLinkResourceListResult;
875
1192
 
876
1193
  /** Optional parameters. */
877
1194
  export interface CloudHsmClusterPrivateEndpointConnectionsCreateOptionalParams
878
1195
  extends coreClient.OperationOptions {}
879
1196
 
880
1197
  /** Contains response data for the create operation. */
881
- export type CloudHsmClusterPrivateEndpointConnectionsCreateResponse = PrivateEndpointConnection;
1198
+ export type CloudHsmClusterPrivateEndpointConnectionsCreateResponse =
1199
+ PrivateEndpointConnection;
882
1200
 
883
1201
  /** Optional parameters. */
884
1202
  export interface CloudHsmClusterPrivateEndpointConnectionsDeleteOptionalParams
@@ -889,33 +1207,49 @@ export interface CloudHsmClusterPrivateEndpointConnectionsDeleteOptionalParams
889
1207
  resumeFrom?: string;
890
1208
  }
891
1209
 
1210
+ /** Contains response data for the delete operation. */
1211
+ export type CloudHsmClusterPrivateEndpointConnectionsDeleteResponse =
1212
+ CloudHsmClusterPrivateEndpointConnectionsDeleteHeaders;
1213
+
892
1214
  /** Optional parameters. */
893
1215
  export interface CloudHsmClusterPrivateEndpointConnectionsGetOptionalParams
894
1216
  extends coreClient.OperationOptions {}
895
1217
 
896
1218
  /** Contains response data for the get operation. */
897
- export type CloudHsmClusterPrivateEndpointConnectionsGetResponse = PrivateEndpointConnection;
1219
+ export type CloudHsmClusterPrivateEndpointConnectionsGetResponse =
1220
+ PrivateEndpointConnection;
898
1221
 
899
1222
  /** Optional parameters. */
900
1223
  export interface PrivateEndpointConnectionsListByCloudHsmClusterOptionalParams
901
1224
  extends coreClient.OperationOptions {}
902
1225
 
903
1226
  /** Contains response data for the listByCloudHsmCluster operation. */
904
- export type PrivateEndpointConnectionsListByCloudHsmClusterResponse = PrivateEndpointConnectionListResult;
1227
+ export type PrivateEndpointConnectionsListByCloudHsmClusterResponse =
1228
+ PrivateEndpointConnectionListResult;
905
1229
 
906
1230
  /** Optional parameters. */
907
1231
  export interface PrivateEndpointConnectionsListByCloudHsmClusterNextOptionalParams
908
1232
  extends coreClient.OperationOptions {}
909
1233
 
910
1234
  /** Contains response data for the listByCloudHsmClusterNext operation. */
911
- export type PrivateEndpointConnectionsListByCloudHsmClusterNextResponse = PrivateEndpointConnectionListResult;
1235
+ export type PrivateEndpointConnectionsListByCloudHsmClusterNextResponse =
1236
+ PrivateEndpointConnectionListResult;
912
1237
 
913
1238
  /** Optional parameters. */
914
- export interface OperationsListOptionalParams
1239
+ export interface CloudHsmClusterBackupStatusGetOptionalParams
915
1240
  extends coreClient.OperationOptions {}
916
1241
 
917
- /** Contains response data for the list operation. */
918
- export type OperationsListResponse = DedicatedHsmOperationListResult;
1242
+ /** Contains response data for the get operation. */
1243
+ export type CloudHsmClusterBackupStatusGetResponse =
1244
+ CloudHsmClusterBackupStatusGetHeaders & BackupResult;
1245
+
1246
+ /** Optional parameters. */
1247
+ export interface CloudHsmClusterRestoreStatusGetOptionalParams
1248
+ extends coreClient.OperationOptions {}
1249
+
1250
+ /** Contains response data for the get operation. */
1251
+ export type CloudHsmClusterRestoreStatusGetResponse =
1252
+ CloudHsmClusterRestoreStatusGetHeaders & RestoreResult;
919
1253
 
920
1254
  /** Optional parameters. */
921
1255
  export interface DedicatedHsmCreateOrUpdateOptionalParams
@@ -952,6 +1286,9 @@ export interface DedicatedHsmDeleteOptionalParams
952
1286
  resumeFrom?: string;
953
1287
  }
954
1288
 
1289
+ /** Contains response data for the delete operation. */
1290
+ export type DedicatedHsmDeleteResponse = DedicatedHsmDeleteHeaders;
1291
+
955
1292
  /** Optional parameters. */
956
1293
  export interface DedicatedHsmGetOptionalParams
957
1294
  extends coreClient.OperationOptions {}
@@ -984,14 +1321,16 @@ export interface DedicatedHsmListOutboundNetworkDependenciesEndpointsOptionalPar
984
1321
  extends coreClient.OperationOptions {}
985
1322
 
986
1323
  /** Contains response data for the listOutboundNetworkDependenciesEndpoints operation. */
987
- export type DedicatedHsmListOutboundNetworkDependenciesEndpointsResponse = OutboundEnvironmentEndpointCollection;
1324
+ export type DedicatedHsmListOutboundNetworkDependenciesEndpointsResponse =
1325
+ OutboundEnvironmentEndpointCollection;
988
1326
 
989
1327
  /** Optional parameters. */
990
1328
  export interface DedicatedHsmListByResourceGroupNextOptionalParams
991
1329
  extends coreClient.OperationOptions {}
992
1330
 
993
1331
  /** Contains response data for the listByResourceGroupNext operation. */
994
- export type DedicatedHsmListByResourceGroupNextResponse = DedicatedHsmListResult;
1332
+ export type DedicatedHsmListByResourceGroupNextResponse =
1333
+ DedicatedHsmListResult;
995
1334
 
996
1335
  /** Optional parameters. */
997
1336
  export interface DedicatedHsmListBySubscriptionNextOptionalParams
@@ -1005,13 +1344,23 @@ export interface DedicatedHsmListOutboundNetworkDependenciesEndpointsNextOptiona
1005
1344
  extends coreClient.OperationOptions {}
1006
1345
 
1007
1346
  /** Contains response data for the listOutboundNetworkDependenciesEndpointsNext operation. */
1008
- export type DedicatedHsmListOutboundNetworkDependenciesEndpointsNextResponse = OutboundEnvironmentEndpointCollection;
1347
+ export type DedicatedHsmListOutboundNetworkDependenciesEndpointsNextResponse =
1348
+ OutboundEnvironmentEndpointCollection;
1349
+
1350
+ /** Optional parameters. */
1351
+ export interface OperationsListOptionalParams
1352
+ extends coreClient.OperationOptions {}
1353
+
1354
+ /** Contains response data for the list operation. */
1355
+ export type OperationsListResponse = OperationListResult;
1009
1356
 
1010
1357
  /** Optional parameters. */
1011
1358
  export interface AzureHSMResourceProviderOptionalParams
1012
1359
  extends coreClient.ServiceClientOptions {
1013
1360
  /** server parameter */
1014
1361
  $host?: string;
1362
+ /** Api Version */
1363
+ apiVersion?: string;
1015
1364
  /** Overrides client endpoint. */
1016
1365
  endpoint?: string;
1017
1366
  }