@azure/arm-keyvault 2.1.0-beta.1 → 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 (244) hide show
  1. package/CHANGELOG.md +73 -3
  2. package/LICENSE +1 -1
  3. package/README.md +2 -2
  4. package/dist/index.js +3461 -1761
  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/index.d.ts +1 -0
  119. package/dist-esm/src/index.d.ts.map +1 -1
  120. package/dist-esm/src/index.js +1 -0
  121. package/dist-esm/src/index.js.map +1 -1
  122. package/dist-esm/src/keyVaultManagementClient.d.ts +5 -1
  123. package/dist-esm/src/keyVaultManagementClient.d.ts.map +1 -1
  124. package/dist-esm/src/keyVaultManagementClient.js +53 -20
  125. package/dist-esm/src/keyVaultManagementClient.js.map +1 -1
  126. package/dist-esm/src/lroImpl.d.ts +6 -11
  127. package/dist-esm/src/lroImpl.d.ts.map +1 -1
  128. package/dist-esm/src/lroImpl.js +12 -20
  129. package/dist-esm/src/lroImpl.js.map +1 -1
  130. package/dist-esm/src/models/index.d.ts +547 -107
  131. package/dist-esm/src/models/index.d.ts.map +1 -1
  132. package/dist-esm/src/models/index.js +135 -0
  133. package/dist-esm/src/models/index.js.map +1 -1
  134. package/dist-esm/src/models/mappers.d.ts +21 -0
  135. package/dist-esm/src/models/mappers.d.ts.map +1 -1
  136. package/dist-esm/src/models/mappers.js +617 -11
  137. package/dist-esm/src/models/mappers.js.map +1 -1
  138. package/dist-esm/src/models/parameters.d.ts +9 -5
  139. package/dist-esm/src/models/parameters.d.ts.map +1 -1
  140. package/dist-esm/src/models/parameters.js +45 -8
  141. package/dist-esm/src/models/parameters.js.map +1 -1
  142. package/dist-esm/src/operations/index.d.ts +2 -0
  143. package/dist-esm/src/operations/index.d.ts.map +1 -1
  144. package/dist-esm/src/operations/index.js +2 -0
  145. package/dist-esm/src/operations/index.js.map +1 -1
  146. package/dist-esm/src/operations/keys.d.ts +3 -1
  147. package/dist-esm/src/operations/keys.d.ts.map +1 -1
  148. package/dist-esm/src/operations/keys.js +64 -27
  149. package/dist-esm/src/operations/keys.js.map +1 -1
  150. package/dist-esm/src/operations/managedHsmKeys.d.ts +105 -0
  151. package/dist-esm/src/operations/managedHsmKeys.d.ts.map +1 -0
  152. package/dist-esm/src/operations/managedHsmKeys.js +404 -0
  153. package/dist-esm/src/operations/managedHsmKeys.js.map +1 -0
  154. package/dist-esm/src/operations/managedHsms.d.ts +13 -7
  155. package/dist-esm/src/operations/managedHsms.d.ts.map +1 -1
  156. package/dist-esm/src/operations/managedHsms.js +171 -70
  157. package/dist-esm/src/operations/managedHsms.js.map +1 -1
  158. package/dist-esm/src/operations/mhsmPrivateEndpointConnections.d.ts +2 -2
  159. package/dist-esm/src/operations/mhsmPrivateEndpointConnections.d.ts.map +1 -1
  160. package/dist-esm/src/operations/mhsmPrivateEndpointConnections.js +46 -24
  161. package/dist-esm/src/operations/mhsmPrivateEndpointConnections.js.map +1 -1
  162. package/dist-esm/src/operations/mhsmPrivateLinkResources.js +1 -1
  163. package/dist-esm/src/operations/mhsmPrivateLinkResources.js.map +1 -1
  164. package/dist-esm/src/operations/mhsmRegions.d.ts +38 -0
  165. package/dist-esm/src/operations/mhsmRegions.d.ts.map +1 -0
  166. package/dist-esm/src/operations/mhsmRegions.js +155 -0
  167. package/dist-esm/src/operations/mhsmRegions.js.map +1 -0
  168. package/dist-esm/src/operations/operations.d.ts.map +1 -1
  169. package/dist-esm/src/operations/operations.js +31 -13
  170. package/dist-esm/src/operations/operations.js.map +1 -1
  171. package/dist-esm/src/operations/privateEndpointConnections.d.ts +2 -2
  172. package/dist-esm/src/operations/privateEndpointConnections.d.ts.map +1 -1
  173. package/dist-esm/src/operations/privateEndpointConnections.js +46 -19
  174. package/dist-esm/src/operations/privateEndpointConnections.js.map +1 -1
  175. package/dist-esm/src/operations/secrets.d.ts +3 -1
  176. package/dist-esm/src/operations/secrets.d.ts.map +1 -1
  177. package/dist-esm/src/operations/secrets.js +36 -16
  178. package/dist-esm/src/operations/secrets.js.map +1 -1
  179. package/dist-esm/src/operations/vaults.d.ts +3 -3
  180. package/dist-esm/src/operations/vaults.d.ts.map +1 -1
  181. package/dist-esm/src/operations/vaults.js +142 -65
  182. package/dist-esm/src/operations/vaults.js.map +1 -1
  183. package/dist-esm/src/operationsInterfaces/index.d.ts +2 -0
  184. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -1
  185. package/dist-esm/src/operationsInterfaces/index.js +2 -0
  186. package/dist-esm/src/operationsInterfaces/index.js.map +1 -1
  187. package/dist-esm/src/operationsInterfaces/keys.d.ts +3 -1
  188. package/dist-esm/src/operationsInterfaces/keys.d.ts.map +1 -1
  189. package/dist-esm/src/operationsInterfaces/managedHsmKeys.d.ts +57 -0
  190. package/dist-esm/src/operationsInterfaces/managedHsmKeys.d.ts.map +1 -0
  191. package/dist-esm/src/operationsInterfaces/managedHsmKeys.js +9 -0
  192. package/dist-esm/src/operationsInterfaces/managedHsmKeys.js.map +1 -0
  193. package/dist-esm/src/operationsInterfaces/managedHsms.d.ts +13 -7
  194. package/dist-esm/src/operationsInterfaces/managedHsms.d.ts.map +1 -1
  195. package/dist-esm/src/operationsInterfaces/mhsmPrivateEndpointConnections.d.ts +2 -2
  196. package/dist-esm/src/operationsInterfaces/mhsmPrivateEndpointConnections.d.ts.map +1 -1
  197. package/dist-esm/src/operationsInterfaces/mhsmRegions.d.ts +13 -0
  198. package/dist-esm/src/operationsInterfaces/mhsmRegions.d.ts.map +1 -0
  199. package/dist-esm/src/operationsInterfaces/mhsmRegions.js +9 -0
  200. package/dist-esm/src/operationsInterfaces/mhsmRegions.js.map +1 -0
  201. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts +2 -2
  202. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -1
  203. package/dist-esm/src/operationsInterfaces/secrets.d.ts +3 -1
  204. package/dist-esm/src/operationsInterfaces/secrets.d.ts.map +1 -1
  205. package/dist-esm/src/operationsInterfaces/vaults.d.ts +3 -3
  206. package/dist-esm/src/operationsInterfaces/vaults.d.ts.map +1 -1
  207. package/dist-esm/src/pagingHelper.d.ts +13 -0
  208. package/dist-esm/src/pagingHelper.d.ts.map +1 -0
  209. package/dist-esm/src/pagingHelper.js +32 -0
  210. package/dist-esm/src/pagingHelper.js.map +1 -0
  211. package/dist-esm/test/keyvault_examples.d.ts.map +1 -1
  212. package/dist-esm/test/keyvault_examples.js +42 -30
  213. package/dist-esm/test/keyvault_examples.js.map +1 -1
  214. package/package.json +21 -16
  215. package/review/arm-keyvault.api.md +304 -141
  216. package/src/index.ts +1 -0
  217. package/src/keyVaultManagementClient.ts +69 -21
  218. package/src/lroImpl.ts +31 -23
  219. package/src/models/index.ts +519 -44
  220. package/src/models/mappers.ts +644 -6
  221. package/src/models/parameters.ts +50 -7
  222. package/src/operations/index.ts +2 -0
  223. package/src/operations/keys.ts +56 -25
  224. package/src/operations/managedHsmKeys.ts +525 -0
  225. package/src/operations/managedHsms.ts +184 -83
  226. package/src/operations/mhsmPrivateEndpointConnections.ts +50 -26
  227. package/src/operations/mhsmPrivateLinkResources.ts +1 -1
  228. package/src/operations/mhsmRegions.ts +194 -0
  229. package/src/operations/operations.ts +21 -9
  230. package/src/operations/privateEndpointConnections.ts +51 -26
  231. package/src/operations/secrets.ts +32 -13
  232. package/src/operations/vaults.ts +117 -61
  233. package/src/operationsInterfaces/index.ts +2 -0
  234. package/src/operationsInterfaces/keys.ts +3 -1
  235. package/src/operationsInterfaces/managedHsmKeys.ts +103 -0
  236. package/src/operationsInterfaces/managedHsms.ts +27 -9
  237. package/src/operationsInterfaces/mhsmPrivateEndpointConnections.ts +3 -3
  238. package/src/operationsInterfaces/mhsmRegions.ts +29 -0
  239. package/src/operationsInterfaces/privateEndpointConnections.ts +3 -3
  240. package/src/operationsInterfaces/secrets.ts +3 -1
  241. package/src/operationsInterfaces/vaults.ts +4 -4
  242. package/src/pagingHelper.ts +39 -0
  243. package/types/arm-keyvault.d.ts +620 -45
  244. 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,8 +718,24 @@ 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 {
735
+ /** Id of private endpoint connection. */
736
+ id?: string;
737
+ /** Modified whenever there is a change in the state of private endpoint connection. */
738
+ etag?: string;
584
739
  /** Properties of the private endpoint object. */
585
740
  privateEndpoint?: MhsmPrivateEndpoint;
586
741
  /** Approval state of the private link connection. */
@@ -605,6 +760,19 @@ export interface MhsmPrivateLinkServiceConnectionState {
605
760
  /** A message indicating if changes on the service provider require any updates on the consumer. */
606
761
  actionsRequired?: ActionsRequired;
607
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
+ }
608
776
  /** Managed HSM resource */
609
777
  export interface ManagedHsmResource {
610
778
  /**
@@ -749,6 +917,36 @@ export interface MhsmPrivateLinkResourceListResult {
749
917
  /** Array of private link resources */
750
918
  value?: MhsmPrivateLinkResource[];
751
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
+ }
752
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. */
753
951
  export interface OperationListResult {
754
952
  /** List of Storage operations supported by the Storage resource provider. */
@@ -903,7 +1101,7 @@ export interface SecretListResult {
903
1101
  nextLink?: string;
904
1102
  }
905
1103
  /** The key resource. */
906
- export declare type Key = Resource & {
1104
+ export interface Key extends Resource {
907
1105
  /** The attributes of the key. */
908
1106
  attributes?: KeyAttributes;
909
1107
  /** The type of the key. For valid values, see JsonWebKeyType. */
@@ -927,9 +1125,9 @@ export declare type Key = Resource & {
927
1125
  rotationPolicy?: RotationPolicy;
928
1126
  /** Key release policy in response. It will be used for both output and input. Omitted if empty */
929
1127
  releasePolicy?: KeyReleasePolicy;
930
- };
1128
+ }
931
1129
  /** Private endpoint connection resource. */
932
- export declare type PrivateEndpointConnection = Resource & {
1130
+ export interface PrivateEndpointConnection extends Resource {
933
1131
  /** Modified whenever there is a change in the state of private endpoint connection. */
934
1132
  etag?: string;
935
1133
  /** Properties of the private endpoint object. */
@@ -938,9 +1136,9 @@ export declare type PrivateEndpointConnection = Resource & {
938
1136
  privateLinkServiceConnectionState?: PrivateLinkServiceConnectionState;
939
1137
  /** Provisioning state of the private endpoint connection. */
940
1138
  provisioningState?: PrivateEndpointConnectionProvisioningState;
941
- };
1139
+ }
942
1140
  /** A private link resource */
943
- export declare type PrivateLinkResource = Resource & {
1141
+ export interface PrivateLinkResource extends Resource {
944
1142
  /**
945
1143
  * Group identifier of private link resource.
946
1144
  * NOTE: This property will not be serialized. It can only be populated by the server.
@@ -953,19 +1151,45 @@ export declare type PrivateLinkResource = Resource & {
953
1151
  readonly requiredMembers?: string[];
954
1152
  /** Required DNS zone names of the the private link resource. */
955
1153
  requiredZoneNames?: string[];
956
- };
1154
+ }
957
1155
  /** Resource information with extended details. */
958
- export declare type Secret = Resource & {
1156
+ export interface Secret extends Resource {
959
1157
  /** Properties of the secret */
960
1158
  properties: SecretProperties;
961
- };
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
+ }
962
1186
  /** Resource information with extended details. */
963
- export declare type ManagedHsm = ManagedHsmResource & {
1187
+ export interface ManagedHsm extends ManagedHsmResource {
964
1188
  /** Properties of the managed HSM */
965
1189
  properties?: ManagedHsmProperties;
966
- };
1190
+ }
967
1191
  /** Private endpoint connection resource. */
968
- export declare type MhsmPrivateEndpointConnection = ManagedHsmResource & {
1192
+ export interface MhsmPrivateEndpointConnection extends ManagedHsmResource {
969
1193
  /** Modified whenever there is a change in the state of private endpoint connection. */
970
1194
  etag?: string;
971
1195
  /** Properties of the private endpoint object. */
@@ -974,9 +1198,9 @@ export declare type MhsmPrivateEndpointConnection = ManagedHsmResource & {
974
1198
  privateLinkServiceConnectionState?: MhsmPrivateLinkServiceConnectionState;
975
1199
  /** Provisioning state of the private endpoint connection. */
976
1200
  provisioningState?: PrivateEndpointConnectionProvisioningState;
977
- };
1201
+ }
978
1202
  /** A private link resource */
979
- export declare type MhsmPrivateLinkResource = ManagedHsmResource & {
1203
+ export interface MhsmPrivateLinkResource extends ManagedHsmResource {
980
1204
  /**
981
1205
  * Group identifier of private link resource.
982
1206
  * NOTE: This property will not be serialized. It can only be populated by the server.
@@ -989,9 +1213,10 @@ export declare type MhsmPrivateLinkResource = ManagedHsmResource & {
989
1213
  readonly requiredMembers?: string[];
990
1214
  /** Required DNS zone names of the the private link resource. */
991
1215
  requiredZoneNames?: string[];
992
- };
1216
+ }
993
1217
  /** The secret management attributes. */
994
- export declare type SecretAttributes = Attributes & {};
1218
+ export interface SecretAttributes extends Attributes {
1219
+ }
995
1220
  /** Defines headers for PrivateEndpointConnections_put operation. */
996
1221
  export interface PrivateEndpointConnectionsPutHeaders {
997
1222
  /** (specified only if operation does not finish synchronously) The recommended number of seconds to wait before calling the URI specified in Azure-AsyncOperation. */
@@ -1006,6 +1231,26 @@ export interface PrivateEndpointConnectionsDeleteHeaders {
1006
1231
  /** The URI to poll for completion status. */
1007
1232
  location?: string;
1008
1233
  }
1234
+ /** Defines headers for ManagedHsms_createOrUpdate operation. */
1235
+ export interface ManagedHsmsCreateOrUpdateHeaders {
1236
+ /** The URI to poll for completion status. */
1237
+ location?: string;
1238
+ }
1239
+ /** Defines headers for ManagedHsms_update operation. */
1240
+ export interface ManagedHsmsUpdateHeaders {
1241
+ /** The URI to poll for completion status. */
1242
+ location?: string;
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
+ }
1009
1254
  /** Defines headers for MhsmPrivateEndpointConnections_put operation. */
1010
1255
  export interface MhsmPrivateEndpointConnectionsPutHeaders {
1011
1256
  /** (specified only if operation does not finish synchronously) The recommended number of seconds to wait before calling the URI specified in Azure-AsyncOperation. */
@@ -1015,16 +1260,18 @@ export interface MhsmPrivateEndpointConnectionsPutHeaders {
1015
1260
  }
1016
1261
  /** Defines headers for MhsmPrivateEndpointConnections_delete operation. */
1017
1262
  export interface MhsmPrivateEndpointConnectionsDeleteHeaders {
1018
- /** The recommended number of seconds to wait before calling the URI specified in the location header. */
1019
- retryAfter?: number;
1020
1263
  /** The URI to poll for completion status. */
1021
1264
  location?: string;
1022
1265
  }
1023
1266
  /** Known values of {@link DeletionRecoveryLevel} that the service accepts. */
1024
1267
  export declare enum KnownDeletionRecoveryLevel {
1268
+ /** Purgeable */
1025
1269
  Purgeable = "Purgeable",
1270
+ /** RecoverablePurgeable */
1026
1271
  RecoverablePurgeable = "Recoverable+Purgeable",
1272
+ /** Recoverable */
1027
1273
  Recoverable = "Recoverable",
1274
+ /** RecoverableProtectedSubscription */
1028
1275
  RecoverableProtectedSubscription = "Recoverable+ProtectedSubscription"
1029
1276
  }
1030
1277
  /**
@@ -1037,12 +1284,16 @@ export declare enum KnownDeletionRecoveryLevel {
1037
1284
  * **Recoverable** \
1038
1285
  * **Recoverable+ProtectedSubscription**
1039
1286
  */
1040
- export declare type DeletionRecoveryLevel = string;
1287
+ export type DeletionRecoveryLevel = string;
1041
1288
  /** Known values of {@link JsonWebKeyType} that the service accepts. */
1042
1289
  export declare enum KnownJsonWebKeyType {
1290
+ /** EC */
1043
1291
  EC = "EC",
1292
+ /** ECHSM */
1044
1293
  ECHSM = "EC-HSM",
1294
+ /** RSA */
1045
1295
  RSA = "RSA",
1296
+ /** RSAHSM */
1046
1297
  RSAHSM = "RSA-HSM"
1047
1298
  }
1048
1299
  /**
@@ -1055,16 +1306,24 @@ export declare enum KnownJsonWebKeyType {
1055
1306
  * **RSA** \
1056
1307
  * **RSA-HSM**
1057
1308
  */
1058
- export declare type JsonWebKeyType = string;
1309
+ export type JsonWebKeyType = string;
1059
1310
  /** Known values of {@link JsonWebKeyOperation} that the service accepts. */
1060
1311
  export declare enum KnownJsonWebKeyOperation {
1312
+ /** Encrypt */
1061
1313
  Encrypt = "encrypt",
1314
+ /** Decrypt */
1062
1315
  Decrypt = "decrypt",
1316
+ /** Sign */
1063
1317
  Sign = "sign",
1318
+ /** Verify */
1064
1319
  Verify = "verify",
1320
+ /** WrapKey */
1065
1321
  WrapKey = "wrapKey",
1322
+ /** UnwrapKey */
1066
1323
  UnwrapKey = "unwrapKey",
1324
+ /** Import */
1067
1325
  Import = "import",
1326
+ /** Release */
1068
1327
  Release = "release"
1069
1328
  }
1070
1329
  /**
@@ -1081,12 +1340,16 @@ export declare enum KnownJsonWebKeyOperation {
1081
1340
  * **import** \
1082
1341
  * **release**
1083
1342
  */
1084
- export declare type JsonWebKeyOperation = string;
1343
+ export type JsonWebKeyOperation = string;
1085
1344
  /** Known values of {@link JsonWebKeyCurveName} that the service accepts. */
1086
1345
  export declare enum KnownJsonWebKeyCurveName {
1346
+ /** P256 */
1087
1347
  P256 = "P-256",
1348
+ /** P384 */
1088
1349
  P384 = "P-384",
1350
+ /** P521 */
1089
1351
  P521 = "P-521",
1352
+ /** P256K */
1090
1353
  P256K = "P-256K"
1091
1354
  }
1092
1355
  /**
@@ -1099,9 +1362,10 @@ export declare enum KnownJsonWebKeyCurveName {
1099
1362
  * **P-521** \
1100
1363
  * **P-256K**
1101
1364
  */
1102
- export declare type JsonWebKeyCurveName = string;
1365
+ export type JsonWebKeyCurveName = string;
1103
1366
  /** Known values of {@link SkuFamily} that the service accepts. */
1104
1367
  export declare enum KnownSkuFamily {
1368
+ /** A */
1105
1369
  A = "A"
1106
1370
  }
1107
1371
  /**
@@ -1111,29 +1375,50 @@ export declare enum KnownSkuFamily {
1111
1375
  * ### Known values supported by the service
1112
1376
  * **A**
1113
1377
  */
1114
- export declare type SkuFamily = string;
1378
+ export type SkuFamily = string;
1115
1379
  /** Known values of {@link KeyPermissions} that the service accepts. */
1116
1380
  export declare enum KnownKeyPermissions {
1381
+ /** All */
1117
1382
  All = "all",
1383
+ /** Encrypt */
1118
1384
  Encrypt = "encrypt",
1385
+ /** Decrypt */
1119
1386
  Decrypt = "decrypt",
1387
+ /** WrapKey */
1120
1388
  WrapKey = "wrapKey",
1389
+ /** UnwrapKey */
1121
1390
  UnwrapKey = "unwrapKey",
1391
+ /** Sign */
1122
1392
  Sign = "sign",
1393
+ /** Verify */
1123
1394
  Verify = "verify",
1395
+ /** Get */
1124
1396
  Get = "get",
1397
+ /** List */
1125
1398
  List = "list",
1399
+ /** Create */
1126
1400
  Create = "create",
1401
+ /** Update */
1127
1402
  Update = "update",
1403
+ /** Import */
1128
1404
  Import = "import",
1405
+ /** Delete */
1129
1406
  Delete = "delete",
1407
+ /** Backup */
1130
1408
  Backup = "backup",
1409
+ /** Restore */
1131
1410
  Restore = "restore",
1411
+ /** Recover */
1132
1412
  Recover = "recover",
1413
+ /** Purge */
1133
1414
  Purge = "purge",
1415
+ /** Release */
1134
1416
  Release = "release",
1417
+ /** Rotate */
1135
1418
  Rotate = "rotate",
1419
+ /** Getrotationpolicy */
1136
1420
  Getrotationpolicy = "getrotationpolicy",
1421
+ /** Setrotationpolicy */
1137
1422
  Setrotationpolicy = "setrotationpolicy"
1138
1423
  }
1139
1424
  /**
@@ -1163,17 +1448,26 @@ export declare enum KnownKeyPermissions {
1163
1448
  * **getrotationpolicy** \
1164
1449
  * **setrotationpolicy**
1165
1450
  */
1166
- export declare type KeyPermissions = string;
1451
+ export type KeyPermissions = string;
1167
1452
  /** Known values of {@link SecretPermissions} that the service accepts. */
1168
1453
  export declare enum KnownSecretPermissions {
1454
+ /** All */
1169
1455
  All = "all",
1456
+ /** Get */
1170
1457
  Get = "get",
1458
+ /** List */
1171
1459
  List = "list",
1460
+ /** Set */
1172
1461
  Set = "set",
1462
+ /** Delete */
1173
1463
  Delete = "delete",
1464
+ /** Backup */
1174
1465
  Backup = "backup",
1466
+ /** Restore */
1175
1467
  Restore = "restore",
1468
+ /** Recover */
1176
1469
  Recover = "recover",
1470
+ /** Purge */
1177
1471
  Purge = "purge"
1178
1472
  }
1179
1473
  /**
@@ -1191,25 +1485,42 @@ export declare enum KnownSecretPermissions {
1191
1485
  * **recover** \
1192
1486
  * **purge**
1193
1487
  */
1194
- export declare type SecretPermissions = string;
1488
+ export type SecretPermissions = string;
1195
1489
  /** Known values of {@link CertificatePermissions} that the service accepts. */
1196
1490
  export declare enum KnownCertificatePermissions {
1491
+ /** All */
1197
1492
  All = "all",
1493
+ /** Get */
1198
1494
  Get = "get",
1495
+ /** List */
1199
1496
  List = "list",
1497
+ /** Delete */
1200
1498
  Delete = "delete",
1499
+ /** Create */
1201
1500
  Create = "create",
1501
+ /** Import */
1202
1502
  Import = "import",
1503
+ /** Update */
1203
1504
  Update = "update",
1505
+ /** Managecontacts */
1204
1506
  Managecontacts = "managecontacts",
1507
+ /** Getissuers */
1205
1508
  Getissuers = "getissuers",
1509
+ /** Listissuers */
1206
1510
  Listissuers = "listissuers",
1511
+ /** Setissuers */
1207
1512
  Setissuers = "setissuers",
1513
+ /** Deleteissuers */
1208
1514
  Deleteissuers = "deleteissuers",
1515
+ /** Manageissuers */
1209
1516
  Manageissuers = "manageissuers",
1517
+ /** Recover */
1210
1518
  Recover = "recover",
1519
+ /** Purge */
1211
1520
  Purge = "purge",
1521
+ /** Backup */
1212
1522
  Backup = "backup",
1523
+ /** Restore */
1213
1524
  Restore = "restore"
1214
1525
  }
1215
1526
  /**
@@ -1235,23 +1546,38 @@ export declare enum KnownCertificatePermissions {
1235
1546
  * **backup** \
1236
1547
  * **restore**
1237
1548
  */
1238
- export declare type CertificatePermissions = string;
1549
+ export type CertificatePermissions = string;
1239
1550
  /** Known values of {@link StoragePermissions} that the service accepts. */
1240
1551
  export declare enum KnownStoragePermissions {
1552
+ /** All */
1241
1553
  All = "all",
1554
+ /** Get */
1242
1555
  Get = "get",
1556
+ /** List */
1243
1557
  List = "list",
1558
+ /** Delete */
1244
1559
  Delete = "delete",
1560
+ /** Set */
1245
1561
  Set = "set",
1562
+ /** Update */
1246
1563
  Update = "update",
1564
+ /** Regeneratekey */
1247
1565
  Regeneratekey = "regeneratekey",
1566
+ /** Recover */
1248
1567
  Recover = "recover",
1568
+ /** Purge */
1249
1569
  Purge = "purge",
1570
+ /** Backup */
1250
1571
  Backup = "backup",
1572
+ /** Restore */
1251
1573
  Restore = "restore",
1574
+ /** Setsas */
1252
1575
  Setsas = "setsas",
1576
+ /** Listsas */
1253
1577
  Listsas = "listsas",
1578
+ /** Getsas */
1254
1579
  Getsas = "getsas",
1580
+ /** Deletesas */
1255
1581
  Deletesas = "deletesas"
1256
1582
  }
1257
1583
  /**
@@ -1275,10 +1601,12 @@ export declare enum KnownStoragePermissions {
1275
1601
  * **getsas** \
1276
1602
  * **deletesas**
1277
1603
  */
1278
- export declare type StoragePermissions = string;
1604
+ export type StoragePermissions = string;
1279
1605
  /** Known values of {@link NetworkRuleBypassOptions} that the service accepts. */
1280
1606
  export declare enum KnownNetworkRuleBypassOptions {
1607
+ /** AzureServices */
1281
1608
  AzureServices = "AzureServices",
1609
+ /** None */
1282
1610
  None = "None"
1283
1611
  }
1284
1612
  /**
@@ -1289,10 +1617,12 @@ export declare enum KnownNetworkRuleBypassOptions {
1289
1617
  * **AzureServices** \
1290
1618
  * **None**
1291
1619
  */
1292
- export declare type NetworkRuleBypassOptions = string;
1620
+ export type NetworkRuleBypassOptions = string;
1293
1621
  /** Known values of {@link NetworkRuleAction} that the service accepts. */
1294
1622
  export declare enum KnownNetworkRuleAction {
1623
+ /** Allow */
1295
1624
  Allow = "Allow",
1625
+ /** Deny */
1296
1626
  Deny = "Deny"
1297
1627
  }
1298
1628
  /**
@@ -1303,10 +1633,12 @@ export declare enum KnownNetworkRuleAction {
1303
1633
  * **Allow** \
1304
1634
  * **Deny**
1305
1635
  */
1306
- export declare type NetworkRuleAction = string;
1636
+ export type NetworkRuleAction = string;
1307
1637
  /** Known values of {@link VaultProvisioningState} that the service accepts. */
1308
1638
  export declare enum KnownVaultProvisioningState {
1639
+ /** Succeeded */
1309
1640
  Succeeded = "Succeeded",
1641
+ /** RegisteringDns */
1310
1642
  RegisteringDns = "RegisteringDns"
1311
1643
  }
1312
1644
  /**
@@ -1317,12 +1649,16 @@ export declare enum KnownVaultProvisioningState {
1317
1649
  * **Succeeded** \
1318
1650
  * **RegisteringDns**
1319
1651
  */
1320
- export declare type VaultProvisioningState = string;
1652
+ export type VaultProvisioningState = string;
1321
1653
  /** Known values of {@link PrivateEndpointServiceConnectionStatus} that the service accepts. */
1322
1654
  export declare enum KnownPrivateEndpointServiceConnectionStatus {
1655
+ /** Pending */
1323
1656
  Pending = "Pending",
1657
+ /** Approved */
1324
1658
  Approved = "Approved",
1659
+ /** Rejected */
1325
1660
  Rejected = "Rejected",
1661
+ /** Disconnected */
1326
1662
  Disconnected = "Disconnected"
1327
1663
  }
1328
1664
  /**
@@ -1335,9 +1671,10 @@ export declare enum KnownPrivateEndpointServiceConnectionStatus {
1335
1671
  * **Rejected** \
1336
1672
  * **Disconnected**
1337
1673
  */
1338
- export declare type PrivateEndpointServiceConnectionStatus = string;
1674
+ export type PrivateEndpointServiceConnectionStatus = string;
1339
1675
  /** Known values of {@link ActionsRequired} that the service accepts. */
1340
1676
  export declare enum KnownActionsRequired {
1677
+ /** None */
1341
1678
  None = "None"
1342
1679
  }
1343
1680
  /**
@@ -1347,14 +1684,20 @@ export declare enum KnownActionsRequired {
1347
1684
  * ### Known values supported by the service
1348
1685
  * **None**
1349
1686
  */
1350
- export declare type ActionsRequired = string;
1687
+ export type ActionsRequired = string;
1351
1688
  /** Known values of {@link PrivateEndpointConnectionProvisioningState} that the service accepts. */
1352
1689
  export declare enum KnownPrivateEndpointConnectionProvisioningState {
1690
+ /** Succeeded */
1353
1691
  Succeeded = "Succeeded",
1692
+ /** Creating */
1354
1693
  Creating = "Creating",
1694
+ /** Updating */
1355
1695
  Updating = "Updating",
1696
+ /** Deleting */
1356
1697
  Deleting = "Deleting",
1698
+ /** Failed */
1357
1699
  Failed = "Failed",
1700
+ /** Disconnected */
1358
1701
  Disconnected = "Disconnected"
1359
1702
  }
1360
1703
  /**
@@ -1369,12 +1712,16 @@ export declare enum KnownPrivateEndpointConnectionProvisioningState {
1369
1712
  * **Failed** \
1370
1713
  * **Disconnected**
1371
1714
  */
1372
- export declare type PrivateEndpointConnectionProvisioningState = string;
1715
+ export type PrivateEndpointConnectionProvisioningState = string;
1373
1716
  /** Known values of {@link IdentityType} that the service accepts. */
1374
1717
  export declare enum KnownIdentityType {
1718
+ /** User */
1375
1719
  User = "User",
1720
+ /** Application */
1376
1721
  Application = "Application",
1722
+ /** ManagedIdentity */
1377
1723
  ManagedIdentity = "ManagedIdentity",
1724
+ /** Key */
1378
1725
  Key = "Key"
1379
1726
  }
1380
1727
  /**
@@ -1387,7 +1734,7 @@ export declare enum KnownIdentityType {
1387
1734
  * **ManagedIdentity** \
1388
1735
  * **Key**
1389
1736
  */
1390
- export declare type IdentityType = string;
1737
+ export type IdentityType = string;
1391
1738
  /** Known values of {@link ProvisioningState} that the service accepts. */
1392
1739
  export declare enum KnownProvisioningState {
1393
1740
  /** The managed HSM Pool has been full provisioned. */
@@ -1421,10 +1768,40 @@ export declare enum KnownProvisioningState {
1421
1768
  * **SecurityDomainRestore**: The managed HSM pool is waiting for a security domain restore action. \
1422
1769
  * **Restoring**: The managed HSM pool is being restored from full HSM backup.
1423
1770
  */
1424
- 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;
1425
1800
  /** Known values of {@link PublicNetworkAccess} that the service accepts. */
1426
1801
  export declare enum KnownPublicNetworkAccess {
1802
+ /** Enabled */
1427
1803
  Enabled = "Enabled",
1804
+ /** Disabled */
1428
1805
  Disabled = "Disabled"
1429
1806
  }
1430
1807
  /**
@@ -1435,9 +1812,32 @@ export declare enum KnownPublicNetworkAccess {
1435
1812
  * **Enabled** \
1436
1813
  * **Disabled**
1437
1814
  */
1438
- 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;
1439
1838
  /** Known values of {@link ManagedHsmSkuFamily} that the service accepts. */
1440
1839
  export declare enum KnownManagedHsmSkuFamily {
1840
+ /** B */
1441
1841
  B = "B"
1442
1842
  }
1443
1843
  /**
@@ -1447,54 +1847,89 @@ export declare enum KnownManagedHsmSkuFamily {
1447
1847
  * ### Known values supported by the service
1448
1848
  * **B**
1449
1849
  */
1450
- export declare type ManagedHsmSkuFamily = string;
1850
+ export type ManagedHsmSkuFamily = string;
1451
1851
  /** Defines values for KeyRotationPolicyActionType. */
1452
- export declare type KeyRotationPolicyActionType = "rotate" | "notify";
1852
+ export type KeyRotationPolicyActionType = "rotate" | "notify";
1453
1853
  /** Defines values for SkuName. */
1454
- export declare type SkuName = "standard" | "premium";
1854
+ export type SkuName = "standard" | "premium";
1455
1855
  /** Defines values for CreateMode. */
1456
- export declare type CreateMode = "recover" | "default";
1856
+ export type CreateMode = "recover" | "default";
1457
1857
  /** Defines values for AccessPolicyUpdateKind. */
1458
- export declare type AccessPolicyUpdateKind = "add" | "replace" | "remove";
1858
+ export type AccessPolicyUpdateKind = "add" | "replace" | "remove";
1459
1859
  /** Defines values for Reason. */
1460
- export declare type Reason = "AccountNameInvalid" | "AlreadyExists";
1860
+ export type Reason = "AccountNameInvalid" | "AlreadyExists";
1461
1861
  /** Defines values for ManagedHsmSkuName. */
1462
- export declare type ManagedHsmSkuName = "Standard_B1" | "Custom_B32";
1862
+ export type ManagedHsmSkuName = "Standard_B1" | "Custom_B32";
1463
1863
  /** Optional parameters. */
1464
1864
  export interface KeysCreateIfNotExistOptionalParams extends coreClient.OperationOptions {
1465
1865
  }
1466
1866
  /** Contains response data for the createIfNotExist operation. */
1467
- export declare type KeysCreateIfNotExistResponse = Key;
1867
+ export type KeysCreateIfNotExistResponse = Key;
1468
1868
  /** Optional parameters. */
1469
1869
  export interface KeysGetOptionalParams extends coreClient.OperationOptions {
1470
1870
  }
1471
1871
  /** Contains response data for the get operation. */
1472
- export declare type KeysGetResponse = Key;
1872
+ export type KeysGetResponse = Key;
1473
1873
  /** Optional parameters. */
1474
1874
  export interface KeysListOptionalParams extends coreClient.OperationOptions {
1475
1875
  }
1476
1876
  /** Contains response data for the list operation. */
1477
- export declare type KeysListResponse = KeyListResult;
1877
+ export type KeysListResponse = KeyListResult;
1478
1878
  /** Optional parameters. */
1479
1879
  export interface KeysGetVersionOptionalParams extends coreClient.OperationOptions {
1480
1880
  }
1481
1881
  /** Contains response data for the getVersion operation. */
1482
- export declare type KeysGetVersionResponse = Key;
1882
+ export type KeysGetVersionResponse = Key;
1483
1883
  /** Optional parameters. */
1484
1884
  export interface KeysListVersionsOptionalParams extends coreClient.OperationOptions {
1485
1885
  }
1486
1886
  /** Contains response data for the listVersions operation. */
1487
- export declare type KeysListVersionsResponse = KeyListResult;
1887
+ export type KeysListVersionsResponse = KeyListResult;
1488
1888
  /** Optional parameters. */
1489
1889
  export interface KeysListNextOptionalParams extends coreClient.OperationOptions {
1490
1890
  }
1491
1891
  /** Contains response data for the listNext operation. */
1492
- export declare type KeysListNextResponse = KeyListResult;
1892
+ export type KeysListNextResponse = KeyListResult;
1493
1893
  /** Optional parameters. */
1494
1894
  export interface KeysListVersionsNextOptionalParams extends coreClient.OperationOptions {
1495
1895
  }
1496
1896
  /** Contains response data for the listVersionsNext operation. */
1497
- 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;
1498
1933
  /** Optional parameters. */
1499
1934
  export interface VaultsCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
1500
1935
  /** Delay to wait until next poll, in milliseconds. */
@@ -1503,12 +1938,12 @@ export interface VaultsCreateOrUpdateOptionalParams extends coreClient.Operation
1503
1938
  resumeFrom?: string;
1504
1939
  }
1505
1940
  /** Contains response data for the createOrUpdate operation. */
1506
- export declare type VaultsCreateOrUpdateResponse = Vault;
1941
+ export type VaultsCreateOrUpdateResponse = Vault;
1507
1942
  /** Optional parameters. */
1508
1943
  export interface VaultsUpdateOptionalParams extends coreClient.OperationOptions {
1509
1944
  }
1510
1945
  /** Contains response data for the update operation. */
1511
- export declare type VaultsUpdateResponse = Vault;
1946
+ export type VaultsUpdateResponse = Vault;
1512
1947
  /** Optional parameters. */
1513
1948
  export interface VaultsDeleteOptionalParams extends coreClient.OperationOptions {
1514
1949
  }
@@ -1516,36 +1951,36 @@ export interface VaultsDeleteOptionalParams extends coreClient.OperationOptions
1516
1951
  export interface VaultsGetOptionalParams extends coreClient.OperationOptions {
1517
1952
  }
1518
1953
  /** Contains response data for the get operation. */
1519
- export declare type VaultsGetResponse = Vault;
1954
+ export type VaultsGetResponse = Vault;
1520
1955
  /** Optional parameters. */
1521
1956
  export interface VaultsUpdateAccessPolicyOptionalParams extends coreClient.OperationOptions {
1522
1957
  }
1523
1958
  /** Contains response data for the updateAccessPolicy operation. */
1524
- export declare type VaultsUpdateAccessPolicyResponse = VaultAccessPolicyParameters;
1959
+ export type VaultsUpdateAccessPolicyResponse = VaultAccessPolicyParameters;
1525
1960
  /** Optional parameters. */
1526
1961
  export interface VaultsListByResourceGroupOptionalParams extends coreClient.OperationOptions {
1527
1962
  /** Maximum number of results to return. */
1528
1963
  top?: number;
1529
1964
  }
1530
1965
  /** Contains response data for the listByResourceGroup operation. */
1531
- export declare type VaultsListByResourceGroupResponse = VaultListResult;
1966
+ export type VaultsListByResourceGroupResponse = VaultListResult;
1532
1967
  /** Optional parameters. */
1533
1968
  export interface VaultsListBySubscriptionOptionalParams extends coreClient.OperationOptions {
1534
1969
  /** Maximum number of results to return. */
1535
1970
  top?: number;
1536
1971
  }
1537
1972
  /** Contains response data for the listBySubscription operation. */
1538
- export declare type VaultsListBySubscriptionResponse = VaultListResult;
1973
+ export type VaultsListBySubscriptionResponse = VaultListResult;
1539
1974
  /** Optional parameters. */
1540
1975
  export interface VaultsListDeletedOptionalParams extends coreClient.OperationOptions {
1541
1976
  }
1542
1977
  /** Contains response data for the listDeleted operation. */
1543
- export declare type VaultsListDeletedResponse = DeletedVaultListResult;
1978
+ export type VaultsListDeletedResponse = DeletedVaultListResult;
1544
1979
  /** Optional parameters. */
1545
1980
  export interface VaultsGetDeletedOptionalParams extends coreClient.OperationOptions {
1546
1981
  }
1547
1982
  /** Contains response data for the getDeleted operation. */
1548
- export declare type VaultsGetDeletedResponse = DeletedVault;
1983
+ export type VaultsGetDeletedResponse = DeletedVault;
1549
1984
  /** Optional parameters. */
1550
1985
  export interface VaultsPurgeDeletedOptionalParams extends coreClient.OperationOptions {
1551
1986
  /** Delay to wait until next poll, in milliseconds. */
@@ -1559,48 +1994,42 @@ export interface VaultsListOptionalParams extends coreClient.OperationOptions {
1559
1994
  top?: number;
1560
1995
  }
1561
1996
  /** Contains response data for the list operation. */
1562
- export declare type VaultsListResponse = ResourceListResult;
1997
+ export type VaultsListResponse = ResourceListResult;
1563
1998
  /** Optional parameters. */
1564
1999
  export interface VaultsCheckNameAvailabilityOptionalParams extends coreClient.OperationOptions {
1565
2000
  }
1566
2001
  /** Contains response data for the checkNameAvailability operation. */
1567
- export declare type VaultsCheckNameAvailabilityResponse = CheckNameAvailabilityResult;
2002
+ export type VaultsCheckNameAvailabilityResponse = CheckNameAvailabilityResult;
1568
2003
  /** Optional parameters. */
1569
2004
  export interface VaultsListByResourceGroupNextOptionalParams extends coreClient.OperationOptions {
1570
- /** Maximum number of results to return. */
1571
- top?: number;
1572
2005
  }
1573
2006
  /** Contains response data for the listByResourceGroupNext operation. */
1574
- export declare type VaultsListByResourceGroupNextResponse = VaultListResult;
2007
+ export type VaultsListByResourceGroupNextResponse = VaultListResult;
1575
2008
  /** Optional parameters. */
1576
2009
  export interface VaultsListBySubscriptionNextOptionalParams extends coreClient.OperationOptions {
1577
- /** Maximum number of results to return. */
1578
- top?: number;
1579
2010
  }
1580
2011
  /** Contains response data for the listBySubscriptionNext operation. */
1581
- export declare type VaultsListBySubscriptionNextResponse = VaultListResult;
2012
+ export type VaultsListBySubscriptionNextResponse = VaultListResult;
1582
2013
  /** Optional parameters. */
1583
2014
  export interface VaultsListDeletedNextOptionalParams extends coreClient.OperationOptions {
1584
2015
  }
1585
2016
  /** Contains response data for the listDeletedNext operation. */
1586
- export declare type VaultsListDeletedNextResponse = DeletedVaultListResult;
2017
+ export type VaultsListDeletedNextResponse = DeletedVaultListResult;
1587
2018
  /** Optional parameters. */
1588
2019
  export interface VaultsListNextOptionalParams extends coreClient.OperationOptions {
1589
- /** Maximum number of results to return. */
1590
- top?: number;
1591
2020
  }
1592
2021
  /** Contains response data for the listNext operation. */
1593
- export declare type VaultsListNextResponse = ResourceListResult;
2022
+ export type VaultsListNextResponse = ResourceListResult;
1594
2023
  /** Optional parameters. */
1595
2024
  export interface PrivateEndpointConnectionsGetOptionalParams extends coreClient.OperationOptions {
1596
2025
  }
1597
2026
  /** Contains response data for the get operation. */
1598
- export declare type PrivateEndpointConnectionsGetResponse = PrivateEndpointConnection;
2027
+ export type PrivateEndpointConnectionsGetResponse = PrivateEndpointConnection;
1599
2028
  /** Optional parameters. */
1600
2029
  export interface PrivateEndpointConnectionsPutOptionalParams extends coreClient.OperationOptions {
1601
2030
  }
1602
2031
  /** Contains response data for the put operation. */
1603
- export declare type PrivateEndpointConnectionsPutResponse = PrivateEndpointConnectionsPutHeaders & PrivateEndpointConnection;
2032
+ export type PrivateEndpointConnectionsPutResponse = PrivateEndpointConnectionsPutHeaders & PrivateEndpointConnection;
1604
2033
  /** Optional parameters. */
1605
2034
  export interface PrivateEndpointConnectionsDeleteOptionalParams extends coreClient.OperationOptions {
1606
2035
  /** Delay to wait until next poll, in milliseconds. */
@@ -1609,22 +2038,22 @@ export interface PrivateEndpointConnectionsDeleteOptionalParams extends coreClie
1609
2038
  resumeFrom?: string;
1610
2039
  }
1611
2040
  /** Contains response data for the delete operation. */
1612
- export declare type PrivateEndpointConnectionsDeleteResponse = PrivateEndpointConnection;
2041
+ export type PrivateEndpointConnectionsDeleteResponse = PrivateEndpointConnection;
1613
2042
  /** Optional parameters. */
1614
2043
  export interface PrivateEndpointConnectionsListByResourceOptionalParams extends coreClient.OperationOptions {
1615
2044
  }
1616
2045
  /** Contains response data for the listByResource operation. */
1617
- export declare type PrivateEndpointConnectionsListByResourceResponse = PrivateEndpointConnectionListResult;
2046
+ export type PrivateEndpointConnectionsListByResourceResponse = PrivateEndpointConnectionListResult;
1618
2047
  /** Optional parameters. */
1619
2048
  export interface PrivateEndpointConnectionsListByResourceNextOptionalParams extends coreClient.OperationOptions {
1620
2049
  }
1621
2050
  /** Contains response data for the listByResourceNext operation. */
1622
- export declare type PrivateEndpointConnectionsListByResourceNextResponse = PrivateEndpointConnectionListResult;
2051
+ export type PrivateEndpointConnectionsListByResourceNextResponse = PrivateEndpointConnectionListResult;
1623
2052
  /** Optional parameters. */
1624
2053
  export interface PrivateLinkResourcesListByVaultOptionalParams extends coreClient.OperationOptions {
1625
2054
  }
1626
2055
  /** Contains response data for the listByVault operation. */
1627
- export declare type PrivateLinkResourcesListByVaultResponse = PrivateLinkResourceListResult;
2056
+ export type PrivateLinkResourcesListByVaultResponse = PrivateLinkResourceListResult;
1628
2057
  /** Optional parameters. */
1629
2058
  export interface ManagedHsmsCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
1630
2059
  /** Delay to wait until next poll, in milliseconds. */
@@ -1633,7 +2062,7 @@ export interface ManagedHsmsCreateOrUpdateOptionalParams extends coreClient.Oper
1633
2062
  resumeFrom?: string;
1634
2063
  }
1635
2064
  /** Contains response data for the createOrUpdate operation. */
1636
- export declare type ManagedHsmsCreateOrUpdateResponse = ManagedHsm;
2065
+ export type ManagedHsmsCreateOrUpdateResponse = ManagedHsm;
1637
2066
  /** Optional parameters. */
1638
2067
  export interface ManagedHsmsUpdateOptionalParams extends coreClient.OperationOptions {
1639
2068
  /** Delay to wait until next poll, in milliseconds. */
@@ -1642,7 +2071,7 @@ export interface ManagedHsmsUpdateOptionalParams extends coreClient.OperationOpt
1642
2071
  resumeFrom?: string;
1643
2072
  }
1644
2073
  /** Contains response data for the update operation. */
1645
- export declare type ManagedHsmsUpdateResponse = ManagedHsm;
2074
+ export type ManagedHsmsUpdateResponse = ManagedHsm;
1646
2075
  /** Optional parameters. */
1647
2076
  export interface ManagedHsmsDeleteOptionalParams extends coreClient.OperationOptions {
1648
2077
  /** Delay to wait until next poll, in milliseconds. */
@@ -1654,31 +2083,31 @@ export interface ManagedHsmsDeleteOptionalParams extends coreClient.OperationOpt
1654
2083
  export interface ManagedHsmsGetOptionalParams extends coreClient.OperationOptions {
1655
2084
  }
1656
2085
  /** Contains response data for the get operation. */
1657
- export declare type ManagedHsmsGetResponse = ManagedHsm;
2086
+ export type ManagedHsmsGetResponse = ManagedHsm;
1658
2087
  /** Optional parameters. */
1659
2088
  export interface ManagedHsmsListByResourceGroupOptionalParams extends coreClient.OperationOptions {
1660
2089
  /** Maximum number of results to return. */
1661
2090
  top?: number;
1662
2091
  }
1663
2092
  /** Contains response data for the listByResourceGroup operation. */
1664
- export declare type ManagedHsmsListByResourceGroupResponse = ManagedHsmListResult;
2093
+ export type ManagedHsmsListByResourceGroupResponse = ManagedHsmListResult;
1665
2094
  /** Optional parameters. */
1666
2095
  export interface ManagedHsmsListBySubscriptionOptionalParams extends coreClient.OperationOptions {
1667
2096
  /** Maximum number of results to return. */
1668
2097
  top?: number;
1669
2098
  }
1670
2099
  /** Contains response data for the listBySubscription operation. */
1671
- export declare type ManagedHsmsListBySubscriptionResponse = ManagedHsmListResult;
2100
+ export type ManagedHsmsListBySubscriptionResponse = ManagedHsmListResult;
1672
2101
  /** Optional parameters. */
1673
2102
  export interface ManagedHsmsListDeletedOptionalParams extends coreClient.OperationOptions {
1674
2103
  }
1675
2104
  /** Contains response data for the listDeleted operation. */
1676
- export declare type ManagedHsmsListDeletedResponse = DeletedManagedHsmListResult;
2105
+ export type ManagedHsmsListDeletedResponse = DeletedManagedHsmListResult;
1677
2106
  /** Optional parameters. */
1678
2107
  export interface ManagedHsmsGetDeletedOptionalParams extends coreClient.OperationOptions {
1679
2108
  }
1680
2109
  /** Contains response data for the getDeleted operation. */
1681
- export declare type ManagedHsmsGetDeletedResponse = DeletedManagedHsm;
2110
+ export type ManagedHsmsGetDeletedResponse = DeletedManagedHsm;
1682
2111
  /** Optional parameters. */
1683
2112
  export interface ManagedHsmsPurgeDeletedOptionalParams extends coreClient.OperationOptions {
1684
2113
  /** Delay to wait until next poll, in milliseconds. */
@@ -1686,40 +2115,43 @@ export interface ManagedHsmsPurgeDeletedOptionalParams extends coreClient.Operat
1686
2115
  /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1687
2116
  resumeFrom?: string;
1688
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;
1689
2125
  /** Optional parameters. */
1690
2126
  export interface ManagedHsmsListByResourceGroupNextOptionalParams extends coreClient.OperationOptions {
1691
- /** Maximum number of results to return. */
1692
- top?: number;
1693
2127
  }
1694
2128
  /** Contains response data for the listByResourceGroupNext operation. */
1695
- export declare type ManagedHsmsListByResourceGroupNextResponse = ManagedHsmListResult;
2129
+ export type ManagedHsmsListByResourceGroupNextResponse = ManagedHsmListResult;
1696
2130
  /** Optional parameters. */
1697
2131
  export interface ManagedHsmsListBySubscriptionNextOptionalParams extends coreClient.OperationOptions {
1698
- /** Maximum number of results to return. */
1699
- top?: number;
1700
2132
  }
1701
2133
  /** Contains response data for the listBySubscriptionNext operation. */
1702
- export declare type ManagedHsmsListBySubscriptionNextResponse = ManagedHsmListResult;
2134
+ export type ManagedHsmsListBySubscriptionNextResponse = ManagedHsmListResult;
1703
2135
  /** Optional parameters. */
1704
2136
  export interface ManagedHsmsListDeletedNextOptionalParams extends coreClient.OperationOptions {
1705
2137
  }
1706
2138
  /** Contains response data for the listDeletedNext operation. */
1707
- export declare type ManagedHsmsListDeletedNextResponse = DeletedManagedHsmListResult;
2139
+ export type ManagedHsmsListDeletedNextResponse = DeletedManagedHsmListResult;
1708
2140
  /** Optional parameters. */
1709
2141
  export interface MhsmPrivateEndpointConnectionsListByResourceOptionalParams extends coreClient.OperationOptions {
1710
2142
  }
1711
2143
  /** Contains response data for the listByResource operation. */
1712
- export declare type MhsmPrivateEndpointConnectionsListByResourceResponse = MhsmPrivateEndpointConnectionsListResult;
2144
+ export type MhsmPrivateEndpointConnectionsListByResourceResponse = MhsmPrivateEndpointConnectionsListResult;
1713
2145
  /** Optional parameters. */
1714
2146
  export interface MhsmPrivateEndpointConnectionsGetOptionalParams extends coreClient.OperationOptions {
1715
2147
  }
1716
2148
  /** Contains response data for the get operation. */
1717
- export declare type MhsmPrivateEndpointConnectionsGetResponse = MhsmPrivateEndpointConnection;
2149
+ export type MhsmPrivateEndpointConnectionsGetResponse = MhsmPrivateEndpointConnection;
1718
2150
  /** Optional parameters. */
1719
2151
  export interface MhsmPrivateEndpointConnectionsPutOptionalParams extends coreClient.OperationOptions {
1720
2152
  }
1721
2153
  /** Contains response data for the put operation. */
1722
- export declare type MhsmPrivateEndpointConnectionsPutResponse = MhsmPrivateEndpointConnectionsPutHeaders & MhsmPrivateEndpointConnection;
2154
+ export type MhsmPrivateEndpointConnectionsPutResponse = MhsmPrivateEndpointConnectionsPutHeaders & MhsmPrivateEndpointConnection;
1723
2155
  /** Optional parameters. */
1724
2156
  export interface MhsmPrivateEndpointConnectionsDeleteOptionalParams extends coreClient.OperationOptions {
1725
2157
  /** Delay to wait until next poll, in milliseconds. */
@@ -1728,56 +2160,64 @@ export interface MhsmPrivateEndpointConnectionsDeleteOptionalParams extends core
1728
2160
  resumeFrom?: string;
1729
2161
  }
1730
2162
  /** Contains response data for the delete operation. */
1731
- export declare type MhsmPrivateEndpointConnectionsDeleteResponse = MhsmPrivateEndpointConnection;
2163
+ export type MhsmPrivateEndpointConnectionsDeleteResponse = MhsmPrivateEndpointConnection;
1732
2164
  /** Optional parameters. */
1733
2165
  export interface MhsmPrivateEndpointConnectionsListByResourceNextOptionalParams extends coreClient.OperationOptions {
1734
2166
  }
1735
2167
  /** Contains response data for the listByResourceNext operation. */
1736
- export declare type MhsmPrivateEndpointConnectionsListByResourceNextResponse = MhsmPrivateEndpointConnectionsListResult;
2168
+ export type MhsmPrivateEndpointConnectionsListByResourceNextResponse = MhsmPrivateEndpointConnectionsListResult;
1737
2169
  /** Optional parameters. */
1738
2170
  export interface MhsmPrivateLinkResourcesListByMhsmResourceOptionalParams extends coreClient.OperationOptions {
1739
2171
  }
1740
2172
  /** Contains response data for the listByMhsmResource operation. */
1741
- 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;
1742
2184
  /** Optional parameters. */
1743
2185
  export interface OperationsListOptionalParams extends coreClient.OperationOptions {
1744
2186
  }
1745
2187
  /** Contains response data for the list operation. */
1746
- export declare type OperationsListResponse = OperationListResult;
2188
+ export type OperationsListResponse = OperationListResult;
1747
2189
  /** Optional parameters. */
1748
2190
  export interface OperationsListNextOptionalParams extends coreClient.OperationOptions {
1749
2191
  }
1750
2192
  /** Contains response data for the listNext operation. */
1751
- export declare type OperationsListNextResponse = OperationListResult;
2193
+ export type OperationsListNextResponse = OperationListResult;
1752
2194
  /** Optional parameters. */
1753
2195
  export interface SecretsCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
1754
2196
  }
1755
2197
  /** Contains response data for the createOrUpdate operation. */
1756
- export declare type SecretsCreateOrUpdateResponse = Secret;
2198
+ export type SecretsCreateOrUpdateResponse = Secret;
1757
2199
  /** Optional parameters. */
1758
2200
  export interface SecretsUpdateOptionalParams extends coreClient.OperationOptions {
1759
2201
  }
1760
2202
  /** Contains response data for the update operation. */
1761
- export declare type SecretsUpdateResponse = Secret;
2203
+ export type SecretsUpdateResponse = Secret;
1762
2204
  /** Optional parameters. */
1763
2205
  export interface SecretsGetOptionalParams extends coreClient.OperationOptions {
1764
2206
  }
1765
2207
  /** Contains response data for the get operation. */
1766
- export declare type SecretsGetResponse = Secret;
2208
+ export type SecretsGetResponse = Secret;
1767
2209
  /** Optional parameters. */
1768
2210
  export interface SecretsListOptionalParams extends coreClient.OperationOptions {
1769
2211
  /** Maximum number of results to return. */
1770
2212
  top?: number;
1771
2213
  }
1772
2214
  /** Contains response data for the list operation. */
1773
- export declare type SecretsListResponse = SecretListResult;
2215
+ export type SecretsListResponse = SecretListResult;
1774
2216
  /** Optional parameters. */
1775
2217
  export interface SecretsListNextOptionalParams extends coreClient.OperationOptions {
1776
- /** Maximum number of results to return. */
1777
- top?: number;
1778
2218
  }
1779
2219
  /** Contains response data for the listNext operation. */
1780
- export declare type SecretsListNextResponse = SecretListResult;
2220
+ export type SecretsListNextResponse = SecretListResult;
1781
2221
  /** Optional parameters. */
1782
2222
  export interface KeyVaultManagementClientOptionalParams extends coreClient.ServiceClientOptions {
1783
2223
  /** server parameter */