@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
@@ -169,6 +169,145 @@ export interface KeyListResult {
169
169
  nextLink?: string;
170
170
  }
171
171
 
172
+ /** The parameters used to create a key. */
173
+ export interface ManagedHsmKeyCreateParameters {
174
+ /** The tags that will be assigned to the key. */
175
+ tags?: { [propertyName: string]: string };
176
+ /** The properties of the key to be created. */
177
+ properties: ManagedHsmKeyProperties;
178
+ }
179
+
180
+ /** The properties of the key. */
181
+ export interface ManagedHsmKeyProperties {
182
+ /** The attributes of the key. */
183
+ attributes?: ManagedHsmKeyAttributes;
184
+ /** The type of the key. For valid values, see JsonWebKeyType. */
185
+ kty?: JsonWebKeyType;
186
+ keyOps?: JsonWebKeyOperation[];
187
+ /** The key size in bits. For example: 2048, 3072, or 4096 for RSA. */
188
+ keySize?: number;
189
+ /** The elliptic curve name. For valid values, see JsonWebKeyCurveName. */
190
+ curveName?: JsonWebKeyCurveName;
191
+ /**
192
+ * The URI to retrieve the current version of the key.
193
+ * NOTE: This property will not be serialized. It can only be populated by the server.
194
+ */
195
+ readonly keyUri?: string;
196
+ /**
197
+ * The URI to retrieve the specific version of the key.
198
+ * NOTE: This property will not be serialized. It can only be populated by the server.
199
+ */
200
+ readonly keyUriWithVersion?: string;
201
+ /** Key rotation policy in response. It will be used for both output and input. Omitted if empty */
202
+ rotationPolicy?: ManagedHsmRotationPolicy;
203
+ /** Key release policy in response. It will be used for both output and input. Omitted if empty */
204
+ releasePolicy?: ManagedHsmKeyReleasePolicy;
205
+ }
206
+
207
+ /** The object attributes managed by the Azure Key Vault service. */
208
+ export interface ManagedHsmKeyAttributes {
209
+ /** Determines whether or not the object is enabled. */
210
+ enabled?: boolean;
211
+ /** Not before date in seconds since 1970-01-01T00:00:00Z. */
212
+ notBefore?: number;
213
+ /** Expiry date in seconds since 1970-01-01T00:00:00Z. */
214
+ expires?: number;
215
+ /**
216
+ * Creation time in seconds since 1970-01-01T00:00:00Z.
217
+ * NOTE: This property will not be serialized. It can only be populated by the server.
218
+ */
219
+ readonly created?: number;
220
+ /**
221
+ * Last updated time in seconds since 1970-01-01T00:00:00Z.
222
+ * NOTE: This property will not be serialized. It can only be populated by the server.
223
+ */
224
+ readonly updated?: number;
225
+ /**
226
+ * 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.
227
+ * NOTE: This property will not be serialized. It can only be populated by the server.
228
+ */
229
+ readonly recoveryLevel?: DeletionRecoveryLevel;
230
+ /** Indicates if the private key can be exported. */
231
+ exportable?: boolean;
232
+ }
233
+
234
+ export interface ManagedHsmRotationPolicy {
235
+ /** The attributes of key rotation policy. */
236
+ attributes?: ManagedHsmKeyRotationPolicyAttributes;
237
+ /** The lifetimeActions for key rotation action. */
238
+ lifetimeActions?: ManagedHsmLifetimeAction[];
239
+ }
240
+
241
+ export interface ManagedHsmKeyRotationPolicyAttributes {
242
+ /**
243
+ * Creation time in seconds since 1970-01-01T00:00:00Z.
244
+ * NOTE: This property will not be serialized. It can only be populated by the server.
245
+ */
246
+ readonly created?: number;
247
+ /**
248
+ * Last updated time in seconds since 1970-01-01T00:00:00Z.
249
+ * NOTE: This property will not be serialized. It can only be populated by the server.
250
+ */
251
+ readonly updated?: number;
252
+ /** The expiration time for the new key version. It should be in ISO8601 format. Eg: 'P90D', 'P1Y'. */
253
+ expiryTime?: string;
254
+ }
255
+
256
+ export interface ManagedHsmLifetimeAction {
257
+ /** The trigger of key rotation policy lifetimeAction. */
258
+ trigger?: ManagedHsmTrigger;
259
+ /** The action of key rotation policy lifetimeAction. */
260
+ action?: ManagedHsmAction;
261
+ }
262
+
263
+ export interface ManagedHsmTrigger {
264
+ /** 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'. */
265
+ timeAfterCreate?: string;
266
+ /** The time duration before key expiring to rotate or notify. It will be in ISO 8601 duration format. Eg: 'P90D', 'P1Y'. */
267
+ timeBeforeExpiry?: string;
268
+ }
269
+
270
+ export interface ManagedHsmAction {
271
+ /** The type of action. */
272
+ type?: KeyRotationPolicyActionType;
273
+ }
274
+
275
+ export interface ManagedHsmKeyReleasePolicy {
276
+ /** Content type and version of key release policy */
277
+ contentType?: string;
278
+ /** Blob encoding the policy rules under which the key can be released. */
279
+ data?: Uint8Array;
280
+ }
281
+
282
+ /** Common fields that are returned in the response for all Azure Resource Manager resources */
283
+ export interface ProxyResourceWithoutSystemData {
284
+ /**
285
+ * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
286
+ * NOTE: This property will not be serialized. It can only be populated by the server.
287
+ */
288
+ readonly id?: string;
289
+ /**
290
+ * The name of the resource
291
+ * NOTE: This property will not be serialized. It can only be populated by the server.
292
+ */
293
+ readonly name?: string;
294
+ /**
295
+ * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
296
+ * NOTE: This property will not be serialized. It can only be populated by the server.
297
+ */
298
+ readonly type?: string;
299
+ /** Resource tags. */
300
+ tags?: { [propertyName: string]: string };
301
+ }
302
+
303
+ /** The page of keys. */
304
+ export interface ManagedHsmKeyListResult {
305
+ /** The key resources. */
306
+ value?: ManagedHsmKey[];
307
+ /** The URL to get the next page of keys. */
308
+ nextLink?: string;
309
+ }
310
+
172
311
  /** Parameters for creating or updating a vault */
173
312
  export interface VaultCreateOrUpdateParameters {
174
313
  /** The supported Azure location where the key vault should be created. */
@@ -204,7 +343,7 @@ export interface VaultProperties {
204
343
  enableSoftDelete?: boolean;
205
344
  /** softDelete data retention days. It accepts >=7 and <=90. */
206
345
  softDeleteRetentionInDays?: number;
207
- /** 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. */
346
+ /** 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. */
208
347
  enableRbacAuthorization?: boolean;
209
348
  /** The vault's create mode to indicate whether the vault need to be recovered or not. */
210
349
  createMode?: CreateMode;
@@ -384,7 +523,7 @@ export interface VaultPatchProperties {
384
523
  enabledForTemplateDeployment?: boolean;
385
524
  /** Property to specify whether the 'soft delete' functionality is enabled for this key vault. Once set to true, it cannot be reverted to false. */
386
525
  enableSoftDelete?: boolean;
387
- /** 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. */
526
+ /** 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. */
388
527
  enableRbacAuthorization?: boolean;
389
528
  /** softDelete data retention days. It accepts >=7 and <=90. */
390
529
  softDeleteRetentionInDays?: number;
@@ -581,6 +720,8 @@ export interface ManagedHsmProperties {
581
720
  readonly provisioningState?: ProvisioningState;
582
721
  /** Rules governing the accessibility of the key vault from specific network locations. */
583
722
  networkAcls?: MhsmNetworkRuleSet;
723
+ /** List of all regions associated with the managed hsm pool. */
724
+ regions?: MhsmGeoReplicatedRegion[];
584
725
  /**
585
726
  * List of private endpoint connections associated with the managed hsm pool.
586
727
  * NOTE: This property will not be serialized. It can only be populated by the server.
@@ -593,6 +734,11 @@ export interface ManagedHsmProperties {
593
734
  * NOTE: This property will not be serialized. It can only be populated by the server.
594
735
  */
595
736
  readonly scheduledPurgeDate?: Date;
737
+ /**
738
+ * Managed HSM security domain properties.
739
+ * NOTE: This property will not be serialized. It can only be populated by the server.
740
+ */
741
+ readonly securityDomainProperties?: ManagedHSMSecurityDomainProperties;
596
742
  }
597
743
 
598
744
  /** A set of rules governing the network accessibility of a managed hsm pool. */
@@ -607,7 +753,7 @@ export interface MhsmNetworkRuleSet {
607
753
  virtualNetworkRules?: MhsmVirtualNetworkRule[];
608
754
  }
609
755
 
610
- /** A rule governing the accessibility of a managed hsm pool from a specific ip address or ip range. */
756
+ /** A rule governing the accessibility of a managed HSM pool from a specific IP address or IP range. */
611
757
  export interface MhsmipRule {
612
758
  /** 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). */
613
759
  value: string;
@@ -619,8 +765,25 @@ export interface MhsmVirtualNetworkRule {
619
765
  id: string;
620
766
  }
621
767
 
768
+ /** A region that this managed HSM Pool has been extended to. */
769
+ export interface MhsmGeoReplicatedRegion {
770
+ /** Name of the geo replicated region. */
771
+ name?: string;
772
+ /**
773
+ * Provisioning state of the geo replicated region.
774
+ * NOTE: This property will not be serialized. It can only be populated by the server.
775
+ */
776
+ readonly provisioningState?: GeoReplicationRegionProvisioningState;
777
+ /** A boolean value that indicates whether the region is the primary region or a secondary region. */
778
+ isPrimary?: boolean;
779
+ }
780
+
622
781
  /** Private endpoint connection item. */
623
782
  export interface MhsmPrivateEndpointConnectionItem {
783
+ /** Id of private endpoint connection. */
784
+ id?: string;
785
+ /** Modified whenever there is a change in the state of private endpoint connection. */
786
+ etag?: string;
624
787
  /** Properties of the private endpoint object. */
625
788
  privateEndpoint?: MhsmPrivateEndpoint;
626
789
  /** Approval state of the private link connection. */
@@ -648,6 +811,20 @@ export interface MhsmPrivateLinkServiceConnectionState {
648
811
  actionsRequired?: ActionsRequired;
649
812
  }
650
813
 
814
+ /** The security domain properties of the managed hsm. */
815
+ export interface ManagedHSMSecurityDomainProperties {
816
+ /**
817
+ * Activation Status
818
+ * NOTE: This property will not be serialized. It can only be populated by the server.
819
+ */
820
+ readonly activationStatus?: ActivationStatus;
821
+ /**
822
+ * Activation Status Message.
823
+ * NOTE: This property will not be serialized. It can only be populated by the server.
824
+ */
825
+ readonly activationStatusMessage?: string;
826
+ }
827
+
651
828
  /** Managed HSM resource */
652
829
  export interface ManagedHsmResource {
653
830
  /**
@@ -798,6 +975,39 @@ export interface MhsmPrivateLinkResourceListResult {
798
975
  value?: MhsmPrivateLinkResource[];
799
976
  }
800
977
 
978
+ /** List of regions associated with a managed HSM Pools */
979
+ export interface MhsmRegionsListResult {
980
+ /** The region associated with a managed HSM Pools. */
981
+ value?: MhsmGeoReplicatedRegion[];
982
+ /** The URL to get the next set of managed HSM Pools. */
983
+ nextLink?: string;
984
+ }
985
+
986
+ /** The parameters used to check the availability of the managed hsm name. */
987
+ export interface CheckMhsmNameAvailabilityParameters {
988
+ /** The managed hsm name. */
989
+ name: string;
990
+ }
991
+
992
+ /** The CheckMhsmNameAvailability operation response. */
993
+ export interface CheckMhsmNameAvailabilityResult {
994
+ /**
995
+ * 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.
996
+ * NOTE: This property will not be serialized. It can only be populated by the server.
997
+ */
998
+ readonly nameAvailable?: boolean;
999
+ /**
1000
+ * The reason that a managed hsm name could not be used. The reason element is only returned if NameAvailable is false.
1001
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1002
+ */
1003
+ readonly reason?: Reason;
1004
+ /**
1005
+ * An error message explaining the Reason value in more detail.
1006
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1007
+ */
1008
+ readonly message?: string;
1009
+ }
1010
+
801
1011
  /** 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. */
802
1012
  export interface OperationListResult {
803
1013
  /** List of Storage operations supported by the Storage resource provider. */
@@ -961,7 +1171,7 @@ export interface SecretListResult {
961
1171
  }
962
1172
 
963
1173
  /** The key resource. */
964
- export type Key = Resource & {
1174
+ export interface Key extends Resource {
965
1175
  /** The attributes of the key. */
966
1176
  attributes?: KeyAttributes;
967
1177
  /** The type of the key. For valid values, see JsonWebKeyType. */
@@ -985,10 +1195,10 @@ export type Key = Resource & {
985
1195
  rotationPolicy?: RotationPolicy;
986
1196
  /** Key release policy in response. It will be used for both output and input. Omitted if empty */
987
1197
  releasePolicy?: KeyReleasePolicy;
988
- };
1198
+ }
989
1199
 
990
1200
  /** Private endpoint connection resource. */
991
- export type PrivateEndpointConnection = Resource & {
1201
+ export interface PrivateEndpointConnection extends Resource {
992
1202
  /** Modified whenever there is a change in the state of private endpoint connection. */
993
1203
  etag?: string;
994
1204
  /** Properties of the private endpoint object. */
@@ -997,10 +1207,10 @@ export type PrivateEndpointConnection = Resource & {
997
1207
  privateLinkServiceConnectionState?: PrivateLinkServiceConnectionState;
998
1208
  /** Provisioning state of the private endpoint connection. */
999
1209
  provisioningState?: PrivateEndpointConnectionProvisioningState;
1000
- };
1210
+ }
1001
1211
 
1002
1212
  /** A private link resource */
1003
- export type PrivateLinkResource = Resource & {
1213
+ export interface PrivateLinkResource extends Resource {
1004
1214
  /**
1005
1215
  * Group identifier of private link resource.
1006
1216
  * NOTE: This property will not be serialized. It can only be populated by the server.
@@ -1013,22 +1223,49 @@ export type PrivateLinkResource = Resource & {
1013
1223
  readonly requiredMembers?: string[];
1014
1224
  /** Required DNS zone names of the the private link resource. */
1015
1225
  requiredZoneNames?: string[];
1016
- };
1226
+ }
1017
1227
 
1018
1228
  /** Resource information with extended details. */
1019
- export type Secret = Resource & {
1229
+ export interface Secret extends Resource {
1020
1230
  /** Properties of the secret */
1021
1231
  properties: SecretProperties;
1022
- };
1232
+ }
1233
+
1234
+ /** The key resource. */
1235
+ export interface ManagedHsmKey extends ProxyResourceWithoutSystemData {
1236
+ /** The attributes of the key. */
1237
+ attributes?: ManagedHsmKeyAttributes;
1238
+ /** The type of the key. For valid values, see JsonWebKeyType. */
1239
+ kty?: JsonWebKeyType;
1240
+ keyOps?: JsonWebKeyOperation[];
1241
+ /** The key size in bits. For example: 2048, 3072, or 4096 for RSA. */
1242
+ keySize?: number;
1243
+ /** The elliptic curve name. For valid values, see JsonWebKeyCurveName. */
1244
+ curveName?: JsonWebKeyCurveName;
1245
+ /**
1246
+ * The URI to retrieve the current version of the key.
1247
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1248
+ */
1249
+ readonly keyUri?: string;
1250
+ /**
1251
+ * The URI to retrieve the specific version of the key.
1252
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1253
+ */
1254
+ readonly keyUriWithVersion?: string;
1255
+ /** Key rotation policy in response. It will be used for both output and input. Omitted if empty */
1256
+ rotationPolicy?: ManagedHsmRotationPolicy;
1257
+ /** Key release policy in response. It will be used for both output and input. Omitted if empty */
1258
+ releasePolicy?: ManagedHsmKeyReleasePolicy;
1259
+ }
1023
1260
 
1024
1261
  /** Resource information with extended details. */
1025
- export type ManagedHsm = ManagedHsmResource & {
1262
+ export interface ManagedHsm extends ManagedHsmResource {
1026
1263
  /** Properties of the managed HSM */
1027
1264
  properties?: ManagedHsmProperties;
1028
- };
1265
+ }
1029
1266
 
1030
1267
  /** Private endpoint connection resource. */
1031
- export type MhsmPrivateEndpointConnection = ManagedHsmResource & {
1268
+ export interface MhsmPrivateEndpointConnection extends ManagedHsmResource {
1032
1269
  /** Modified whenever there is a change in the state of private endpoint connection. */
1033
1270
  etag?: string;
1034
1271
  /** Properties of the private endpoint object. */
@@ -1037,10 +1274,10 @@ export type MhsmPrivateEndpointConnection = ManagedHsmResource & {
1037
1274
  privateLinkServiceConnectionState?: MhsmPrivateLinkServiceConnectionState;
1038
1275
  /** Provisioning state of the private endpoint connection. */
1039
1276
  provisioningState?: PrivateEndpointConnectionProvisioningState;
1040
- };
1277
+ }
1041
1278
 
1042
1279
  /** A private link resource */
1043
- export type MhsmPrivateLinkResource = ManagedHsmResource & {
1280
+ export interface MhsmPrivateLinkResource extends ManagedHsmResource {
1044
1281
  /**
1045
1282
  * Group identifier of private link resource.
1046
1283
  * NOTE: This property will not be serialized. It can only be populated by the server.
@@ -1053,10 +1290,10 @@ export type MhsmPrivateLinkResource = ManagedHsmResource & {
1053
1290
  readonly requiredMembers?: string[];
1054
1291
  /** Required DNS zone names of the the private link resource. */
1055
1292
  requiredZoneNames?: string[];
1056
- };
1293
+ }
1057
1294
 
1058
1295
  /** The secret management attributes. */
1059
- export type SecretAttributes = Attributes & {};
1296
+ export interface SecretAttributes extends Attributes {}
1060
1297
 
1061
1298
  /** Defines headers for PrivateEndpointConnections_put operation. */
1062
1299
  export interface PrivateEndpointConnectionsPutHeaders {
@@ -1074,6 +1311,30 @@ export interface PrivateEndpointConnectionsDeleteHeaders {
1074
1311
  location?: string;
1075
1312
  }
1076
1313
 
1314
+ /** Defines headers for ManagedHsms_createOrUpdate operation. */
1315
+ export interface ManagedHsmsCreateOrUpdateHeaders {
1316
+ /** The URI to poll for completion status. */
1317
+ location?: string;
1318
+ }
1319
+
1320
+ /** Defines headers for ManagedHsms_update operation. */
1321
+ export interface ManagedHsmsUpdateHeaders {
1322
+ /** The URI to poll for completion status. */
1323
+ location?: string;
1324
+ }
1325
+
1326
+ /** Defines headers for ManagedHsms_delete operation. */
1327
+ export interface ManagedHsmsDeleteHeaders {
1328
+ /** The URI to poll for completion status. */
1329
+ location?: string;
1330
+ }
1331
+
1332
+ /** Defines headers for ManagedHsms_purgeDeleted operation. */
1333
+ export interface ManagedHsmsPurgeDeletedHeaders {
1334
+ /** The URI to poll for completion status. */
1335
+ location?: string;
1336
+ }
1337
+
1077
1338
  /** Defines headers for MhsmPrivateEndpointConnections_put operation. */
1078
1339
  export interface MhsmPrivateEndpointConnectionsPutHeaders {
1079
1340
  /** (specified only if operation does not finish synchronously) The recommended number of seconds to wait before calling the URI specified in Azure-AsyncOperation. */
@@ -1084,17 +1345,19 @@ export interface MhsmPrivateEndpointConnectionsPutHeaders {
1084
1345
 
1085
1346
  /** Defines headers for MhsmPrivateEndpointConnections_delete operation. */
1086
1347
  export interface MhsmPrivateEndpointConnectionsDeleteHeaders {
1087
- /** The recommended number of seconds to wait before calling the URI specified in the location header. */
1088
- retryAfter?: number;
1089
1348
  /** The URI to poll for completion status. */
1090
1349
  location?: string;
1091
1350
  }
1092
1351
 
1093
1352
  /** Known values of {@link DeletionRecoveryLevel} that the service accepts. */
1094
1353
  export enum KnownDeletionRecoveryLevel {
1354
+ /** Purgeable */
1095
1355
  Purgeable = "Purgeable",
1356
+ /** RecoverablePurgeable */
1096
1357
  RecoverablePurgeable = "Recoverable+Purgeable",
1358
+ /** Recoverable */
1097
1359
  Recoverable = "Recoverable",
1360
+ /** RecoverableProtectedSubscription */
1098
1361
  RecoverableProtectedSubscription = "Recoverable+ProtectedSubscription"
1099
1362
  }
1100
1363
 
@@ -1112,9 +1375,13 @@ export type DeletionRecoveryLevel = string;
1112
1375
 
1113
1376
  /** Known values of {@link JsonWebKeyType} that the service accepts. */
1114
1377
  export enum KnownJsonWebKeyType {
1378
+ /** EC */
1115
1379
  EC = "EC",
1380
+ /** ECHSM */
1116
1381
  ECHSM = "EC-HSM",
1382
+ /** RSA */
1117
1383
  RSA = "RSA",
1384
+ /** RSAHSM */
1118
1385
  RSAHSM = "RSA-HSM"
1119
1386
  }
1120
1387
 
@@ -1132,13 +1399,21 @@ export type JsonWebKeyType = string;
1132
1399
 
1133
1400
  /** Known values of {@link JsonWebKeyOperation} that the service accepts. */
1134
1401
  export enum KnownJsonWebKeyOperation {
1402
+ /** Encrypt */
1135
1403
  Encrypt = "encrypt",
1404
+ /** Decrypt */
1136
1405
  Decrypt = "decrypt",
1406
+ /** Sign */
1137
1407
  Sign = "sign",
1408
+ /** Verify */
1138
1409
  Verify = "verify",
1410
+ /** WrapKey */
1139
1411
  WrapKey = "wrapKey",
1412
+ /** UnwrapKey */
1140
1413
  UnwrapKey = "unwrapKey",
1414
+ /** Import */
1141
1415
  Import = "import",
1416
+ /** Release */
1142
1417
  Release = "release"
1143
1418
  }
1144
1419
 
@@ -1160,9 +1435,13 @@ export type JsonWebKeyOperation = string;
1160
1435
 
1161
1436
  /** Known values of {@link JsonWebKeyCurveName} that the service accepts. */
1162
1437
  export enum KnownJsonWebKeyCurveName {
1438
+ /** P256 */
1163
1439
  P256 = "P-256",
1440
+ /** P384 */
1164
1441
  P384 = "P-384",
1442
+ /** P521 */
1165
1443
  P521 = "P-521",
1444
+ /** P256K */
1166
1445
  P256K = "P-256K"
1167
1446
  }
1168
1447
 
@@ -1180,6 +1459,7 @@ export type JsonWebKeyCurveName = string;
1180
1459
 
1181
1460
  /** Known values of {@link SkuFamily} that the service accepts. */
1182
1461
  export enum KnownSkuFamily {
1462
+ /** A */
1183
1463
  A = "A"
1184
1464
  }
1185
1465
 
@@ -1194,26 +1474,47 @@ export type SkuFamily = string;
1194
1474
 
1195
1475
  /** Known values of {@link KeyPermissions} that the service accepts. */
1196
1476
  export enum KnownKeyPermissions {
1477
+ /** All */
1197
1478
  All = "all",
1479
+ /** Encrypt */
1198
1480
  Encrypt = "encrypt",
1481
+ /** Decrypt */
1199
1482
  Decrypt = "decrypt",
1483
+ /** WrapKey */
1200
1484
  WrapKey = "wrapKey",
1485
+ /** UnwrapKey */
1201
1486
  UnwrapKey = "unwrapKey",
1487
+ /** Sign */
1202
1488
  Sign = "sign",
1489
+ /** Verify */
1203
1490
  Verify = "verify",
1491
+ /** Get */
1204
1492
  Get = "get",
1493
+ /** List */
1205
1494
  List = "list",
1495
+ /** Create */
1206
1496
  Create = "create",
1497
+ /** Update */
1207
1498
  Update = "update",
1499
+ /** Import */
1208
1500
  Import = "import",
1501
+ /** Delete */
1209
1502
  Delete = "delete",
1503
+ /** Backup */
1210
1504
  Backup = "backup",
1505
+ /** Restore */
1211
1506
  Restore = "restore",
1507
+ /** Recover */
1212
1508
  Recover = "recover",
1509
+ /** Purge */
1213
1510
  Purge = "purge",
1511
+ /** Release */
1214
1512
  Release = "release",
1513
+ /** Rotate */
1215
1514
  Rotate = "rotate",
1515
+ /** Getrotationpolicy */
1216
1516
  Getrotationpolicy = "getrotationpolicy",
1517
+ /** Setrotationpolicy */
1217
1518
  Setrotationpolicy = "setrotationpolicy"
1218
1519
  }
1219
1520
 
@@ -1248,14 +1549,23 @@ export type KeyPermissions = string;
1248
1549
 
1249
1550
  /** Known values of {@link SecretPermissions} that the service accepts. */
1250
1551
  export enum KnownSecretPermissions {
1552
+ /** All */
1251
1553
  All = "all",
1554
+ /** Get */
1252
1555
  Get = "get",
1556
+ /** List */
1253
1557
  List = "list",
1558
+ /** Set */
1254
1559
  Set = "set",
1560
+ /** Delete */
1255
1561
  Delete = "delete",
1562
+ /** Backup */
1256
1563
  Backup = "backup",
1564
+ /** Restore */
1257
1565
  Restore = "restore",
1566
+ /** Recover */
1258
1567
  Recover = "recover",
1568
+ /** Purge */
1259
1569
  Purge = "purge"
1260
1570
  }
1261
1571
 
@@ -1278,22 +1588,39 @@ export type SecretPermissions = string;
1278
1588
 
1279
1589
  /** Known values of {@link CertificatePermissions} that the service accepts. */
1280
1590
  export enum KnownCertificatePermissions {
1591
+ /** All */
1281
1592
  All = "all",
1593
+ /** Get */
1282
1594
  Get = "get",
1595
+ /** List */
1283
1596
  List = "list",
1597
+ /** Delete */
1284
1598
  Delete = "delete",
1599
+ /** Create */
1285
1600
  Create = "create",
1601
+ /** Import */
1286
1602
  Import = "import",
1603
+ /** Update */
1287
1604
  Update = "update",
1605
+ /** Managecontacts */
1288
1606
  Managecontacts = "managecontacts",
1607
+ /** Getissuers */
1289
1608
  Getissuers = "getissuers",
1609
+ /** Listissuers */
1290
1610
  Listissuers = "listissuers",
1611
+ /** Setissuers */
1291
1612
  Setissuers = "setissuers",
1613
+ /** Deleteissuers */
1292
1614
  Deleteissuers = "deleteissuers",
1615
+ /** Manageissuers */
1293
1616
  Manageissuers = "manageissuers",
1617
+ /** Recover */
1294
1618
  Recover = "recover",
1619
+ /** Purge */
1295
1620
  Purge = "purge",
1621
+ /** Backup */
1296
1622
  Backup = "backup",
1623
+ /** Restore */
1297
1624
  Restore = "restore"
1298
1625
  }
1299
1626
 
@@ -1324,20 +1651,35 @@ export type CertificatePermissions = string;
1324
1651
 
1325
1652
  /** Known values of {@link StoragePermissions} that the service accepts. */
1326
1653
  export enum KnownStoragePermissions {
1654
+ /** All */
1327
1655
  All = "all",
1656
+ /** Get */
1328
1657
  Get = "get",
1658
+ /** List */
1329
1659
  List = "list",
1660
+ /** Delete */
1330
1661
  Delete = "delete",
1662
+ /** Set */
1331
1663
  Set = "set",
1664
+ /** Update */
1332
1665
  Update = "update",
1666
+ /** Regeneratekey */
1333
1667
  Regeneratekey = "regeneratekey",
1668
+ /** Recover */
1334
1669
  Recover = "recover",
1670
+ /** Purge */
1335
1671
  Purge = "purge",
1672
+ /** Backup */
1336
1673
  Backup = "backup",
1674
+ /** Restore */
1337
1675
  Restore = "restore",
1676
+ /** Setsas */
1338
1677
  Setsas = "setsas",
1678
+ /** Listsas */
1339
1679
  Listsas = "listsas",
1680
+ /** Getsas */
1340
1681
  Getsas = "getsas",
1682
+ /** Deletesas */
1341
1683
  Deletesas = "deletesas"
1342
1684
  }
1343
1685
 
@@ -1366,7 +1708,9 @@ export type StoragePermissions = string;
1366
1708
 
1367
1709
  /** Known values of {@link NetworkRuleBypassOptions} that the service accepts. */
1368
1710
  export enum KnownNetworkRuleBypassOptions {
1711
+ /** AzureServices */
1369
1712
  AzureServices = "AzureServices",
1713
+ /** None */
1370
1714
  None = "None"
1371
1715
  }
1372
1716
 
@@ -1382,7 +1726,9 @@ export type NetworkRuleBypassOptions = string;
1382
1726
 
1383
1727
  /** Known values of {@link NetworkRuleAction} that the service accepts. */
1384
1728
  export enum KnownNetworkRuleAction {
1729
+ /** Allow */
1385
1730
  Allow = "Allow",
1731
+ /** Deny */
1386
1732
  Deny = "Deny"
1387
1733
  }
1388
1734
 
@@ -1398,7 +1744,9 @@ export type NetworkRuleAction = string;
1398
1744
 
1399
1745
  /** Known values of {@link VaultProvisioningState} that the service accepts. */
1400
1746
  export enum KnownVaultProvisioningState {
1747
+ /** Succeeded */
1401
1748
  Succeeded = "Succeeded",
1749
+ /** RegisteringDns */
1402
1750
  RegisteringDns = "RegisteringDns"
1403
1751
  }
1404
1752
 
@@ -1414,9 +1762,13 @@ export type VaultProvisioningState = string;
1414
1762
 
1415
1763
  /** Known values of {@link PrivateEndpointServiceConnectionStatus} that the service accepts. */
1416
1764
  export enum KnownPrivateEndpointServiceConnectionStatus {
1765
+ /** Pending */
1417
1766
  Pending = "Pending",
1767
+ /** Approved */
1418
1768
  Approved = "Approved",
1769
+ /** Rejected */
1419
1770
  Rejected = "Rejected",
1771
+ /** Disconnected */
1420
1772
  Disconnected = "Disconnected"
1421
1773
  }
1422
1774
 
@@ -1434,6 +1786,7 @@ export type PrivateEndpointServiceConnectionStatus = string;
1434
1786
 
1435
1787
  /** Known values of {@link ActionsRequired} that the service accepts. */
1436
1788
  export enum KnownActionsRequired {
1789
+ /** None */
1437
1790
  None = "None"
1438
1791
  }
1439
1792
 
@@ -1448,11 +1801,17 @@ export type ActionsRequired = string;
1448
1801
 
1449
1802
  /** Known values of {@link PrivateEndpointConnectionProvisioningState} that the service accepts. */
1450
1803
  export enum KnownPrivateEndpointConnectionProvisioningState {
1804
+ /** Succeeded */
1451
1805
  Succeeded = "Succeeded",
1806
+ /** Creating */
1452
1807
  Creating = "Creating",
1808
+ /** Updating */
1453
1809
  Updating = "Updating",
1810
+ /** Deleting */
1454
1811
  Deleting = "Deleting",
1812
+ /** Failed */
1455
1813
  Failed = "Failed",
1814
+ /** Disconnected */
1456
1815
  Disconnected = "Disconnected"
1457
1816
  }
1458
1817
 
@@ -1472,9 +1831,13 @@ export type PrivateEndpointConnectionProvisioningState = string;
1472
1831
 
1473
1832
  /** Known values of {@link IdentityType} that the service accepts. */
1474
1833
  export enum KnownIdentityType {
1834
+ /** User */
1475
1835
  User = "User",
1836
+ /** Application */
1476
1837
  Application = "Application",
1838
+ /** ManagedIdentity */
1477
1839
  ManagedIdentity = "ManagedIdentity",
1840
+ /** Key */
1478
1841
  Key = "Key"
1479
1842
  }
1480
1843
 
@@ -1526,9 +1889,41 @@ export enum KnownProvisioningState {
1526
1889
  */
1527
1890
  export type ProvisioningState = string;
1528
1891
 
1892
+ /** Known values of {@link GeoReplicationRegionProvisioningState} that the service accepts. */
1893
+ export enum KnownGeoReplicationRegionProvisioningState {
1894
+ /** Preprovisioning */
1895
+ Preprovisioning = "Preprovisioning",
1896
+ /** Provisioning */
1897
+ Provisioning = "Provisioning",
1898
+ /** Succeeded */
1899
+ Succeeded = "Succeeded",
1900
+ /** Failed */
1901
+ Failed = "Failed",
1902
+ /** Deleting */
1903
+ Deleting = "Deleting",
1904
+ /** Cleanup */
1905
+ Cleanup = "Cleanup"
1906
+ }
1907
+
1908
+ /**
1909
+ * Defines values for GeoReplicationRegionProvisioningState. \
1910
+ * {@link KnownGeoReplicationRegionProvisioningState} can be used interchangeably with GeoReplicationRegionProvisioningState,
1911
+ * this enum contains the known values that the service supports.
1912
+ * ### Known values supported by the service
1913
+ * **Preprovisioning** \
1914
+ * **Provisioning** \
1915
+ * **Succeeded** \
1916
+ * **Failed** \
1917
+ * **Deleting** \
1918
+ * **Cleanup**
1919
+ */
1920
+ export type GeoReplicationRegionProvisioningState = string;
1921
+
1529
1922
  /** Known values of {@link PublicNetworkAccess} that the service accepts. */
1530
1923
  export enum KnownPublicNetworkAccess {
1924
+ /** Enabled */
1531
1925
  Enabled = "Enabled",
1926
+ /** Disabled */
1532
1927
  Disabled = "Disabled"
1533
1928
  }
1534
1929
 
@@ -1542,8 +1937,33 @@ export enum KnownPublicNetworkAccess {
1542
1937
  */
1543
1938
  export type PublicNetworkAccess = string;
1544
1939
 
1940
+ /** Known values of {@link ActivationStatus} that the service accepts. */
1941
+ export enum KnownActivationStatus {
1942
+ /** The managed HSM Pool is active. */
1943
+ Active = "Active",
1944
+ /** The managed HSM Pool is not yet activated. */
1945
+ NotActivated = "NotActivated",
1946
+ /** An unknown error occurred while activating managed hsm. */
1947
+ Unknown = "Unknown",
1948
+ /** Failed to activate managed hsm. */
1949
+ Failed = "Failed"
1950
+ }
1951
+
1952
+ /**
1953
+ * Defines values for ActivationStatus. \
1954
+ * {@link KnownActivationStatus} can be used interchangeably with ActivationStatus,
1955
+ * this enum contains the known values that the service supports.
1956
+ * ### Known values supported by the service
1957
+ * **Active**: The managed HSM Pool is active. \
1958
+ * **NotActivated**: The managed HSM Pool is not yet activated. \
1959
+ * **Unknown**: An unknown error occurred while activating managed hsm. \
1960
+ * **Failed**: Failed to activate managed hsm.
1961
+ */
1962
+ export type ActivationStatus = string;
1963
+
1545
1964
  /** Known values of {@link ManagedHsmSkuFamily} that the service accepts. */
1546
1965
  export enum KnownManagedHsmSkuFamily {
1966
+ /** B */
1547
1967
  B = "B"
1548
1968
  }
1549
1969
 
@@ -1615,6 +2035,55 @@ export interface KeysListVersionsNextOptionalParams
1615
2035
  /** Contains response data for the listVersionsNext operation. */
1616
2036
  export type KeysListVersionsNextResponse = KeyListResult;
1617
2037
 
2038
+ /** Optional parameters. */
2039
+ export interface ManagedHsmKeysCreateIfNotExistOptionalParams
2040
+ extends coreClient.OperationOptions {}
2041
+
2042
+ /** Contains response data for the createIfNotExist operation. */
2043
+ export type ManagedHsmKeysCreateIfNotExistResponse = ManagedHsmKey;
2044
+
2045
+ /** Optional parameters. */
2046
+ export interface ManagedHsmKeysGetOptionalParams
2047
+ extends coreClient.OperationOptions {}
2048
+
2049
+ /** Contains response data for the get operation. */
2050
+ export type ManagedHsmKeysGetResponse = ManagedHsmKey;
2051
+
2052
+ /** Optional parameters. */
2053
+ export interface ManagedHsmKeysListOptionalParams
2054
+ extends coreClient.OperationOptions {}
2055
+
2056
+ /** Contains response data for the list operation. */
2057
+ export type ManagedHsmKeysListResponse = ManagedHsmKeyListResult;
2058
+
2059
+ /** Optional parameters. */
2060
+ export interface ManagedHsmKeysGetVersionOptionalParams
2061
+ extends coreClient.OperationOptions {}
2062
+
2063
+ /** Contains response data for the getVersion operation. */
2064
+ export type ManagedHsmKeysGetVersionResponse = ManagedHsmKey;
2065
+
2066
+ /** Optional parameters. */
2067
+ export interface ManagedHsmKeysListVersionsOptionalParams
2068
+ extends coreClient.OperationOptions {}
2069
+
2070
+ /** Contains response data for the listVersions operation. */
2071
+ export type ManagedHsmKeysListVersionsResponse = ManagedHsmKeyListResult;
2072
+
2073
+ /** Optional parameters. */
2074
+ export interface ManagedHsmKeysListNextOptionalParams
2075
+ extends coreClient.OperationOptions {}
2076
+
2077
+ /** Contains response data for the listNext operation. */
2078
+ export type ManagedHsmKeysListNextResponse = ManagedHsmKeyListResult;
2079
+
2080
+ /** Optional parameters. */
2081
+ export interface ManagedHsmKeysListVersionsNextOptionalParams
2082
+ extends coreClient.OperationOptions {}
2083
+
2084
+ /** Contains response data for the listVersionsNext operation. */
2085
+ export type ManagedHsmKeysListVersionsNextResponse = ManagedHsmKeyListResult;
2086
+
1618
2087
  /** Optional parameters. */
1619
2088
  export interface VaultsCreateOrUpdateOptionalParams
1620
2089
  extends coreClient.OperationOptions {
@@ -1712,20 +2181,14 @@ export type VaultsCheckNameAvailabilityResponse = CheckNameAvailabilityResult;
1712
2181
 
1713
2182
  /** Optional parameters. */
1714
2183
  export interface VaultsListByResourceGroupNextOptionalParams
1715
- extends coreClient.OperationOptions {
1716
- /** Maximum number of results to return. */
1717
- top?: number;
1718
- }
2184
+ extends coreClient.OperationOptions {}
1719
2185
 
1720
2186
  /** Contains response data for the listByResourceGroupNext operation. */
1721
2187
  export type VaultsListByResourceGroupNextResponse = VaultListResult;
1722
2188
 
1723
2189
  /** Optional parameters. */
1724
2190
  export interface VaultsListBySubscriptionNextOptionalParams
1725
- extends coreClient.OperationOptions {
1726
- /** Maximum number of results to return. */
1727
- top?: number;
1728
- }
2191
+ extends coreClient.OperationOptions {}
1729
2192
 
1730
2193
  /** Contains response data for the listBySubscriptionNext operation. */
1731
2194
  export type VaultsListBySubscriptionNextResponse = VaultListResult;
@@ -1739,10 +2202,7 @@ export type VaultsListDeletedNextResponse = DeletedVaultListResult;
1739
2202
 
1740
2203
  /** Optional parameters. */
1741
2204
  export interface VaultsListNextOptionalParams
1742
- extends coreClient.OperationOptions {
1743
- /** Maximum number of results to return. */
1744
- top?: number;
1745
- }
2205
+ extends coreClient.OperationOptions {}
1746
2206
 
1747
2207
  /** Contains response data for the listNext operation. */
1748
2208
  export type VaultsListNextResponse = ResourceListResult;
@@ -1878,22 +2338,26 @@ export interface ManagedHsmsPurgeDeletedOptionalParams
1878
2338
  resumeFrom?: string;
1879
2339
  }
1880
2340
 
2341
+ /** Contains response data for the purgeDeleted operation. */
2342
+ export type ManagedHsmsPurgeDeletedResponse = ManagedHsmsPurgeDeletedHeaders;
2343
+
2344
+ /** Optional parameters. */
2345
+ export interface ManagedHsmsCheckMhsmNameAvailabilityOptionalParams
2346
+ extends coreClient.OperationOptions {}
2347
+
2348
+ /** Contains response data for the checkMhsmNameAvailability operation. */
2349
+ export type ManagedHsmsCheckMhsmNameAvailabilityResponse = CheckMhsmNameAvailabilityResult;
2350
+
1881
2351
  /** Optional parameters. */
1882
2352
  export interface ManagedHsmsListByResourceGroupNextOptionalParams
1883
- extends coreClient.OperationOptions {
1884
- /** Maximum number of results to return. */
1885
- top?: number;
1886
- }
2353
+ extends coreClient.OperationOptions {}
1887
2354
 
1888
2355
  /** Contains response data for the listByResourceGroupNext operation. */
1889
2356
  export type ManagedHsmsListByResourceGroupNextResponse = ManagedHsmListResult;
1890
2357
 
1891
2358
  /** Optional parameters. */
1892
2359
  export interface ManagedHsmsListBySubscriptionNextOptionalParams
1893
- extends coreClient.OperationOptions {
1894
- /** Maximum number of results to return. */
1895
- top?: number;
1896
- }
2360
+ extends coreClient.OperationOptions {}
1897
2361
 
1898
2362
  /** Contains response data for the listBySubscriptionNext operation. */
1899
2363
  export type ManagedHsmsListBySubscriptionNextResponse = ManagedHsmListResult;
@@ -1953,6 +2417,20 @@ export interface MhsmPrivateLinkResourcesListByMhsmResourceOptionalParams
1953
2417
  /** Contains response data for the listByMhsmResource operation. */
1954
2418
  export type MhsmPrivateLinkResourcesListByMhsmResourceResponse = MhsmPrivateLinkResourceListResult;
1955
2419
 
2420
+ /** Optional parameters. */
2421
+ export interface MhsmRegionsListByResourceOptionalParams
2422
+ extends coreClient.OperationOptions {}
2423
+
2424
+ /** Contains response data for the listByResource operation. */
2425
+ export type MhsmRegionsListByResourceResponse = MhsmRegionsListResult;
2426
+
2427
+ /** Optional parameters. */
2428
+ export interface MhsmRegionsListByResourceNextOptionalParams
2429
+ extends coreClient.OperationOptions {}
2430
+
2431
+ /** Contains response data for the listByResourceNext operation. */
2432
+ export type MhsmRegionsListByResourceNextResponse = MhsmRegionsListResult;
2433
+
1956
2434
  /** Optional parameters. */
1957
2435
  export interface OperationsListOptionalParams
1958
2436
  extends coreClient.OperationOptions {}
@@ -1998,10 +2476,7 @@ export type SecretsListResponse = SecretListResult;
1998
2476
 
1999
2477
  /** Optional parameters. */
2000
2478
  export interface SecretsListNextOptionalParams
2001
- extends coreClient.OperationOptions {
2002
- /** Maximum number of results to return. */
2003
- top?: number;
2004
- }
2479
+ extends coreClient.OperationOptions {}
2005
2480
 
2006
2481
  /** Contains response data for the listNext operation. */
2007
2482
  export type SecretsListNextResponse = SecretListResult;