@azure/arm-keyvault 2.1.0-beta.2 → 3.0.0-alpha.20230424.3

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 (235) hide show
  1. package/CHANGELOG.md +62 -1
  2. package/LICENSE +1 -1
  3. package/README.md +1 -1
  4. package/dist/index.js +2998 -1638
  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/keysCreateIfNotExistSample.js +12 -4
  9. package/dist-esm/samples-dev/keysCreateIfNotExistSample.js.map +1 -1
  10. package/dist-esm/samples-dev/keysGetSample.js +12 -4
  11. package/dist-esm/samples-dev/keysGetSample.js.map +1 -1
  12. package/dist-esm/samples-dev/keysGetVersionSample.js +12 -4
  13. package/dist-esm/samples-dev/keysGetVersionSample.js.map +1 -1
  14. package/dist-esm/samples-dev/keysListSample.js +24 -9
  15. package/dist-esm/samples-dev/keysListSample.js.map +1 -1
  16. package/dist-esm/samples-dev/keysListVersionsSample.js +24 -9
  17. package/dist-esm/samples-dev/keysListVersionsSample.js.map +1 -1
  18. package/dist-esm/samples-dev/managedHsmKeysCreateIfNotExistSample.d.ts +2 -0
  19. package/dist-esm/samples-dev/managedHsmKeysCreateIfNotExistSample.d.ts.map +1 -0
  20. package/dist-esm/samples-dev/managedHsmKeysCreateIfNotExistSample.js +43 -0
  21. package/dist-esm/samples-dev/managedHsmKeysCreateIfNotExistSample.js.map +1 -0
  22. package/dist-esm/samples-dev/managedHsmKeysGetSample.d.ts +2 -0
  23. package/dist-esm/samples-dev/managedHsmKeysGetSample.d.ts.map +1 -0
  24. package/dist-esm/samples-dev/managedHsmKeysGetSample.js +40 -0
  25. package/dist-esm/samples-dev/managedHsmKeysGetSample.js.map +1 -0
  26. package/dist-esm/samples-dev/managedHsmKeysGetVersionSample.d.ts +2 -0
  27. package/dist-esm/samples-dev/managedHsmKeysGetVersionSample.d.ts.map +1 -0
  28. package/dist-esm/samples-dev/managedHsmKeysGetVersionSample.js +41 -0
  29. package/dist-esm/samples-dev/managedHsmKeysGetVersionSample.js.map +1 -0
  30. package/dist-esm/samples-dev/managedHsmKeysListSample.d.ts +2 -0
  31. package/dist-esm/samples-dev/managedHsmKeysListSample.d.ts.map +1 -0
  32. package/dist-esm/samples-dev/managedHsmKeysListSample.js +60 -0
  33. package/dist-esm/samples-dev/managedHsmKeysListSample.js.map +1 -0
  34. package/dist-esm/samples-dev/managedHsmKeysListVersionsSample.d.ts +2 -0
  35. package/dist-esm/samples-dev/managedHsmKeysListVersionsSample.d.ts.map +1 -0
  36. package/dist-esm/samples-dev/managedHsmKeysListVersionsSample.js +61 -0
  37. package/dist-esm/samples-dev/managedHsmKeysListVersionsSample.js.map +1 -0
  38. package/dist-esm/samples-dev/managedHsmsCheckMhsmNameAvailabilitySample.d.ts +2 -0
  39. package/dist-esm/samples-dev/managedHsmsCheckMhsmNameAvailabilitySample.d.ts.map +1 -0
  40. package/dist-esm/samples-dev/managedHsmsCheckMhsmNameAvailabilitySample.js +38 -0
  41. package/dist-esm/samples-dev/managedHsmsCheckMhsmNameAvailabilitySample.js.map +1 -0
  42. package/dist-esm/samples-dev/managedHsmsCreateOrUpdateSample.js +13 -5
  43. package/dist-esm/samples-dev/managedHsmsCreateOrUpdateSample.js.map +1 -1
  44. package/dist-esm/samples-dev/managedHsmsDeleteSample.js +12 -4
  45. package/dist-esm/samples-dev/managedHsmsDeleteSample.js.map +1 -1
  46. package/dist-esm/samples-dev/managedHsmsGetDeletedSample.js +11 -3
  47. package/dist-esm/samples-dev/managedHsmsGetDeletedSample.js.map +1 -1
  48. package/dist-esm/samples-dev/managedHsmsGetSample.js +12 -4
  49. package/dist-esm/samples-dev/managedHsmsGetSample.js.map +1 -1
  50. package/dist-esm/samples-dev/managedHsmsListByResourceGroupSample.js +24 -9
  51. package/dist-esm/samples-dev/managedHsmsListByResourceGroupSample.js.map +1 -1
  52. package/dist-esm/samples-dev/managedHsmsListBySubscriptionSample.js +23 -8
  53. package/dist-esm/samples-dev/managedHsmsListBySubscriptionSample.js.map +1 -1
  54. package/dist-esm/samples-dev/managedHsmsListDeletedSample.js +23 -8
  55. package/dist-esm/samples-dev/managedHsmsListDeletedSample.js.map +1 -1
  56. package/dist-esm/samples-dev/managedHsmsPurgeDeletedSample.js +11 -3
  57. package/dist-esm/samples-dev/managedHsmsPurgeDeletedSample.js.map +1 -1
  58. package/dist-esm/samples-dev/managedHsmsUpdateSample.js +12 -4
  59. package/dist-esm/samples-dev/managedHsmsUpdateSample.js.map +1 -1
  60. package/dist-esm/samples-dev/mhsmPrivateEndpointConnectionsDeleteSample.js +12 -4
  61. package/dist-esm/samples-dev/mhsmPrivateEndpointConnectionsDeleteSample.js.map +1 -1
  62. package/dist-esm/samples-dev/mhsmPrivateEndpointConnectionsGetSample.js +12 -4
  63. package/dist-esm/samples-dev/mhsmPrivateEndpointConnectionsGetSample.js.map +1 -1
  64. package/dist-esm/samples-dev/mhsmPrivateEndpointConnectionsListByResourceSample.js +24 -9
  65. package/dist-esm/samples-dev/mhsmPrivateEndpointConnectionsListByResourceSample.js.map +1 -1
  66. package/dist-esm/samples-dev/mhsmPrivateEndpointConnectionsPutSample.js +12 -4
  67. package/dist-esm/samples-dev/mhsmPrivateEndpointConnectionsPutSample.js.map +1 -1
  68. package/dist-esm/samples-dev/mhsmPrivateLinkResourcesListByMhsmResourceSample.js +12 -4
  69. package/dist-esm/samples-dev/mhsmPrivateLinkResourcesListByMhsmResourceSample.js.map +1 -1
  70. package/dist-esm/samples-dev/mhsmRegionsListByResourceSample.d.ts +2 -0
  71. package/dist-esm/samples-dev/mhsmRegionsListByResourceSample.d.ts.map +1 -0
  72. package/dist-esm/samples-dev/mhsmRegionsListByResourceSample.js +60 -0
  73. package/dist-esm/samples-dev/mhsmRegionsListByResourceSample.js.map +1 -0
  74. package/dist-esm/samples-dev/operationsListSample.js +23 -8
  75. package/dist-esm/samples-dev/operationsListSample.js.map +1 -1
  76. package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.js +12 -4
  77. package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.js.map +1 -1
  78. package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.js +12 -4
  79. package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.js.map +1 -1
  80. package/dist-esm/samples-dev/privateEndpointConnectionsListByResourceSample.js +24 -9
  81. package/dist-esm/samples-dev/privateEndpointConnectionsListByResourceSample.js.map +1 -1
  82. package/dist-esm/samples-dev/privateEndpointConnectionsPutSample.js +12 -4
  83. package/dist-esm/samples-dev/privateEndpointConnectionsPutSample.js.map +1 -1
  84. package/dist-esm/samples-dev/privateLinkResourcesListByVaultSample.js +12 -4
  85. package/dist-esm/samples-dev/privateLinkResourcesListByVaultSample.js.map +1 -1
  86. package/dist-esm/samples-dev/secretsCreateOrUpdateSample.js +12 -4
  87. package/dist-esm/samples-dev/secretsCreateOrUpdateSample.js.map +1 -1
  88. package/dist-esm/samples-dev/secretsGetSample.js +12 -4
  89. package/dist-esm/samples-dev/secretsGetSample.js.map +1 -1
  90. package/dist-esm/samples-dev/secretsListSample.js +24 -9
  91. package/dist-esm/samples-dev/secretsListSample.js.map +1 -1
  92. package/dist-esm/samples-dev/secretsUpdateSample.js +12 -4
  93. package/dist-esm/samples-dev/secretsUpdateSample.js.map +1 -1
  94. package/dist-esm/samples-dev/vaultsCheckNameAvailabilitySample.js +11 -3
  95. package/dist-esm/samples-dev/vaultsCheckNameAvailabilitySample.js.map +1 -1
  96. package/dist-esm/samples-dev/vaultsCreateOrUpdateSample.js +17 -8
  97. package/dist-esm/samples-dev/vaultsCreateOrUpdateSample.js.map +1 -1
  98. package/dist-esm/samples-dev/vaultsDeleteSample.js +12 -4
  99. package/dist-esm/samples-dev/vaultsDeleteSample.js.map +1 -1
  100. package/dist-esm/samples-dev/vaultsGetDeletedSample.js +11 -3
  101. package/dist-esm/samples-dev/vaultsGetDeletedSample.js.map +1 -1
  102. package/dist-esm/samples-dev/vaultsGetSample.js +12 -4
  103. package/dist-esm/samples-dev/vaultsGetSample.js.map +1 -1
  104. package/dist-esm/samples-dev/vaultsListByResourceGroupSample.js +24 -9
  105. package/dist-esm/samples-dev/vaultsListByResourceGroupSample.js.map +1 -1
  106. package/dist-esm/samples-dev/vaultsListBySubscriptionSample.js +23 -8
  107. package/dist-esm/samples-dev/vaultsListBySubscriptionSample.js.map +1 -1
  108. package/dist-esm/samples-dev/vaultsListDeletedSample.js +23 -8
  109. package/dist-esm/samples-dev/vaultsListDeletedSample.js.map +1 -1
  110. package/dist-esm/samples-dev/vaultsListSample.js +23 -8
  111. package/dist-esm/samples-dev/vaultsListSample.js.map +1 -1
  112. package/dist-esm/samples-dev/vaultsPurgeDeletedSample.js +11 -3
  113. package/dist-esm/samples-dev/vaultsPurgeDeletedSample.js.map +1 -1
  114. package/dist-esm/samples-dev/vaultsUpdateAccessPolicySample.js +12 -4
  115. package/dist-esm/samples-dev/vaultsUpdateAccessPolicySample.js.map +1 -1
  116. package/dist-esm/samples-dev/vaultsUpdateSample.js +12 -4
  117. package/dist-esm/samples-dev/vaultsUpdateSample.js.map +1 -1
  118. package/dist-esm/src/keyVaultManagementClient.d.ts +3 -1
  119. package/dist-esm/src/keyVaultManagementClient.d.ts.map +1 -1
  120. package/dist-esm/src/keyVaultManagementClient.js +5 -3
  121. package/dist-esm/src/keyVaultManagementClient.js.map +1 -1
  122. package/dist-esm/src/lroImpl.d.ts +6 -11
  123. package/dist-esm/src/lroImpl.d.ts.map +1 -1
  124. package/dist-esm/src/lroImpl.js +12 -20
  125. package/dist-esm/src/lroImpl.js.map +1 -1
  126. package/dist-esm/src/models/index.d.ts +415 -92
  127. package/dist-esm/src/models/index.d.ts.map +1 -1
  128. package/dist-esm/src/models/index.js +28 -0
  129. package/dist-esm/src/models/index.js.map +1 -1
  130. package/dist-esm/src/models/mappers.d.ts +20 -0
  131. package/dist-esm/src/models/mappers.d.ts.map +1 -1
  132. package/dist-esm/src/models/mappers.js +608 -28
  133. package/dist-esm/src/models/mappers.js.map +1 -1
  134. package/dist-esm/src/models/parameters.d.ts +9 -5
  135. package/dist-esm/src/models/parameters.d.ts.map +1 -1
  136. package/dist-esm/src/models/parameters.js +45 -8
  137. package/dist-esm/src/models/parameters.js.map +1 -1
  138. package/dist-esm/src/operations/index.d.ts +2 -0
  139. package/dist-esm/src/operations/index.d.ts.map +1 -1
  140. package/dist-esm/src/operations/index.js +2 -0
  141. package/dist-esm/src/operations/index.js.map +1 -1
  142. package/dist-esm/src/operations/keys.d.ts +3 -1
  143. package/dist-esm/src/operations/keys.d.ts.map +1 -1
  144. package/dist-esm/src/operations/keys.js +27 -13
  145. package/dist-esm/src/operations/keys.js.map +1 -1
  146. package/dist-esm/src/operations/managedHsmKeys.d.ts +105 -0
  147. package/dist-esm/src/operations/managedHsmKeys.d.ts.map +1 -0
  148. package/dist-esm/src/operations/managedHsmKeys.js +404 -0
  149. package/dist-esm/src/operations/managedHsmKeys.js.map +1 -0
  150. package/dist-esm/src/operations/managedHsms.d.ts +13 -7
  151. package/dist-esm/src/operations/managedHsms.d.ts.map +1 -1
  152. package/dist-esm/src/operations/managedHsms.js +116 -49
  153. package/dist-esm/src/operations/managedHsms.js.map +1 -1
  154. package/dist-esm/src/operations/mhsmPrivateEndpointConnections.d.ts +2 -2
  155. package/dist-esm/src/operations/mhsmPrivateEndpointConnections.d.ts.map +1 -1
  156. package/dist-esm/src/operations/mhsmPrivateEndpointConnections.js +27 -17
  157. package/dist-esm/src/operations/mhsmPrivateEndpointConnections.js.map +1 -1
  158. package/dist-esm/src/operations/mhsmPrivateLinkResources.js +1 -1
  159. package/dist-esm/src/operations/mhsmPrivateLinkResources.js.map +1 -1
  160. package/dist-esm/src/operations/mhsmRegions.d.ts +38 -0
  161. package/dist-esm/src/operations/mhsmRegions.d.ts.map +1 -0
  162. package/dist-esm/src/operations/mhsmRegions.js +155 -0
  163. package/dist-esm/src/operations/mhsmRegions.js.map +1 -0
  164. package/dist-esm/src/operations/operations.js +12 -6
  165. package/dist-esm/src/operations/operations.js.map +1 -1
  166. package/dist-esm/src/operations/privateEndpointConnections.d.ts +2 -2
  167. package/dist-esm/src/operations/privateEndpointConnections.d.ts.map +1 -1
  168. package/dist-esm/src/operations/privateEndpointConnections.js +27 -12
  169. package/dist-esm/src/operations/privateEndpointConnections.js.map +1 -1
  170. package/dist-esm/src/operations/secrets.d.ts +3 -1
  171. package/dist-esm/src/operations/secrets.d.ts.map +1 -1
  172. package/dist-esm/src/operations/secrets.js +17 -9
  173. package/dist-esm/src/operations/secrets.js.map +1 -1
  174. package/dist-esm/src/operations/vaults.d.ts +3 -3
  175. package/dist-esm/src/operations/vaults.d.ts.map +1 -1
  176. package/dist-esm/src/operations/vaults.js +69 -37
  177. package/dist-esm/src/operations/vaults.js.map +1 -1
  178. package/dist-esm/src/operationsInterfaces/index.d.ts +2 -0
  179. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -1
  180. package/dist-esm/src/operationsInterfaces/index.js +2 -0
  181. package/dist-esm/src/operationsInterfaces/index.js.map +1 -1
  182. package/dist-esm/src/operationsInterfaces/keys.d.ts +3 -1
  183. package/dist-esm/src/operationsInterfaces/keys.d.ts.map +1 -1
  184. package/dist-esm/src/operationsInterfaces/managedHsmKeys.d.ts +57 -0
  185. package/dist-esm/src/operationsInterfaces/managedHsmKeys.d.ts.map +1 -0
  186. package/dist-esm/src/operationsInterfaces/managedHsmKeys.js +9 -0
  187. package/dist-esm/src/operationsInterfaces/managedHsmKeys.js.map +1 -0
  188. package/dist-esm/src/operationsInterfaces/managedHsms.d.ts +13 -7
  189. package/dist-esm/src/operationsInterfaces/managedHsms.d.ts.map +1 -1
  190. package/dist-esm/src/operationsInterfaces/mhsmPrivateEndpointConnections.d.ts +2 -2
  191. package/dist-esm/src/operationsInterfaces/mhsmPrivateEndpointConnections.d.ts.map +1 -1
  192. package/dist-esm/src/operationsInterfaces/mhsmRegions.d.ts +13 -0
  193. package/dist-esm/src/operationsInterfaces/mhsmRegions.d.ts.map +1 -0
  194. package/dist-esm/src/operationsInterfaces/mhsmRegions.js +9 -0
  195. package/dist-esm/src/operationsInterfaces/mhsmRegions.js.map +1 -0
  196. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts +2 -2
  197. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -1
  198. package/dist-esm/src/operationsInterfaces/secrets.d.ts +3 -1
  199. package/dist-esm/src/operationsInterfaces/secrets.d.ts.map +1 -1
  200. package/dist-esm/src/operationsInterfaces/vaults.d.ts +3 -3
  201. package/dist-esm/src/operationsInterfaces/vaults.d.ts.map +1 -1
  202. package/dist-esm/src/pagingHelper.d.ts +4 -4
  203. package/dist-esm/src/pagingHelper.js +4 -4
  204. package/dist-esm/test/keyvault_examples.js +25 -11
  205. package/dist-esm/test/keyvault_examples.js.map +1 -1
  206. package/package.json +13 -12
  207. package/review/arm-keyvault.api.md +274 -18
  208. package/src/keyVaultManagementClient.ts +10 -2
  209. package/src/lroImpl.ts +31 -23
  210. package/src/models/index.ts +387 -29
  211. package/src/models/mappers.ts +622 -11
  212. package/src/models/parameters.ts +50 -7
  213. package/src/operations/index.ts +2 -0
  214. package/src/operations/keys.ts +3 -3
  215. package/src/operations/managedHsmKeys.ts +525 -0
  216. package/src/operations/managedHsms.ts +118 -58
  217. package/src/operations/mhsmPrivateEndpointConnections.ts +24 -18
  218. package/src/operations/mhsmPrivateLinkResources.ts +1 -1
  219. package/src/operations/mhsmRegions.ts +194 -0
  220. package/src/operations/operations.ts +0 -1
  221. package/src/operations/privateEndpointConnections.ts +24 -13
  222. package/src/operations/secrets.ts +5 -4
  223. package/src/operations/vaults.ts +31 -28
  224. package/src/operationsInterfaces/index.ts +2 -0
  225. package/src/operationsInterfaces/keys.ts +3 -1
  226. package/src/operationsInterfaces/managedHsmKeys.ts +103 -0
  227. package/src/operationsInterfaces/managedHsms.ts +27 -9
  228. package/src/operationsInterfaces/mhsmPrivateEndpointConnections.ts +3 -3
  229. package/src/operationsInterfaces/mhsmRegions.ts +29 -0
  230. package/src/operationsInterfaces/privateEndpointConnections.ts +3 -3
  231. package/src/operationsInterfaces/secrets.ts +3 -1
  232. package/src/operationsInterfaces/vaults.ts +4 -4
  233. package/src/pagingHelper.ts +4 -4
  234. package/types/arm-keyvault.d.ts +480 -34
  235. package/types/tsdoc-metadata.json +1 -1
@@ -151,6 +151,138 @@ export interface KeyListResult {
151
151
  /** The URL to get the next page of keys. */
152
152
  nextLink?: string;
153
153
  }
154
+ /** The parameters used to create a key. */
155
+ export interface ManagedHsmKeyCreateParameters {
156
+ /** The tags that will be assigned to the key. */
157
+ tags?: {
158
+ [propertyName: string]: string;
159
+ };
160
+ /** The properties of the key to be created. */
161
+ properties: ManagedHsmKeyProperties;
162
+ }
163
+ /** The properties of the key. */
164
+ export interface ManagedHsmKeyProperties {
165
+ /** The attributes of the key. */
166
+ attributes?: ManagedHsmKeyAttributes;
167
+ /** The type of the key. For valid values, see JsonWebKeyType. */
168
+ kty?: JsonWebKeyType;
169
+ keyOps?: JsonWebKeyOperation[];
170
+ /** The key size in bits. For example: 2048, 3072, or 4096 for RSA. */
171
+ keySize?: number;
172
+ /** The elliptic curve name. For valid values, see JsonWebKeyCurveName. */
173
+ curveName?: JsonWebKeyCurveName;
174
+ /**
175
+ * The URI to retrieve the current version of the key.
176
+ * NOTE: This property will not be serialized. It can only be populated by the server.
177
+ */
178
+ readonly keyUri?: string;
179
+ /**
180
+ * The URI to retrieve the specific version of the key.
181
+ * NOTE: This property will not be serialized. It can only be populated by the server.
182
+ */
183
+ readonly keyUriWithVersion?: string;
184
+ /** Key rotation policy in response. It will be used for both output and input. Omitted if empty */
185
+ rotationPolicy?: ManagedHsmRotationPolicy;
186
+ /** Key release policy in response. It will be used for both output and input. Omitted if empty */
187
+ releasePolicy?: ManagedHsmKeyReleasePolicy;
188
+ }
189
+ /** The object attributes managed by the Azure Key Vault service. */
190
+ export interface ManagedHsmKeyAttributes {
191
+ /** Determines whether or not the object is enabled. */
192
+ enabled?: boolean;
193
+ /** Not before date in seconds since 1970-01-01T00:00:00Z. */
194
+ notBefore?: number;
195
+ /** Expiry date in seconds since 1970-01-01T00:00:00Z. */
196
+ expires?: number;
197
+ /**
198
+ * Creation time in seconds since 1970-01-01T00:00:00Z.
199
+ * NOTE: This property will not be serialized. It can only be populated by the server.
200
+ */
201
+ readonly created?: number;
202
+ /**
203
+ * Last updated time in seconds since 1970-01-01T00:00:00Z.
204
+ * NOTE: This property will not be serialized. It can only be populated by the server.
205
+ */
206
+ readonly updated?: number;
207
+ /**
208
+ * The deletion recovery level currently in effect for the object. If it contains 'Purgeable', then the object can be permanently deleted by a privileged user; otherwise, only the system can purge the object at the end of the retention interval.
209
+ * NOTE: This property will not be serialized. It can only be populated by the server.
210
+ */
211
+ readonly recoveryLevel?: DeletionRecoveryLevel;
212
+ /** Indicates if the private key can be exported. */
213
+ exportable?: boolean;
214
+ }
215
+ export interface ManagedHsmRotationPolicy {
216
+ /** The attributes of key rotation policy. */
217
+ attributes?: ManagedHsmKeyRotationPolicyAttributes;
218
+ /** The lifetimeActions for key rotation action. */
219
+ lifetimeActions?: ManagedHsmLifetimeAction[];
220
+ }
221
+ export interface ManagedHsmKeyRotationPolicyAttributes {
222
+ /**
223
+ * Creation time in seconds since 1970-01-01T00:00:00Z.
224
+ * NOTE: This property will not be serialized. It can only be populated by the server.
225
+ */
226
+ readonly created?: number;
227
+ /**
228
+ * Last updated time in seconds since 1970-01-01T00:00:00Z.
229
+ * NOTE: This property will not be serialized. It can only be populated by the server.
230
+ */
231
+ readonly updated?: number;
232
+ /** The expiration time for the new key version. It should be in ISO8601 format. Eg: 'P90D', 'P1Y'. */
233
+ expiryTime?: string;
234
+ }
235
+ export interface ManagedHsmLifetimeAction {
236
+ /** The trigger of key rotation policy lifetimeAction. */
237
+ trigger?: ManagedHsmTrigger;
238
+ /** The action of key rotation policy lifetimeAction. */
239
+ action?: ManagedHsmAction;
240
+ }
241
+ export interface ManagedHsmTrigger {
242
+ /** The time duration after key creation to rotate the key. It only applies to rotate. It will be in ISO 8601 duration format. Eg: 'P90D', 'P1Y'. */
243
+ timeAfterCreate?: string;
244
+ /** The time duration before key expiring to rotate or notify. It will be in ISO 8601 duration format. Eg: 'P90D', 'P1Y'. */
245
+ timeBeforeExpiry?: string;
246
+ }
247
+ export interface ManagedHsmAction {
248
+ /** The type of action. */
249
+ type?: KeyRotationPolicyActionType;
250
+ }
251
+ export interface ManagedHsmKeyReleasePolicy {
252
+ /** Content type and version of key release policy */
253
+ contentType?: string;
254
+ /** Blob encoding the policy rules under which the key can be released. */
255
+ data?: Uint8Array;
256
+ }
257
+ /** Common fields that are returned in the response for all Azure Resource Manager resources */
258
+ export interface ProxyResourceWithoutSystemData {
259
+ /**
260
+ * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
261
+ * NOTE: This property will not be serialized. It can only be populated by the server.
262
+ */
263
+ readonly id?: string;
264
+ /**
265
+ * The name of the resource
266
+ * NOTE: This property will not be serialized. It can only be populated by the server.
267
+ */
268
+ readonly name?: string;
269
+ /**
270
+ * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
271
+ * NOTE: This property will not be serialized. It can only be populated by the server.
272
+ */
273
+ readonly type?: string;
274
+ /** Resource tags. */
275
+ tags?: {
276
+ [propertyName: string]: string;
277
+ };
278
+ }
279
+ /** The page of keys. */
280
+ export interface ManagedHsmKeyListResult {
281
+ /** The key resources. */
282
+ value?: ManagedHsmKey[];
283
+ /** The URL to get the next page of keys. */
284
+ nextLink?: string;
285
+ }
154
286
  /** Parameters for creating or updating a vault */
155
287
  export interface VaultCreateOrUpdateParameters {
156
288
  /** The supported Azure location where the key vault should be created. */
@@ -187,7 +319,7 @@ export interface VaultProperties {
187
319
  enableSoftDelete?: boolean;
188
320
  /** softDelete data retention days. It accepts >=7 and <=90. */
189
321
  softDeleteRetentionInDays?: number;
190
- /** Property that controls how data actions are authorized. When true, the key vault will use Role Based Access Control (RBAC) for authorization of data actions, and the access policies specified in vault properties will be ignored (warning: this is a preview feature). When false, the key vault will use the access policies specified in vault properties, and any policy stored on Azure Resource Manager will be ignored. If null or not specified, the vault is created with the default value of false. Note that management actions are always authorized with RBAC. */
322
+ /** Property that controls how data actions are authorized. When true, the key vault will use Role Based Access Control (RBAC) for authorization of data actions, and the access policies specified in vault properties will be ignored. When false, the key vault will use the access policies specified in vault properties, and any policy stored on Azure Resource Manager will be ignored. If null or not specified, the vault is created with the default value of false. Note that management actions are always authorized with RBAC. */
191
323
  enableRbacAuthorization?: boolean;
192
324
  /** The vault's create mode to indicate whether the vault need to be recovered or not. */
193
325
  createMode?: CreateMode;
@@ -358,7 +490,7 @@ export interface VaultPatchProperties {
358
490
  enabledForTemplateDeployment?: boolean;
359
491
  /** Property to specify whether the 'soft delete' functionality is enabled for this key vault. Once set to true, it cannot be reverted to false. */
360
492
  enableSoftDelete?: boolean;
361
- /** Property that controls how data actions are authorized. When true, the key vault will use Role Based Access Control (RBAC) for authorization of data actions, and the access policies specified in vault properties will be ignored (warning: this is a preview feature). When false, the key vault will use the access policies specified in vault properties, and any policy stored on Azure Resource Manager will be ignored. If null or not specified, the value of this property will not change. */
493
+ /** Property that controls how data actions are authorized. When true, the key vault will use Role Based Access Control (RBAC) for authorization of data actions, and the access policies specified in vault properties will be ignored. When false, the key vault will use the access policies specified in vault properties, and any policy stored on Azure Resource Manager will be ignored. If null or not specified, the value of this property will not change. */
362
494
  enableRbacAuthorization?: boolean;
363
495
  /** softDelete data retention days. It accepts >=7 and <=90. */
364
496
  softDeleteRetentionInDays?: number;
@@ -545,6 +677,8 @@ export interface ManagedHsmProperties {
545
677
  readonly provisioningState?: ProvisioningState;
546
678
  /** Rules governing the accessibility of the key vault from specific network locations. */
547
679
  networkAcls?: MhsmNetworkRuleSet;
680
+ /** List of all regions associated with the managed hsm pool. */
681
+ regions?: MhsmGeoReplicatedRegion[];
548
682
  /**
549
683
  * List of private endpoint connections associated with the managed hsm pool.
550
684
  * NOTE: This property will not be serialized. It can only be populated by the server.
@@ -557,6 +691,11 @@ export interface ManagedHsmProperties {
557
691
  * NOTE: This property will not be serialized. It can only be populated by the server.
558
692
  */
559
693
  readonly scheduledPurgeDate?: Date;
694
+ /**
695
+ * Managed HSM security domain properties.
696
+ * NOTE: This property will not be serialized. It can only be populated by the server.
697
+ */
698
+ readonly securityDomainProperties?: ManagedHSMSecurityDomainProperties;
560
699
  }
561
700
  /** A set of rules governing the network accessibility of a managed hsm pool. */
562
701
  export interface MhsmNetworkRuleSet {
@@ -569,7 +708,7 @@ export interface MhsmNetworkRuleSet {
569
708
  /** The list of virtual network rules. */
570
709
  virtualNetworkRules?: MhsmVirtualNetworkRule[];
571
710
  }
572
- /** A rule governing the accessibility of a managed hsm pool from a specific ip address or ip range. */
711
+ /** A rule governing the accessibility of a managed HSM pool from a specific IP address or IP range. */
573
712
  export interface MhsmipRule {
574
713
  /** An IPv4 address range in CIDR notation, such as '124.56.78.91' (simple IP address) or '124.56.78.0/24' (all addresses that start with 124.56.78). */
575
714
  value: string;
@@ -579,6 +718,18 @@ export interface MhsmVirtualNetworkRule {
579
718
  /** Full resource id of a vnet subnet, such as '/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1'. */
580
719
  id: string;
581
720
  }
721
+ /** A region that this managed HSM Pool has been extended to. */
722
+ export interface MhsmGeoReplicatedRegion {
723
+ /** Name of the geo replicated region. */
724
+ name?: string;
725
+ /**
726
+ * Provisioning state of the geo replicated region.
727
+ * NOTE: This property will not be serialized. It can only be populated by the server.
728
+ */
729
+ readonly provisioningState?: GeoReplicationRegionProvisioningState;
730
+ /** A boolean value that indicates whether the region is the primary region or a secondary region. */
731
+ isPrimary?: boolean;
732
+ }
582
733
  /** Private endpoint connection item. */
583
734
  export interface MhsmPrivateEndpointConnectionItem {
584
735
  /** Id of private endpoint connection. */
@@ -609,6 +760,19 @@ export interface MhsmPrivateLinkServiceConnectionState {
609
760
  /** A message indicating if changes on the service provider require any updates on the consumer. */
610
761
  actionsRequired?: ActionsRequired;
611
762
  }
763
+ /** The security domain properties of the managed hsm. */
764
+ export interface ManagedHSMSecurityDomainProperties {
765
+ /**
766
+ * Activation Status
767
+ * NOTE: This property will not be serialized. It can only be populated by the server.
768
+ */
769
+ readonly activationStatus?: ActivationStatus;
770
+ /**
771
+ * Activation Status Message.
772
+ * NOTE: This property will not be serialized. It can only be populated by the server.
773
+ */
774
+ readonly activationStatusMessage?: string;
775
+ }
612
776
  /** Managed HSM resource */
613
777
  export interface ManagedHsmResource {
614
778
  /**
@@ -753,6 +917,36 @@ export interface MhsmPrivateLinkResourceListResult {
753
917
  /** Array of private link resources */
754
918
  value?: MhsmPrivateLinkResource[];
755
919
  }
920
+ /** List of regions associated with a managed HSM Pools */
921
+ export interface MhsmRegionsListResult {
922
+ /** The region associated with a managed HSM Pools. */
923
+ value?: MhsmGeoReplicatedRegion[];
924
+ /** The URL to get the next set of managed HSM Pools. */
925
+ nextLink?: string;
926
+ }
927
+ /** The parameters used to check the availability of the managed hsm name. */
928
+ export interface CheckMhsmNameAvailabilityParameters {
929
+ /** The managed hsm name. */
930
+ name: string;
931
+ }
932
+ /** The CheckMhsmNameAvailability operation response. */
933
+ export interface CheckMhsmNameAvailabilityResult {
934
+ /**
935
+ * A boolean value that indicates whether the name is available for you to use. If true, the name is available. If false, the name has already been taken or is invalid and cannot be used.
936
+ * NOTE: This property will not be serialized. It can only be populated by the server.
937
+ */
938
+ readonly nameAvailable?: boolean;
939
+ /**
940
+ * The reason that a managed hsm name could not be used. The reason element is only returned if NameAvailable is false.
941
+ * NOTE: This property will not be serialized. It can only be populated by the server.
942
+ */
943
+ readonly reason?: Reason;
944
+ /**
945
+ * An error message explaining the Reason value in more detail.
946
+ * NOTE: This property will not be serialized. It can only be populated by the server.
947
+ */
948
+ readonly message?: string;
949
+ }
756
950
  /** Result of the request to list Storage operations. It contains a list of operations and a URL link to get the next set of results. */
757
951
  export interface OperationListResult {
758
952
  /** List of Storage operations supported by the Storage resource provider. */
@@ -963,6 +1157,32 @@ export interface Secret extends Resource {
963
1157
  /** Properties of the secret */
964
1158
  properties: SecretProperties;
965
1159
  }
1160
+ /** The key resource. */
1161
+ export interface ManagedHsmKey extends ProxyResourceWithoutSystemData {
1162
+ /** The attributes of the key. */
1163
+ attributes?: ManagedHsmKeyAttributes;
1164
+ /** The type of the key. For valid values, see JsonWebKeyType. */
1165
+ kty?: JsonWebKeyType;
1166
+ keyOps?: JsonWebKeyOperation[];
1167
+ /** The key size in bits. For example: 2048, 3072, or 4096 for RSA. */
1168
+ keySize?: number;
1169
+ /** The elliptic curve name. For valid values, see JsonWebKeyCurveName. */
1170
+ curveName?: JsonWebKeyCurveName;
1171
+ /**
1172
+ * The URI to retrieve the current version of the key.
1173
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1174
+ */
1175
+ readonly keyUri?: string;
1176
+ /**
1177
+ * The URI to retrieve the specific version of the key.
1178
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1179
+ */
1180
+ readonly keyUriWithVersion?: string;
1181
+ /** Key rotation policy in response. It will be used for both output and input. Omitted if empty */
1182
+ rotationPolicy?: ManagedHsmRotationPolicy;
1183
+ /** Key release policy in response. It will be used for both output and input. Omitted if empty */
1184
+ releasePolicy?: ManagedHsmKeyReleasePolicy;
1185
+ }
966
1186
  /** Resource information with extended details. */
967
1187
  export interface ManagedHsm extends ManagedHsmResource {
968
1188
  /** Properties of the managed HSM */
@@ -1011,11 +1231,26 @@ export interface PrivateEndpointConnectionsDeleteHeaders {
1011
1231
  /** The URI to poll for completion status. */
1012
1232
  location?: string;
1013
1233
  }
1234
+ /** Defines headers for ManagedHsms_createOrUpdate operation. */
1235
+ export interface ManagedHsmsCreateOrUpdateHeaders {
1236
+ /** The URI to poll for completion status. */
1237
+ location?: string;
1238
+ }
1014
1239
  /** Defines headers for ManagedHsms_update operation. */
1015
1240
  export interface ManagedHsmsUpdateHeaders {
1016
1241
  /** The URI to poll for completion status. */
1017
1242
  location?: string;
1018
1243
  }
1244
+ /** Defines headers for ManagedHsms_delete operation. */
1245
+ export interface ManagedHsmsDeleteHeaders {
1246
+ /** The URI to poll for completion status. */
1247
+ location?: string;
1248
+ }
1249
+ /** Defines headers for ManagedHsms_purgeDeleted operation. */
1250
+ export interface ManagedHsmsPurgeDeletedHeaders {
1251
+ /** The URI to poll for completion status. */
1252
+ location?: string;
1253
+ }
1019
1254
  /** Defines headers for MhsmPrivateEndpointConnections_put operation. */
1020
1255
  export interface MhsmPrivateEndpointConnectionsPutHeaders {
1021
1256
  /** (specified only if operation does not finish synchronously) The recommended number of seconds to wait before calling the URI specified in Azure-AsyncOperation. */
@@ -1025,8 +1260,6 @@ export interface MhsmPrivateEndpointConnectionsPutHeaders {
1025
1260
  }
1026
1261
  /** Defines headers for MhsmPrivateEndpointConnections_delete operation. */
1027
1262
  export interface MhsmPrivateEndpointConnectionsDeleteHeaders {
1028
- /** The recommended number of seconds to wait before calling the URI specified in the location header. */
1029
- retryAfter?: number;
1030
1263
  /** The URI to poll for completion status. */
1031
1264
  location?: string;
1032
1265
  }
@@ -1051,7 +1284,7 @@ export declare enum KnownDeletionRecoveryLevel {
1051
1284
  * **Recoverable** \
1052
1285
  * **Recoverable+ProtectedSubscription**
1053
1286
  */
1054
- export declare type DeletionRecoveryLevel = string;
1287
+ export type DeletionRecoveryLevel = string;
1055
1288
  /** Known values of {@link JsonWebKeyType} that the service accepts. */
1056
1289
  export declare enum KnownJsonWebKeyType {
1057
1290
  /** EC */
@@ -1073,7 +1306,7 @@ export declare enum KnownJsonWebKeyType {
1073
1306
  * **RSA** \
1074
1307
  * **RSA-HSM**
1075
1308
  */
1076
- export declare type JsonWebKeyType = string;
1309
+ export type JsonWebKeyType = string;
1077
1310
  /** Known values of {@link JsonWebKeyOperation} that the service accepts. */
1078
1311
  export declare enum KnownJsonWebKeyOperation {
1079
1312
  /** Encrypt */
@@ -1107,7 +1340,7 @@ export declare enum KnownJsonWebKeyOperation {
1107
1340
  * **import** \
1108
1341
  * **release**
1109
1342
  */
1110
- export declare type JsonWebKeyOperation = string;
1343
+ export type JsonWebKeyOperation = string;
1111
1344
  /** Known values of {@link JsonWebKeyCurveName} that the service accepts. */
1112
1345
  export declare enum KnownJsonWebKeyCurveName {
1113
1346
  /** P256 */
@@ -1129,7 +1362,7 @@ export declare enum KnownJsonWebKeyCurveName {
1129
1362
  * **P-521** \
1130
1363
  * **P-256K**
1131
1364
  */
1132
- export declare type JsonWebKeyCurveName = string;
1365
+ export type JsonWebKeyCurveName = string;
1133
1366
  /** Known values of {@link SkuFamily} that the service accepts. */
1134
1367
  export declare enum KnownSkuFamily {
1135
1368
  /** A */
@@ -1142,7 +1375,7 @@ export declare enum KnownSkuFamily {
1142
1375
  * ### Known values supported by the service
1143
1376
  * **A**
1144
1377
  */
1145
- export declare type SkuFamily = string;
1378
+ export type SkuFamily = string;
1146
1379
  /** Known values of {@link KeyPermissions} that the service accepts. */
1147
1380
  export declare enum KnownKeyPermissions {
1148
1381
  /** All */
@@ -1215,7 +1448,7 @@ export declare enum KnownKeyPermissions {
1215
1448
  * **getrotationpolicy** \
1216
1449
  * **setrotationpolicy**
1217
1450
  */
1218
- export declare type KeyPermissions = string;
1451
+ export type KeyPermissions = string;
1219
1452
  /** Known values of {@link SecretPermissions} that the service accepts. */
1220
1453
  export declare enum KnownSecretPermissions {
1221
1454
  /** All */
@@ -1252,7 +1485,7 @@ export declare enum KnownSecretPermissions {
1252
1485
  * **recover** \
1253
1486
  * **purge**
1254
1487
  */
1255
- export declare type SecretPermissions = string;
1488
+ export type SecretPermissions = string;
1256
1489
  /** Known values of {@link CertificatePermissions} that the service accepts. */
1257
1490
  export declare enum KnownCertificatePermissions {
1258
1491
  /** All */
@@ -1313,7 +1546,7 @@ export declare enum KnownCertificatePermissions {
1313
1546
  * **backup** \
1314
1547
  * **restore**
1315
1548
  */
1316
- export declare type CertificatePermissions = string;
1549
+ export type CertificatePermissions = string;
1317
1550
  /** Known values of {@link StoragePermissions} that the service accepts. */
1318
1551
  export declare enum KnownStoragePermissions {
1319
1552
  /** All */
@@ -1368,7 +1601,7 @@ export declare enum KnownStoragePermissions {
1368
1601
  * **getsas** \
1369
1602
  * **deletesas**
1370
1603
  */
1371
- export declare type StoragePermissions = string;
1604
+ export type StoragePermissions = string;
1372
1605
  /** Known values of {@link NetworkRuleBypassOptions} that the service accepts. */
1373
1606
  export declare enum KnownNetworkRuleBypassOptions {
1374
1607
  /** AzureServices */
@@ -1384,7 +1617,7 @@ export declare enum KnownNetworkRuleBypassOptions {
1384
1617
  * **AzureServices** \
1385
1618
  * **None**
1386
1619
  */
1387
- export declare type NetworkRuleBypassOptions = string;
1620
+ export type NetworkRuleBypassOptions = string;
1388
1621
  /** Known values of {@link NetworkRuleAction} that the service accepts. */
1389
1622
  export declare enum KnownNetworkRuleAction {
1390
1623
  /** Allow */
@@ -1400,7 +1633,7 @@ export declare enum KnownNetworkRuleAction {
1400
1633
  * **Allow** \
1401
1634
  * **Deny**
1402
1635
  */
1403
- export declare type NetworkRuleAction = string;
1636
+ export type NetworkRuleAction = string;
1404
1637
  /** Known values of {@link VaultProvisioningState} that the service accepts. */
1405
1638
  export declare enum KnownVaultProvisioningState {
1406
1639
  /** Succeeded */
@@ -1416,7 +1649,7 @@ export declare enum KnownVaultProvisioningState {
1416
1649
  * **Succeeded** \
1417
1650
  * **RegisteringDns**
1418
1651
  */
1419
- export declare type VaultProvisioningState = string;
1652
+ export type VaultProvisioningState = string;
1420
1653
  /** Known values of {@link PrivateEndpointServiceConnectionStatus} that the service accepts. */
1421
1654
  export declare enum KnownPrivateEndpointServiceConnectionStatus {
1422
1655
  /** Pending */
@@ -1438,7 +1671,7 @@ export declare enum KnownPrivateEndpointServiceConnectionStatus {
1438
1671
  * **Rejected** \
1439
1672
  * **Disconnected**
1440
1673
  */
1441
- export declare type PrivateEndpointServiceConnectionStatus = string;
1674
+ export type PrivateEndpointServiceConnectionStatus = string;
1442
1675
  /** Known values of {@link ActionsRequired} that the service accepts. */
1443
1676
  export declare enum KnownActionsRequired {
1444
1677
  /** None */
@@ -1451,7 +1684,7 @@ export declare enum KnownActionsRequired {
1451
1684
  * ### Known values supported by the service
1452
1685
  * **None**
1453
1686
  */
1454
- export declare type ActionsRequired = string;
1687
+ export type ActionsRequired = string;
1455
1688
  /** Known values of {@link PrivateEndpointConnectionProvisioningState} that the service accepts. */
1456
1689
  export declare enum KnownPrivateEndpointConnectionProvisioningState {
1457
1690
  /** Succeeded */
@@ -1479,7 +1712,7 @@ export declare enum KnownPrivateEndpointConnectionProvisioningState {
1479
1712
  * **Failed** \
1480
1713
  * **Disconnected**
1481
1714
  */
1482
- export declare type PrivateEndpointConnectionProvisioningState = string;
1715
+ export type PrivateEndpointConnectionProvisioningState = string;
1483
1716
  /** Known values of {@link IdentityType} that the service accepts. */
1484
1717
  export declare enum KnownIdentityType {
1485
1718
  /** User */
@@ -1501,7 +1734,7 @@ export declare enum KnownIdentityType {
1501
1734
  * **ManagedIdentity** \
1502
1735
  * **Key**
1503
1736
  */
1504
- export declare type IdentityType = string;
1737
+ export type IdentityType = string;
1505
1738
  /** Known values of {@link ProvisioningState} that the service accepts. */
1506
1739
  export declare enum KnownProvisioningState {
1507
1740
  /** The managed HSM Pool has been full provisioned. */
@@ -1535,7 +1768,35 @@ export declare enum KnownProvisioningState {
1535
1768
  * **SecurityDomainRestore**: The managed HSM pool is waiting for a security domain restore action. \
1536
1769
  * **Restoring**: The managed HSM pool is being restored from full HSM backup.
1537
1770
  */
1538
- export declare type ProvisioningState = string;
1771
+ export type ProvisioningState = string;
1772
+ /** Known values of {@link GeoReplicationRegionProvisioningState} that the service accepts. */
1773
+ export declare enum KnownGeoReplicationRegionProvisioningState {
1774
+ /** Preprovisioning */
1775
+ Preprovisioning = "Preprovisioning",
1776
+ /** Provisioning */
1777
+ Provisioning = "Provisioning",
1778
+ /** Succeeded */
1779
+ Succeeded = "Succeeded",
1780
+ /** Failed */
1781
+ Failed = "Failed",
1782
+ /** Deleting */
1783
+ Deleting = "Deleting",
1784
+ /** Cleanup */
1785
+ Cleanup = "Cleanup"
1786
+ }
1787
+ /**
1788
+ * Defines values for GeoReplicationRegionProvisioningState. \
1789
+ * {@link KnownGeoReplicationRegionProvisioningState} can be used interchangeably with GeoReplicationRegionProvisioningState,
1790
+ * this enum contains the known values that the service supports.
1791
+ * ### Known values supported by the service
1792
+ * **Preprovisioning** \
1793
+ * **Provisioning** \
1794
+ * **Succeeded** \
1795
+ * **Failed** \
1796
+ * **Deleting** \
1797
+ * **Cleanup**
1798
+ */
1799
+ export type GeoReplicationRegionProvisioningState = string;
1539
1800
  /** Known values of {@link PublicNetworkAccess} that the service accepts. */
1540
1801
  export declare enum KnownPublicNetworkAccess {
1541
1802
  /** Enabled */
@@ -1551,7 +1812,29 @@ export declare enum KnownPublicNetworkAccess {
1551
1812
  * **Enabled** \
1552
1813
  * **Disabled**
1553
1814
  */
1554
- export declare type PublicNetworkAccess = string;
1815
+ export type PublicNetworkAccess = string;
1816
+ /** Known values of {@link ActivationStatus} that the service accepts. */
1817
+ export declare enum KnownActivationStatus {
1818
+ /** The managed HSM Pool is active. */
1819
+ Active = "Active",
1820
+ /** The managed HSM Pool is not yet activated. */
1821
+ NotActivated = "NotActivated",
1822
+ /** An unknown error occurred while activating managed hsm. */
1823
+ Unknown = "Unknown",
1824
+ /** Failed to activate managed hsm. */
1825
+ Failed = "Failed"
1826
+ }
1827
+ /**
1828
+ * Defines values for ActivationStatus. \
1829
+ * {@link KnownActivationStatus} can be used interchangeably with ActivationStatus,
1830
+ * this enum contains the known values that the service supports.
1831
+ * ### Known values supported by the service
1832
+ * **Active**: The managed HSM Pool is active. \
1833
+ * **NotActivated**: The managed HSM Pool is not yet activated. \
1834
+ * **Unknown**: An unknown error occurred while activating managed hsm. \
1835
+ * **Failed**: Failed to activate managed hsm.
1836
+ */
1837
+ export type ActivationStatus = string;
1555
1838
  /** Known values of {@link ManagedHsmSkuFamily} that the service accepts. */
1556
1839
  export declare enum KnownManagedHsmSkuFamily {
1557
1840
  /** B */
@@ -1564,54 +1847,89 @@ export declare enum KnownManagedHsmSkuFamily {
1564
1847
  * ### Known values supported by the service
1565
1848
  * **B**
1566
1849
  */
1567
- export declare type ManagedHsmSkuFamily = string;
1850
+ export type ManagedHsmSkuFamily = string;
1568
1851
  /** Defines values for KeyRotationPolicyActionType. */
1569
- export declare type KeyRotationPolicyActionType = "rotate" | "notify";
1852
+ export type KeyRotationPolicyActionType = "rotate" | "notify";
1570
1853
  /** Defines values for SkuName. */
1571
- export declare type SkuName = "standard" | "premium";
1854
+ export type SkuName = "standard" | "premium";
1572
1855
  /** Defines values for CreateMode. */
1573
- export declare type CreateMode = "recover" | "default";
1856
+ export type CreateMode = "recover" | "default";
1574
1857
  /** Defines values for AccessPolicyUpdateKind. */
1575
- export declare type AccessPolicyUpdateKind = "add" | "replace" | "remove";
1858
+ export type AccessPolicyUpdateKind = "add" | "replace" | "remove";
1576
1859
  /** Defines values for Reason. */
1577
- export declare type Reason = "AccountNameInvalid" | "AlreadyExists";
1860
+ export type Reason = "AccountNameInvalid" | "AlreadyExists";
1578
1861
  /** Defines values for ManagedHsmSkuName. */
1579
- export declare type ManagedHsmSkuName = "Standard_B1" | "Custom_B32";
1862
+ export type ManagedHsmSkuName = "Standard_B1" | "Custom_B32";
1580
1863
  /** Optional parameters. */
1581
1864
  export interface KeysCreateIfNotExistOptionalParams extends coreClient.OperationOptions {
1582
1865
  }
1583
1866
  /** Contains response data for the createIfNotExist operation. */
1584
- export declare type KeysCreateIfNotExistResponse = Key;
1867
+ export type KeysCreateIfNotExistResponse = Key;
1585
1868
  /** Optional parameters. */
1586
1869
  export interface KeysGetOptionalParams extends coreClient.OperationOptions {
1587
1870
  }
1588
1871
  /** Contains response data for the get operation. */
1589
- export declare type KeysGetResponse = Key;
1872
+ export type KeysGetResponse = Key;
1590
1873
  /** Optional parameters. */
1591
1874
  export interface KeysListOptionalParams extends coreClient.OperationOptions {
1592
1875
  }
1593
1876
  /** Contains response data for the list operation. */
1594
- export declare type KeysListResponse = KeyListResult;
1877
+ export type KeysListResponse = KeyListResult;
1595
1878
  /** Optional parameters. */
1596
1879
  export interface KeysGetVersionOptionalParams extends coreClient.OperationOptions {
1597
1880
  }
1598
1881
  /** Contains response data for the getVersion operation. */
1599
- export declare type KeysGetVersionResponse = Key;
1882
+ export type KeysGetVersionResponse = Key;
1600
1883
  /** Optional parameters. */
1601
1884
  export interface KeysListVersionsOptionalParams extends coreClient.OperationOptions {
1602
1885
  }
1603
1886
  /** Contains response data for the listVersions operation. */
1604
- export declare type KeysListVersionsResponse = KeyListResult;
1887
+ export type KeysListVersionsResponse = KeyListResult;
1605
1888
  /** Optional parameters. */
1606
1889
  export interface KeysListNextOptionalParams extends coreClient.OperationOptions {
1607
1890
  }
1608
1891
  /** Contains response data for the listNext operation. */
1609
- export declare type KeysListNextResponse = KeyListResult;
1892
+ export type KeysListNextResponse = KeyListResult;
1610
1893
  /** Optional parameters. */
1611
1894
  export interface KeysListVersionsNextOptionalParams extends coreClient.OperationOptions {
1612
1895
  }
1613
1896
  /** Contains response data for the listVersionsNext operation. */
1614
- export declare type KeysListVersionsNextResponse = KeyListResult;
1897
+ export type KeysListVersionsNextResponse = KeyListResult;
1898
+ /** Optional parameters. */
1899
+ export interface ManagedHsmKeysCreateIfNotExistOptionalParams extends coreClient.OperationOptions {
1900
+ }
1901
+ /** Contains response data for the createIfNotExist operation. */
1902
+ export type ManagedHsmKeysCreateIfNotExistResponse = ManagedHsmKey;
1903
+ /** Optional parameters. */
1904
+ export interface ManagedHsmKeysGetOptionalParams extends coreClient.OperationOptions {
1905
+ }
1906
+ /** Contains response data for the get operation. */
1907
+ export type ManagedHsmKeysGetResponse = ManagedHsmKey;
1908
+ /** Optional parameters. */
1909
+ export interface ManagedHsmKeysListOptionalParams extends coreClient.OperationOptions {
1910
+ }
1911
+ /** Contains response data for the list operation. */
1912
+ export type ManagedHsmKeysListResponse = ManagedHsmKeyListResult;
1913
+ /** Optional parameters. */
1914
+ export interface ManagedHsmKeysGetVersionOptionalParams extends coreClient.OperationOptions {
1915
+ }
1916
+ /** Contains response data for the getVersion operation. */
1917
+ export type ManagedHsmKeysGetVersionResponse = ManagedHsmKey;
1918
+ /** Optional parameters. */
1919
+ export interface ManagedHsmKeysListVersionsOptionalParams extends coreClient.OperationOptions {
1920
+ }
1921
+ /** Contains response data for the listVersions operation. */
1922
+ export type ManagedHsmKeysListVersionsResponse = ManagedHsmKeyListResult;
1923
+ /** Optional parameters. */
1924
+ export interface ManagedHsmKeysListNextOptionalParams extends coreClient.OperationOptions {
1925
+ }
1926
+ /** Contains response data for the listNext operation. */
1927
+ export type ManagedHsmKeysListNextResponse = ManagedHsmKeyListResult;
1928
+ /** Optional parameters. */
1929
+ export interface ManagedHsmKeysListVersionsNextOptionalParams extends coreClient.OperationOptions {
1930
+ }
1931
+ /** Contains response data for the listVersionsNext operation. */
1932
+ export type ManagedHsmKeysListVersionsNextResponse = ManagedHsmKeyListResult;
1615
1933
  /** Optional parameters. */
1616
1934
  export interface VaultsCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
1617
1935
  /** Delay to wait until next poll, in milliseconds. */
@@ -1620,12 +1938,12 @@ export interface VaultsCreateOrUpdateOptionalParams extends coreClient.Operation
1620
1938
  resumeFrom?: string;
1621
1939
  }
1622
1940
  /** Contains response data for the createOrUpdate operation. */
1623
- export declare type VaultsCreateOrUpdateResponse = Vault;
1941
+ export type VaultsCreateOrUpdateResponse = Vault;
1624
1942
  /** Optional parameters. */
1625
1943
  export interface VaultsUpdateOptionalParams extends coreClient.OperationOptions {
1626
1944
  }
1627
1945
  /** Contains response data for the update operation. */
1628
- export declare type VaultsUpdateResponse = Vault;
1946
+ export type VaultsUpdateResponse = Vault;
1629
1947
  /** Optional parameters. */
1630
1948
  export interface VaultsDeleteOptionalParams extends coreClient.OperationOptions {
1631
1949
  }
@@ -1633,36 +1951,36 @@ export interface VaultsDeleteOptionalParams extends coreClient.OperationOptions
1633
1951
  export interface VaultsGetOptionalParams extends coreClient.OperationOptions {
1634
1952
  }
1635
1953
  /** Contains response data for the get operation. */
1636
- export declare type VaultsGetResponse = Vault;
1954
+ export type VaultsGetResponse = Vault;
1637
1955
  /** Optional parameters. */
1638
1956
  export interface VaultsUpdateAccessPolicyOptionalParams extends coreClient.OperationOptions {
1639
1957
  }
1640
1958
  /** Contains response data for the updateAccessPolicy operation. */
1641
- export declare type VaultsUpdateAccessPolicyResponse = VaultAccessPolicyParameters;
1959
+ export type VaultsUpdateAccessPolicyResponse = VaultAccessPolicyParameters;
1642
1960
  /** Optional parameters. */
1643
1961
  export interface VaultsListByResourceGroupOptionalParams extends coreClient.OperationOptions {
1644
1962
  /** Maximum number of results to return. */
1645
1963
  top?: number;
1646
1964
  }
1647
1965
  /** Contains response data for the listByResourceGroup operation. */
1648
- export declare type VaultsListByResourceGroupResponse = VaultListResult;
1966
+ export type VaultsListByResourceGroupResponse = VaultListResult;
1649
1967
  /** Optional parameters. */
1650
1968
  export interface VaultsListBySubscriptionOptionalParams extends coreClient.OperationOptions {
1651
1969
  /** Maximum number of results to return. */
1652
1970
  top?: number;
1653
1971
  }
1654
1972
  /** Contains response data for the listBySubscription operation. */
1655
- export declare type VaultsListBySubscriptionResponse = VaultListResult;
1973
+ export type VaultsListBySubscriptionResponse = VaultListResult;
1656
1974
  /** Optional parameters. */
1657
1975
  export interface VaultsListDeletedOptionalParams extends coreClient.OperationOptions {
1658
1976
  }
1659
1977
  /** Contains response data for the listDeleted operation. */
1660
- export declare type VaultsListDeletedResponse = DeletedVaultListResult;
1978
+ export type VaultsListDeletedResponse = DeletedVaultListResult;
1661
1979
  /** Optional parameters. */
1662
1980
  export interface VaultsGetDeletedOptionalParams extends coreClient.OperationOptions {
1663
1981
  }
1664
1982
  /** Contains response data for the getDeleted operation. */
1665
- export declare type VaultsGetDeletedResponse = DeletedVault;
1983
+ export type VaultsGetDeletedResponse = DeletedVault;
1666
1984
  /** Optional parameters. */
1667
1985
  export interface VaultsPurgeDeletedOptionalParams extends coreClient.OperationOptions {
1668
1986
  /** Delay to wait until next poll, in milliseconds. */
@@ -1676,48 +1994,42 @@ export interface VaultsListOptionalParams extends coreClient.OperationOptions {
1676
1994
  top?: number;
1677
1995
  }
1678
1996
  /** Contains response data for the list operation. */
1679
- export declare type VaultsListResponse = ResourceListResult;
1997
+ export type VaultsListResponse = ResourceListResult;
1680
1998
  /** Optional parameters. */
1681
1999
  export interface VaultsCheckNameAvailabilityOptionalParams extends coreClient.OperationOptions {
1682
2000
  }
1683
2001
  /** Contains response data for the checkNameAvailability operation. */
1684
- export declare type VaultsCheckNameAvailabilityResponse = CheckNameAvailabilityResult;
2002
+ export type VaultsCheckNameAvailabilityResponse = CheckNameAvailabilityResult;
1685
2003
  /** Optional parameters. */
1686
2004
  export interface VaultsListByResourceGroupNextOptionalParams extends coreClient.OperationOptions {
1687
- /** Maximum number of results to return. */
1688
- top?: number;
1689
2005
  }
1690
2006
  /** Contains response data for the listByResourceGroupNext operation. */
1691
- export declare type VaultsListByResourceGroupNextResponse = VaultListResult;
2007
+ export type VaultsListByResourceGroupNextResponse = VaultListResult;
1692
2008
  /** Optional parameters. */
1693
2009
  export interface VaultsListBySubscriptionNextOptionalParams extends coreClient.OperationOptions {
1694
- /** Maximum number of results to return. */
1695
- top?: number;
1696
2010
  }
1697
2011
  /** Contains response data for the listBySubscriptionNext operation. */
1698
- export declare type VaultsListBySubscriptionNextResponse = VaultListResult;
2012
+ export type VaultsListBySubscriptionNextResponse = VaultListResult;
1699
2013
  /** Optional parameters. */
1700
2014
  export interface VaultsListDeletedNextOptionalParams extends coreClient.OperationOptions {
1701
2015
  }
1702
2016
  /** Contains response data for the listDeletedNext operation. */
1703
- export declare type VaultsListDeletedNextResponse = DeletedVaultListResult;
2017
+ export type VaultsListDeletedNextResponse = DeletedVaultListResult;
1704
2018
  /** Optional parameters. */
1705
2019
  export interface VaultsListNextOptionalParams extends coreClient.OperationOptions {
1706
- /** Maximum number of results to return. */
1707
- top?: number;
1708
2020
  }
1709
2021
  /** Contains response data for the listNext operation. */
1710
- export declare type VaultsListNextResponse = ResourceListResult;
2022
+ export type VaultsListNextResponse = ResourceListResult;
1711
2023
  /** Optional parameters. */
1712
2024
  export interface PrivateEndpointConnectionsGetOptionalParams extends coreClient.OperationOptions {
1713
2025
  }
1714
2026
  /** Contains response data for the get operation. */
1715
- export declare type PrivateEndpointConnectionsGetResponse = PrivateEndpointConnection;
2027
+ export type PrivateEndpointConnectionsGetResponse = PrivateEndpointConnection;
1716
2028
  /** Optional parameters. */
1717
2029
  export interface PrivateEndpointConnectionsPutOptionalParams extends coreClient.OperationOptions {
1718
2030
  }
1719
2031
  /** Contains response data for the put operation. */
1720
- export declare type PrivateEndpointConnectionsPutResponse = PrivateEndpointConnectionsPutHeaders & PrivateEndpointConnection;
2032
+ export type PrivateEndpointConnectionsPutResponse = PrivateEndpointConnectionsPutHeaders & PrivateEndpointConnection;
1721
2033
  /** Optional parameters. */
1722
2034
  export interface PrivateEndpointConnectionsDeleteOptionalParams extends coreClient.OperationOptions {
1723
2035
  /** Delay to wait until next poll, in milliseconds. */
@@ -1726,22 +2038,22 @@ export interface PrivateEndpointConnectionsDeleteOptionalParams extends coreClie
1726
2038
  resumeFrom?: string;
1727
2039
  }
1728
2040
  /** Contains response data for the delete operation. */
1729
- export declare type PrivateEndpointConnectionsDeleteResponse = PrivateEndpointConnection;
2041
+ export type PrivateEndpointConnectionsDeleteResponse = PrivateEndpointConnection;
1730
2042
  /** Optional parameters. */
1731
2043
  export interface PrivateEndpointConnectionsListByResourceOptionalParams extends coreClient.OperationOptions {
1732
2044
  }
1733
2045
  /** Contains response data for the listByResource operation. */
1734
- export declare type PrivateEndpointConnectionsListByResourceResponse = PrivateEndpointConnectionListResult;
2046
+ export type PrivateEndpointConnectionsListByResourceResponse = PrivateEndpointConnectionListResult;
1735
2047
  /** Optional parameters. */
1736
2048
  export interface PrivateEndpointConnectionsListByResourceNextOptionalParams extends coreClient.OperationOptions {
1737
2049
  }
1738
2050
  /** Contains response data for the listByResourceNext operation. */
1739
- export declare type PrivateEndpointConnectionsListByResourceNextResponse = PrivateEndpointConnectionListResult;
2051
+ export type PrivateEndpointConnectionsListByResourceNextResponse = PrivateEndpointConnectionListResult;
1740
2052
  /** Optional parameters. */
1741
2053
  export interface PrivateLinkResourcesListByVaultOptionalParams extends coreClient.OperationOptions {
1742
2054
  }
1743
2055
  /** Contains response data for the listByVault operation. */
1744
- export declare type PrivateLinkResourcesListByVaultResponse = PrivateLinkResourceListResult;
2056
+ export type PrivateLinkResourcesListByVaultResponse = PrivateLinkResourceListResult;
1745
2057
  /** Optional parameters. */
1746
2058
  export interface ManagedHsmsCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
1747
2059
  /** Delay to wait until next poll, in milliseconds. */
@@ -1750,7 +2062,7 @@ export interface ManagedHsmsCreateOrUpdateOptionalParams extends coreClient.Oper
1750
2062
  resumeFrom?: string;
1751
2063
  }
1752
2064
  /** Contains response data for the createOrUpdate operation. */
1753
- export declare type ManagedHsmsCreateOrUpdateResponse = ManagedHsm;
2065
+ export type ManagedHsmsCreateOrUpdateResponse = ManagedHsm;
1754
2066
  /** Optional parameters. */
1755
2067
  export interface ManagedHsmsUpdateOptionalParams extends coreClient.OperationOptions {
1756
2068
  /** Delay to wait until next poll, in milliseconds. */
@@ -1759,7 +2071,7 @@ export interface ManagedHsmsUpdateOptionalParams extends coreClient.OperationOpt
1759
2071
  resumeFrom?: string;
1760
2072
  }
1761
2073
  /** Contains response data for the update operation. */
1762
- export declare type ManagedHsmsUpdateResponse = ManagedHsm;
2074
+ export type ManagedHsmsUpdateResponse = ManagedHsm;
1763
2075
  /** Optional parameters. */
1764
2076
  export interface ManagedHsmsDeleteOptionalParams extends coreClient.OperationOptions {
1765
2077
  /** Delay to wait until next poll, in milliseconds. */
@@ -1771,31 +2083,31 @@ export interface ManagedHsmsDeleteOptionalParams extends coreClient.OperationOpt
1771
2083
  export interface ManagedHsmsGetOptionalParams extends coreClient.OperationOptions {
1772
2084
  }
1773
2085
  /** Contains response data for the get operation. */
1774
- export declare type ManagedHsmsGetResponse = ManagedHsm;
2086
+ export type ManagedHsmsGetResponse = ManagedHsm;
1775
2087
  /** Optional parameters. */
1776
2088
  export interface ManagedHsmsListByResourceGroupOptionalParams extends coreClient.OperationOptions {
1777
2089
  /** Maximum number of results to return. */
1778
2090
  top?: number;
1779
2091
  }
1780
2092
  /** Contains response data for the listByResourceGroup operation. */
1781
- export declare type ManagedHsmsListByResourceGroupResponse = ManagedHsmListResult;
2093
+ export type ManagedHsmsListByResourceGroupResponse = ManagedHsmListResult;
1782
2094
  /** Optional parameters. */
1783
2095
  export interface ManagedHsmsListBySubscriptionOptionalParams extends coreClient.OperationOptions {
1784
2096
  /** Maximum number of results to return. */
1785
2097
  top?: number;
1786
2098
  }
1787
2099
  /** Contains response data for the listBySubscription operation. */
1788
- export declare type ManagedHsmsListBySubscriptionResponse = ManagedHsmListResult;
2100
+ export type ManagedHsmsListBySubscriptionResponse = ManagedHsmListResult;
1789
2101
  /** Optional parameters. */
1790
2102
  export interface ManagedHsmsListDeletedOptionalParams extends coreClient.OperationOptions {
1791
2103
  }
1792
2104
  /** Contains response data for the listDeleted operation. */
1793
- export declare type ManagedHsmsListDeletedResponse = DeletedManagedHsmListResult;
2105
+ export type ManagedHsmsListDeletedResponse = DeletedManagedHsmListResult;
1794
2106
  /** Optional parameters. */
1795
2107
  export interface ManagedHsmsGetDeletedOptionalParams extends coreClient.OperationOptions {
1796
2108
  }
1797
2109
  /** Contains response data for the getDeleted operation. */
1798
- export declare type ManagedHsmsGetDeletedResponse = DeletedManagedHsm;
2110
+ export type ManagedHsmsGetDeletedResponse = DeletedManagedHsm;
1799
2111
  /** Optional parameters. */
1800
2112
  export interface ManagedHsmsPurgeDeletedOptionalParams extends coreClient.OperationOptions {
1801
2113
  /** Delay to wait until next poll, in milliseconds. */
@@ -1803,40 +2115,43 @@ export interface ManagedHsmsPurgeDeletedOptionalParams extends coreClient.Operat
1803
2115
  /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1804
2116
  resumeFrom?: string;
1805
2117
  }
2118
+ /** Contains response data for the purgeDeleted operation. */
2119
+ export type ManagedHsmsPurgeDeletedResponse = ManagedHsmsPurgeDeletedHeaders;
2120
+ /** Optional parameters. */
2121
+ export interface ManagedHsmsCheckMhsmNameAvailabilityOptionalParams extends coreClient.OperationOptions {
2122
+ }
2123
+ /** Contains response data for the checkMhsmNameAvailability operation. */
2124
+ export type ManagedHsmsCheckMhsmNameAvailabilityResponse = CheckMhsmNameAvailabilityResult;
1806
2125
  /** Optional parameters. */
1807
2126
  export interface ManagedHsmsListByResourceGroupNextOptionalParams extends coreClient.OperationOptions {
1808
- /** Maximum number of results to return. */
1809
- top?: number;
1810
2127
  }
1811
2128
  /** Contains response data for the listByResourceGroupNext operation. */
1812
- export declare type ManagedHsmsListByResourceGroupNextResponse = ManagedHsmListResult;
2129
+ export type ManagedHsmsListByResourceGroupNextResponse = ManagedHsmListResult;
1813
2130
  /** Optional parameters. */
1814
2131
  export interface ManagedHsmsListBySubscriptionNextOptionalParams extends coreClient.OperationOptions {
1815
- /** Maximum number of results to return. */
1816
- top?: number;
1817
2132
  }
1818
2133
  /** Contains response data for the listBySubscriptionNext operation. */
1819
- export declare type ManagedHsmsListBySubscriptionNextResponse = ManagedHsmListResult;
2134
+ export type ManagedHsmsListBySubscriptionNextResponse = ManagedHsmListResult;
1820
2135
  /** Optional parameters. */
1821
2136
  export interface ManagedHsmsListDeletedNextOptionalParams extends coreClient.OperationOptions {
1822
2137
  }
1823
2138
  /** Contains response data for the listDeletedNext operation. */
1824
- export declare type ManagedHsmsListDeletedNextResponse = DeletedManagedHsmListResult;
2139
+ export type ManagedHsmsListDeletedNextResponse = DeletedManagedHsmListResult;
1825
2140
  /** Optional parameters. */
1826
2141
  export interface MhsmPrivateEndpointConnectionsListByResourceOptionalParams extends coreClient.OperationOptions {
1827
2142
  }
1828
2143
  /** Contains response data for the listByResource operation. */
1829
- export declare type MhsmPrivateEndpointConnectionsListByResourceResponse = MhsmPrivateEndpointConnectionsListResult;
2144
+ export type MhsmPrivateEndpointConnectionsListByResourceResponse = MhsmPrivateEndpointConnectionsListResult;
1830
2145
  /** Optional parameters. */
1831
2146
  export interface MhsmPrivateEndpointConnectionsGetOptionalParams extends coreClient.OperationOptions {
1832
2147
  }
1833
2148
  /** Contains response data for the get operation. */
1834
- export declare type MhsmPrivateEndpointConnectionsGetResponse = MhsmPrivateEndpointConnection;
2149
+ export type MhsmPrivateEndpointConnectionsGetResponse = MhsmPrivateEndpointConnection;
1835
2150
  /** Optional parameters. */
1836
2151
  export interface MhsmPrivateEndpointConnectionsPutOptionalParams extends coreClient.OperationOptions {
1837
2152
  }
1838
2153
  /** Contains response data for the put operation. */
1839
- export declare type MhsmPrivateEndpointConnectionsPutResponse = MhsmPrivateEndpointConnectionsPutHeaders & MhsmPrivateEndpointConnection;
2154
+ export type MhsmPrivateEndpointConnectionsPutResponse = MhsmPrivateEndpointConnectionsPutHeaders & MhsmPrivateEndpointConnection;
1840
2155
  /** Optional parameters. */
1841
2156
  export interface MhsmPrivateEndpointConnectionsDeleteOptionalParams extends coreClient.OperationOptions {
1842
2157
  /** Delay to wait until next poll, in milliseconds. */
@@ -1845,56 +2160,64 @@ export interface MhsmPrivateEndpointConnectionsDeleteOptionalParams extends core
1845
2160
  resumeFrom?: string;
1846
2161
  }
1847
2162
  /** Contains response data for the delete operation. */
1848
- export declare type MhsmPrivateEndpointConnectionsDeleteResponse = MhsmPrivateEndpointConnection;
2163
+ export type MhsmPrivateEndpointConnectionsDeleteResponse = MhsmPrivateEndpointConnection;
1849
2164
  /** Optional parameters. */
1850
2165
  export interface MhsmPrivateEndpointConnectionsListByResourceNextOptionalParams extends coreClient.OperationOptions {
1851
2166
  }
1852
2167
  /** Contains response data for the listByResourceNext operation. */
1853
- export declare type MhsmPrivateEndpointConnectionsListByResourceNextResponse = MhsmPrivateEndpointConnectionsListResult;
2168
+ export type MhsmPrivateEndpointConnectionsListByResourceNextResponse = MhsmPrivateEndpointConnectionsListResult;
1854
2169
  /** Optional parameters. */
1855
2170
  export interface MhsmPrivateLinkResourcesListByMhsmResourceOptionalParams extends coreClient.OperationOptions {
1856
2171
  }
1857
2172
  /** Contains response data for the listByMhsmResource operation. */
1858
- export declare type MhsmPrivateLinkResourcesListByMhsmResourceResponse = MhsmPrivateLinkResourceListResult;
2173
+ export type MhsmPrivateLinkResourcesListByMhsmResourceResponse = MhsmPrivateLinkResourceListResult;
2174
+ /** Optional parameters. */
2175
+ export interface MhsmRegionsListByResourceOptionalParams extends coreClient.OperationOptions {
2176
+ }
2177
+ /** Contains response data for the listByResource operation. */
2178
+ export type MhsmRegionsListByResourceResponse = MhsmRegionsListResult;
2179
+ /** Optional parameters. */
2180
+ export interface MhsmRegionsListByResourceNextOptionalParams extends coreClient.OperationOptions {
2181
+ }
2182
+ /** Contains response data for the listByResourceNext operation. */
2183
+ export type MhsmRegionsListByResourceNextResponse = MhsmRegionsListResult;
1859
2184
  /** Optional parameters. */
1860
2185
  export interface OperationsListOptionalParams extends coreClient.OperationOptions {
1861
2186
  }
1862
2187
  /** Contains response data for the list operation. */
1863
- export declare type OperationsListResponse = OperationListResult;
2188
+ export type OperationsListResponse = OperationListResult;
1864
2189
  /** Optional parameters. */
1865
2190
  export interface OperationsListNextOptionalParams extends coreClient.OperationOptions {
1866
2191
  }
1867
2192
  /** Contains response data for the listNext operation. */
1868
- export declare type OperationsListNextResponse = OperationListResult;
2193
+ export type OperationsListNextResponse = OperationListResult;
1869
2194
  /** Optional parameters. */
1870
2195
  export interface SecretsCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
1871
2196
  }
1872
2197
  /** Contains response data for the createOrUpdate operation. */
1873
- export declare type SecretsCreateOrUpdateResponse = Secret;
2198
+ export type SecretsCreateOrUpdateResponse = Secret;
1874
2199
  /** Optional parameters. */
1875
2200
  export interface SecretsUpdateOptionalParams extends coreClient.OperationOptions {
1876
2201
  }
1877
2202
  /** Contains response data for the update operation. */
1878
- export declare type SecretsUpdateResponse = Secret;
2203
+ export type SecretsUpdateResponse = Secret;
1879
2204
  /** Optional parameters. */
1880
2205
  export interface SecretsGetOptionalParams extends coreClient.OperationOptions {
1881
2206
  }
1882
2207
  /** Contains response data for the get operation. */
1883
- export declare type SecretsGetResponse = Secret;
2208
+ export type SecretsGetResponse = Secret;
1884
2209
  /** Optional parameters. */
1885
2210
  export interface SecretsListOptionalParams extends coreClient.OperationOptions {
1886
2211
  /** Maximum number of results to return. */
1887
2212
  top?: number;
1888
2213
  }
1889
2214
  /** Contains response data for the list operation. */
1890
- export declare type SecretsListResponse = SecretListResult;
2215
+ export type SecretsListResponse = SecretListResult;
1891
2216
  /** Optional parameters. */
1892
2217
  export interface SecretsListNextOptionalParams extends coreClient.OperationOptions {
1893
- /** Maximum number of results to return. */
1894
- top?: number;
1895
2218
  }
1896
2219
  /** Contains response data for the listNext operation. */
1897
- export declare type SecretsListNextResponse = SecretListResult;
2220
+ export type SecretsListNextResponse = SecretListResult;
1898
2221
  /** Optional parameters. */
1899
2222
  export interface KeyVaultManagementClientOptionalParams extends coreClient.ServiceClientOptions {
1900
2223
  /** server parameter */