@azure/keyvault-keys 4.3.0-beta.1 → 4.3.0
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.
- package/CHANGELOG.md +8 -6
- package/README.md +14 -16
- package/dist/index.js +32 -584
- package/dist/index.js.map +1 -1
- package/dist-esm/keyvault-keys/src/constants.js +1 -1
- package/dist-esm/keyvault-keys/src/constants.js.map +1 -1
- package/dist-esm/keyvault-keys/src/cryptographyClient.js +8 -9
- package/dist-esm/keyvault-keys/src/cryptographyClient.js.map +1 -1
- package/dist-esm/keyvault-keys/src/generated/keyVaultClient.js +14 -242
- package/dist-esm/keyvault-keys/src/generated/keyVaultClient.js.map +1 -1
- package/dist-esm/keyvault-keys/src/generated/keyVaultClientContext.js +7 -5
- package/dist-esm/keyvault-keys/src/generated/keyVaultClientContext.js.map +1 -1
- package/dist-esm/keyvault-keys/src/generated/models/index.js.map +1 -1
- package/dist-esm/keyvault-keys/src/generated/models/mappers.js +0 -278
- package/dist-esm/keyvault-keys/src/generated/models/mappers.js.map +1 -1
- package/dist-esm/keyvault-keys/src/generated/models/parameters.js +1 -45
- package/dist-esm/keyvault-keys/src/generated/models/parameters.js.map +1 -1
- package/dist-esm/keyvault-keys/src/index.js +2 -19
- package/dist-esm/keyvault-keys/src/index.js.map +1 -1
- package/dist-esm/keyvault-keys/src/keysModels.js +1 -19
- package/dist-esm/keyvault-keys/src/keysModels.js.map +1 -1
- package/package.json +7 -6
- package/types/keyvault-keys.d.ts +32 -51
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/generated/models/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreHttp from \"@azure/core-http\";\n\n/** The key create parameters. */\nexport interface KeyCreateParameters {\n /** The type of key to create. For valid values, see JsonWebKeyType. */\n kty: JsonWebKeyType;\n /** The key size in bits. For example: 2048, 3072, or 4096 for RSA. */\n keySize?: number;\n /** The public exponent for a RSA key. */\n publicExponent?: number;\n keyOps?: JsonWebKeyOperation[];\n /** The attributes of a key managed by the key vault service. */\n keyAttributes?: KeyAttributes;\n /** Application specific metadata in the form of key-value pairs. */\n tags?: { [propertyName: string]: string };\n /** Elliptic curve name. For valid values, see JsonWebKeyCurveName. */\n curve?: JsonWebKeyCurveName;\n /** The policy rules under which the key can be exported. */\n releasePolicy?: KeyReleasePolicy;\n}\n\n/** The object attributes managed by the KeyVault service. */\nexport interface Attributes {\n /** Determines whether the object is enabled. */\n enabled?: boolean;\n /** Not before date in UTC. */\n notBefore?: Date;\n /** Expiry date in UTC. */\n expires?: Date;\n /**\n * Creation time in UTC.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly created?: Date;\n /**\n * Last updated time in UTC.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly updated?: Date;\n}\n\nexport interface KeyReleasePolicy {\n /** Content type and version of key release policy */\n contentType?: string;\n /** Blob encoding the policy rules under which the key can be released. */\n data?: Uint8Array;\n}\n\n/** A KeyBundle consisting of a WebKey plus its attributes. */\nexport interface KeyBundle {\n /** The Json web key. */\n key?: JsonWebKey;\n /** The key management attributes. */\n attributes?: KeyAttributes;\n /** Application specific metadata in the form of key-value pairs. */\n tags?: { [propertyName: string]: string };\n /**\n * True if the key's lifetime is managed by key vault. If this is a key backing a certificate, then managed will be true.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly managed?: boolean;\n /** The policy rules under which the key can be exported. */\n releasePolicy?: KeyReleasePolicy;\n}\n\n/** As of http://tools.ietf.org/html/draft-ietf-jose-json-web-key-18 */\nexport interface JsonWebKey {\n /** Key identifier. */\n kid?: string;\n /** JsonWebKey Key Type (kty), as defined in https://tools.ietf.org/html/draft-ietf-jose-json-web-algorithms-40. */\n kty?: JsonWebKeyType;\n keyOps?: string[];\n /** RSA modulus. */\n n?: Uint8Array;\n /** RSA public exponent. */\n e?: Uint8Array;\n /** RSA private exponent, or the D component of an EC private key. */\n d?: Uint8Array;\n /** RSA private key parameter. */\n dp?: Uint8Array;\n /** RSA private key parameter. */\n dq?: Uint8Array;\n /** RSA private key parameter. */\n qi?: Uint8Array;\n /** RSA secret prime. */\n p?: Uint8Array;\n /** RSA secret prime, with p < q. */\n q?: Uint8Array;\n /** Symmetric key. */\n k?: Uint8Array;\n /** Protected Key, used with 'Bring Your Own Key'. */\n t?: Uint8Array;\n /** Elliptic curve name. For valid values, see JsonWebKeyCurveName. */\n crv?: JsonWebKeyCurveName;\n /** X component of an EC public key. */\n x?: Uint8Array;\n /** Y component of an EC public key. */\n y?: Uint8Array;\n}\n\n/** The key vault error exception. */\nexport interface KeyVaultError {\n /**\n * The key vault server error.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly error?: ErrorModel;\n}\n\n/** The key vault server error. */\nexport interface ErrorModel {\n /**\n * The error code.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly code?: string;\n /**\n * The error message.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly message?: string;\n /**\n * The key vault server error.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly innerError?: ErrorModel;\n}\n\n/** The key import parameters. */\nexport interface KeyImportParameters {\n /** Whether to import as a hardware key (HSM) or software key. */\n hsm?: boolean;\n /** The Json web key */\n key: JsonWebKey;\n /** The key management attributes. */\n keyAttributes?: KeyAttributes;\n /** Application specific metadata in the form of key-value pairs. */\n tags?: { [propertyName: string]: string };\n /** The policy rules under which the key can be exported. */\n releasePolicy?: KeyReleasePolicy;\n}\n\n/** The key update parameters. */\nexport interface KeyUpdateParameters {\n /** Json web key operations. For more information on possible key operations, see JsonWebKeyOperation. */\n keyOps?: JsonWebKeyOperation[];\n /** The attributes of a key managed by the key vault service. */\n keyAttributes?: KeyAttributes;\n /** Application specific metadata in the form of key-value pairs. */\n tags?: { [propertyName: string]: string };\n /** The policy rules under which the key can be exported. */\n releasePolicy?: KeyReleasePolicy;\n}\n\n/** The key list result. */\nexport interface KeyListResult {\n /**\n * A response message containing a list of keys in the key vault along with a link to the next page of keys.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly value?: KeyItem[];\n /**\n * The URL to get the next set of keys.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly nextLink?: string;\n}\n\n/** The key item containing key metadata. */\nexport interface KeyItem {\n /** Key identifier. */\n kid?: string;\n /** The key management attributes. */\n attributes?: KeyAttributes;\n /** Application specific metadata in the form of key-value pairs. */\n tags?: { [propertyName: string]: string };\n /**\n * True if the key's lifetime is managed by key vault. If this is a key backing a certificate, then managed will be true.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly managed?: boolean;\n}\n\n/** The backup key result, containing the backup blob. */\nexport interface BackupKeyResult {\n /**\n * The backup blob containing the backed up key.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly value?: Uint8Array;\n}\n\n/** The key restore parameters. */\nexport interface KeyRestoreParameters {\n /** The backup blob associated with a key bundle. */\n keyBundleBackup: Uint8Array;\n}\n\n/** The key operations parameters. */\nexport interface KeyOperationsParameters {\n /** algorithm identifier */\n algorithm: JsonWebKeyEncryptionAlgorithm;\n value: Uint8Array;\n /** Initialization vector for symmetric algorithms. */\n iv?: Uint8Array;\n /** Additional data to authenticate but not encrypt/decrypt when using authenticated crypto algorithms. */\n additionalAuthenticatedData?: Uint8Array;\n /** The tag to authenticate when performing decryption with an authenticated algorithm. */\n authenticationTag?: Uint8Array;\n}\n\n/** The key operation result. */\nexport interface KeyOperationResult {\n /**\n * Key identifier\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly kid?: string;\n /** NOTE: This property will not be serialized. It can only be populated by the server. */\n readonly result?: Uint8Array;\n /** NOTE: This property will not be serialized. It can only be populated by the server. */\n readonly iv?: Uint8Array;\n /** NOTE: This property will not be serialized. It can only be populated by the server. */\n readonly authenticationTag?: Uint8Array;\n /** NOTE: This property will not be serialized. It can only be populated by the server. */\n readonly additionalAuthenticatedData?: Uint8Array;\n}\n\n/** The key operations parameters. */\nexport interface KeySignParameters {\n /** The signing/verification algorithm identifier. For more information on possible algorithm types, see JsonWebKeySignatureAlgorithm. */\n algorithm: JsonWebKeySignatureAlgorithm;\n value: Uint8Array;\n}\n\n/** The key verify parameters. */\nexport interface KeyVerifyParameters {\n /** The signing/verification algorithm. For more information on possible algorithm types, see JsonWebKeySignatureAlgorithm. */\n algorithm: JsonWebKeySignatureAlgorithm;\n /** The digest used for signing. */\n digest: Uint8Array;\n /** The signature to be verified. */\n signature: Uint8Array;\n}\n\n/** The key verify result. */\nexport interface KeyVerifyResult {\n /**\n * True if the signature is verified, otherwise false.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly value?: boolean;\n}\n\n/** The export key parameters. */\nexport interface KeyExportParameters {\n /** The export key encryption Json web key. This key MUST be a RSA key that supports encryption. */\n wrappingKey?: JsonWebKey;\n /** The export key encryption key identifier. This key MUST be a RSA key that supports encryption. */\n wrappingKid?: string;\n /** The encryption algorithm to use to protected the exported key material */\n enc?: KeyEncryptionAlgorithm;\n}\n\n/** The release key parameters. */\nexport interface KeyReleaseParameters {\n /** The attestation assertion for the target of the key release. */\n target: string;\n /** A client provided nonce for freshness. */\n nonce?: string;\n /** The encryption algorithm to use to protected the exported key material */\n enc?: KeyEncryptionAlgorithm;\n}\n\n/** The release result, containing the released key. */\nexport interface KeyReleaseResult {\n /**\n * A signed object containing the released key.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly value?: string;\n}\n\n/** A list of keys that have been deleted in this vault. */\nexport interface DeletedKeyListResult {\n /**\n * A response message containing a list of deleted keys in the vault along with a link to the next page of deleted keys\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly value?: DeletedKeyItem[];\n /**\n * The URL to get the next set of deleted keys.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly nextLink?: string;\n}\n\n/** Management policy for a key. */\nexport interface KeyRotationPolicy {\n /**\n * The key policy id.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly id?: string;\n /** Actions that will be performed by Key Vault over the lifetime of a key. For preview, lifetimeActions can only have two items at maximum: one for rotate, one for notify. Notification time would be default to 30 days before expiry and it is not configurable. */\n lifetimeActions?: LifetimeActions[];\n /** The key rotation policy attributes. */\n attributes?: KeyRotationPolicyAttributes;\n}\n\n/** Action and its trigger that will be performed by Key Vault over the lifetime of a key. */\nexport interface LifetimeActions {\n /** The condition that will execute the action. */\n trigger?: LifetimeActionsTrigger;\n /** The action that will be executed. */\n action?: LifetimeActionsType;\n}\n\n/** A condition to be satisfied for an action to be executed. */\nexport interface LifetimeActionsTrigger {\n /** Time after creation to attempt rotate. It will be in ISO 8601 format. Example: 90 days : \"P90D\" */\n timeAfterCreate?: string;\n /** Time before expiry to attempt rotate. It will be in ISO 8601 format. Example: 90 days : \"P90D\" */\n timeBeforeExpiry?: string;\n}\n\n/** The action that will be executed. */\nexport interface LifetimeActionsType {\n /** The type of the action. */\n type?: ActionType;\n}\n\n/** The key rotation policy attributes. */\nexport interface KeyRotationPolicyAttributes {\n /** The expiryTime will be applied on the new key version. It should be at least 28 days. It will be in ISO 8601 Format. Examples: 90 days: P90D, 3 months: P3M, 48 hours: PT48H, 1 year and 10 days: P1Y10D */\n expiryTime?: string;\n /**\n * The key rotation policy created time in UTC.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly created?: Date;\n /**\n * The key rotation policy's last updated time in UTC.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly updated?: Date;\n}\n\n/** The get random bytes request object. */\nexport interface GetRandomBytesRequest {\n /** The requested number of random bytes. */\n count: number;\n}\n\n/** The get random bytes response object containing the bytes. */\nexport interface RandomBytes {\n /** The bytes encoded as a base64url string. */\n value?: Uint8Array;\n}\n\n/** Properties of the key pair backing a certificate. */\nexport interface KeyProperties {\n /** Indicates if the private key can be exported. */\n exportable?: boolean;\n /** The type of key pair to be used for the certificate. */\n keyType?: JsonWebKeyType;\n /** The key size in bits. For example: 2048, 3072, or 4096 for RSA. */\n keySize?: number;\n /** Indicates if the same key pair will be used on certificate renewal. */\n reuseKey?: boolean;\n /** Elliptic curve name. For valid values, see JsonWebKeyCurveName. */\n curve?: JsonWebKeyCurveName;\n}\n\n/** The attributes of a key managed by the key vault service. */\nexport type KeyAttributes = Attributes & {\n /**\n * softDelete data retention days. Value should be >=7 and <=90 when softDelete enabled, otherwise 0.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly recoverableDays?: number;\n /**\n * Reflects the deletion recovery level currently in effect for keys in the current vault. If it contains 'Purgeable' the key can be permanently deleted by a privileged user; otherwise, only the system can purge the key, at the end of the retention interval.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly recoveryLevel?: DeletionRecoveryLevel;\n /** Indicates if the private key can be exported. */\n exportable?: boolean;\n};\n\n/** A DeletedKeyBundle consisting of a WebKey plus its Attributes and deletion info */\nexport type DeletedKeyBundle = KeyBundle & {\n /** The url of the recovery object, used to identify and recover the deleted key. */\n recoveryId?: string;\n /**\n * The time when the key is scheduled to be purged, in UTC\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly scheduledPurgeDate?: Date;\n /**\n * The time when the key was deleted, in UTC\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly deletedDate?: Date;\n};\n\n/** The deleted key item containing the deleted key metadata and information about deletion. */\nexport type DeletedKeyItem = KeyItem & {\n /** The url of the recovery object, used to identify and recover the deleted key. */\n recoveryId?: string;\n /**\n * The time when the key is scheduled to be purged, in UTC\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly scheduledPurgeDate?: Date;\n /**\n * The time when the key was deleted, in UTC\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly deletedDate?: Date;\n};\n\n/** Known values of {@link ApiVersion73Preview} that the service accepts. */\nexport const enum KnownApiVersion73Preview {\n /** Api Version '7.3-preview' */\n Seven3Preview = \"7.3-preview\"\n}\n\n/**\n * Defines values for ApiVersion73Preview. \\\n * {@link KnownApiVersion73Preview} can be used interchangeably with ApiVersion73Preview,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **7.3-preview**: Api Version '7.3-preview'\n */\nexport type ApiVersion73Preview = string;\n\n/** Known values of {@link JsonWebKeyType} that the service accepts. */\nexport const enum KnownJsonWebKeyType {\n /** Elliptic Curve. */\n EC = \"EC\",\n /** Elliptic Curve with a private key which is stored in the HSM. */\n ECHSM = \"EC-HSM\",\n /** RSA (https://tools.ietf.org/html/rfc3447) */\n RSA = \"RSA\",\n /** RSA with a private key which is stored in the HSM. */\n RSAHSM = \"RSA-HSM\",\n /** Octet sequence (used to represent symmetric keys) */\n Oct = \"oct\",\n /** Octet sequence (used to represent symmetric keys) which is stored the HSM. */\n OctHSM = \"oct-HSM\"\n}\n\n/**\n * Defines values for JsonWebKeyType. \\\n * {@link KnownJsonWebKeyType} can be used interchangeably with JsonWebKeyType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **EC**: Elliptic Curve. \\\n * **EC-HSM**: Elliptic Curve with a private key which is stored in the HSM. \\\n * **RSA**: RSA (https:\\/\\/tools.ietf.org\\/html\\/rfc3447) \\\n * **RSA-HSM**: RSA with a private key which is stored in the HSM. \\\n * **oct**: Octet sequence (used to represent symmetric keys) \\\n * **oct-HSM**: Octet sequence (used to represent symmetric keys) which is stored the HSM.\n */\nexport type JsonWebKeyType = string;\n\n/** Known values of {@link JsonWebKeyOperation} that the service accepts. */\nexport const enum KnownJsonWebKeyOperation {\n /** Key operation - encrypt */\n Encrypt = \"encrypt\",\n /** Key operation - encrypt */\n Decrypt = \"decrypt\",\n /** Key operation - encrypt */\n Sign = \"sign\",\n /** Key operation - encrypt */\n Verify = \"verify\",\n /** Key operation - encrypt */\n WrapKey = \"wrapKey\",\n /** Key operation - encrypt */\n UnwrapKey = \"unwrapKey\",\n /** Key operation - encrypt */\n Import = \"import\",\n /** Key operation - encrypt */\n Export = \"export\"\n}\n\n/**\n * Defines values for JsonWebKeyOperation. \\\n * {@link KnownJsonWebKeyOperation} can be used interchangeably with JsonWebKeyOperation,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **encrypt** \\\n * **decrypt** \\\n * **sign** \\\n * **verify** \\\n * **wrapKey** \\\n * **unwrapKey** \\\n * **import** \\\n * **export**\n */\nexport type JsonWebKeyOperation = string;\n\n/** Known values of {@link DeletionRecoveryLevel} that the service accepts. */\nexport const enum KnownDeletionRecoveryLevel {\n /** Denotes a vault state in which deletion is an irreversible operation, without the possibility for recovery. This level corresponds to no protection being available against a Delete operation; the data is irretrievably lost upon accepting a Delete operation at the entity level or higher (vault, resource group, subscription etc.) */\n Purgeable = \"Purgeable\",\n /** Denotes a vault state in which deletion is recoverable, and which also permits immediate and permanent deletion (i.e. purge). This level guarantees the recoverability of the deleted entity during the retention interval (90 days), unless a Purge operation is requested, or the subscription is cancelled. System wil permanently delete it after 90 days, if not recovered */\n RecoverablePurgeable = \"Recoverable+Purgeable\",\n /** Denotes a vault state in which deletion is recoverable without the possibility for immediate and permanent deletion (i.e. purge). This level guarantees the recoverability of the deleted entity during the retention interval(90 days) and while the subscription is still available. System wil permanently delete it after 90 days, if not recovered */\n Recoverable = \"Recoverable\",\n /** Denotes a vault and subscription state in which deletion is recoverable within retention interval (90 days), immediate and permanent deletion (i.e. purge) is not permitted, and in which the subscription itself cannot be permanently canceled. System wil permanently delete it after 90 days, if not recovered */\n RecoverableProtectedSubscription = \"Recoverable+ProtectedSubscription\",\n /** Denotes a vault state in which deletion is recoverable, and which also permits immediate and permanent deletion (i.e. purge when 7<= SoftDeleteRetentionInDays < 90). This level guarantees the recoverability of the deleted entity during the retention interval, unless a Purge operation is requested, or the subscription is cancelled. */\n CustomizedRecoverablePurgeable = \"CustomizedRecoverable+Purgeable\",\n /** Denotes a vault state in which deletion is recoverable without the possibility for immediate and permanent deletion (i.e. purge when 7<= SoftDeleteRetentionInDays < 90).This level guarantees the recoverability of the deleted entity during the retention interval and while the subscription is still available. */\n CustomizedRecoverable = \"CustomizedRecoverable\",\n /** Denotes a vault and subscription state in which deletion is recoverable, immediate and permanent deletion (i.e. purge) is not permitted, and in which the subscription itself cannot be permanently canceled when 7<= SoftDeleteRetentionInDays < 90. This level guarantees the recoverability of the deleted entity during the retention interval, and also reflects the fact that the subscription itself cannot be cancelled. */\n CustomizedRecoverableProtectedSubscription = \"CustomizedRecoverable+ProtectedSubscription\"\n}\n\n/**\n * Defines values for DeletionRecoveryLevel. \\\n * {@link KnownDeletionRecoveryLevel} can be used interchangeably with DeletionRecoveryLevel,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Purgeable**: Denotes a vault state in which deletion is an irreversible operation, without the possibility for recovery. This level corresponds to no protection being available against a Delete operation; the data is irretrievably lost upon accepting a Delete operation at the entity level or higher (vault, resource group, subscription etc.) \\\n * **Recoverable+Purgeable**: Denotes a vault state in which deletion is recoverable, and which also permits immediate and permanent deletion (i.e. purge). This level guarantees the recoverability of the deleted entity during the retention interval (90 days), unless a Purge operation is requested, or the subscription is cancelled. System wil permanently delete it after 90 days, if not recovered \\\n * **Recoverable**: Denotes a vault state in which deletion is recoverable without the possibility for immediate and permanent deletion (i.e. purge). This level guarantees the recoverability of the deleted entity during the retention interval(90 days) and while the subscription is still available. System wil permanently delete it after 90 days, if not recovered \\\n * **Recoverable+ProtectedSubscription**: Denotes a vault and subscription state in which deletion is recoverable within retention interval (90 days), immediate and permanent deletion (i.e. purge) is not permitted, and in which the subscription itself cannot be permanently canceled. System wil permanently delete it after 90 days, if not recovered \\\n * **CustomizedRecoverable+Purgeable**: Denotes a vault state in which deletion is recoverable, and which also permits immediate and permanent deletion (i.e. purge when 7<= SoftDeleteRetentionInDays < 90). This level guarantees the recoverability of the deleted entity during the retention interval, unless a Purge operation is requested, or the subscription is cancelled. \\\n * **CustomizedRecoverable**: Denotes a vault state in which deletion is recoverable without the possibility for immediate and permanent deletion (i.e. purge when 7<= SoftDeleteRetentionInDays < 90).This level guarantees the recoverability of the deleted entity during the retention interval and while the subscription is still available. \\\n * **CustomizedRecoverable+ProtectedSubscription**: Denotes a vault and subscription state in which deletion is recoverable, immediate and permanent deletion (i.e. purge) is not permitted, and in which the subscription itself cannot be permanently canceled when 7<= SoftDeleteRetentionInDays < 90. This level guarantees the recoverability of the deleted entity during the retention interval, and also reflects the fact that the subscription itself cannot be cancelled.\n */\nexport type DeletionRecoveryLevel = string;\n\n/** Known values of {@link JsonWebKeyCurveName} that the service accepts. */\nexport const enum KnownJsonWebKeyCurveName {\n /** The NIST P-256 elliptic curve, AKA SECG curve SECP256R1. */\n P256 = \"P-256\",\n /** The NIST P-384 elliptic curve, AKA SECG curve SECP384R1. */\n P384 = \"P-384\",\n /** The NIST P-521 elliptic curve, AKA SECG curve SECP521R1. */\n P521 = \"P-521\",\n /** The SECG SECP256K1 elliptic curve. */\n P256K = \"P-256K\"\n}\n\n/**\n * Defines values for JsonWebKeyCurveName. \\\n * {@link KnownJsonWebKeyCurveName} can be used interchangeably with JsonWebKeyCurveName,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **P-256**: The NIST P-256 elliptic curve, AKA SECG curve SECP256R1. \\\n * **P-384**: The NIST P-384 elliptic curve, AKA SECG curve SECP384R1. \\\n * **P-521**: The NIST P-521 elliptic curve, AKA SECG curve SECP521R1. \\\n * **P-256K**: The SECG SECP256K1 elliptic curve.\n */\nexport type JsonWebKeyCurveName = string;\n\n/** Known values of {@link JsonWebKeyEncryptionAlgorithm} that the service accepts. */\nexport const enum KnownJsonWebKeyEncryptionAlgorithm {\n /** Encryption Algorithm - RSA-OAEP */\n RSAOaep = \"RSA-OAEP\",\n /** Encryption Algorithm - RSA-OAEP-256 */\n RSAOaep256 = \"RSA-OAEP-256\",\n /** Encryption Algorithm - RSA1_5 */\n RSA15 = \"RSA1_5\",\n /** Encryption Algorithm - A128GCM */\n A128GCM = \"A128GCM\",\n /** Encryption Algorithm - A192GCM */\n A192GCM = \"A192GCM\",\n /** Encryption Algorithm - A256GCM */\n A256GCM = \"A256GCM\",\n /** Encryption Algorithm - A128KW */\n A128KW = \"A128KW\",\n /** Encryption Algorithm - A192KW */\n A192KW = \"A192KW\",\n /** Encryption Algorithm - A256KW */\n A256KW = \"A256KW\",\n /** Encryption Algorithm - A128CBC */\n A128CBC = \"A128CBC\",\n /** Encryption Algorithm - A192CBC */\n A192CBC = \"A192CBC\",\n /** Encryption Algorithm - A256CBC */\n A256CBC = \"A256CBC\",\n /** Encryption Algorithm - A128CBCPAD */\n A128Cbcpad = \"A128CBCPAD\",\n /** Encryption Algorithm - A192CBCPAD */\n A192Cbcpad = \"A192CBCPAD\",\n /** Encryption Algorithm - A256CBCPAD */\n A256Cbcpad = \"A256CBCPAD\"\n}\n\n/**\n * Defines values for JsonWebKeyEncryptionAlgorithm. \\\n * {@link KnownJsonWebKeyEncryptionAlgorithm} can be used interchangeably with JsonWebKeyEncryptionAlgorithm,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **RSA-OAEP** \\\n * **RSA-OAEP-256** \\\n * **RSA1_5** \\\n * **A128GCM** \\\n * **A192GCM** \\\n * **A256GCM** \\\n * **A128KW** \\\n * **A192KW** \\\n * **A256KW** \\\n * **A128CBC** \\\n * **A192CBC** \\\n * **A256CBC** \\\n * **A128CBCPAD** \\\n * **A192CBCPAD** \\\n * **A256CBCPAD**\n */\nexport type JsonWebKeyEncryptionAlgorithm = string;\n\n/** Known values of {@link JsonWebKeySignatureAlgorithm} that the service accepts. */\nexport const enum KnownJsonWebKeySignatureAlgorithm {\n /** RSASSA-PSS using SHA-256 and MGF1 with SHA-256, as described in https://tools.ietf.org/html/rfc7518 */\n PS256 = \"PS256\",\n /** RSASSA-PSS using SHA-384 and MGF1 with SHA-384, as described in https://tools.ietf.org/html/rfc7518 */\n PS384 = \"PS384\",\n /** RSASSA-PSS using SHA-512 and MGF1 with SHA-512, as described in https://tools.ietf.org/html/rfc7518 */\n PS512 = \"PS512\",\n /** RSASSA-PKCS1-v1_5 using SHA-256, as described in https://tools.ietf.org/html/rfc7518 */\n RS256 = \"RS256\",\n /** RSASSA-PKCS1-v1_5 using SHA-384, as described in https://tools.ietf.org/html/rfc7518 */\n RS384 = \"RS384\",\n /** RSASSA-PKCS1-v1_5 using SHA-512, as described in https://tools.ietf.org/html/rfc7518 */\n RS512 = \"RS512\",\n /** Reserved */\n Rsnull = \"RSNULL\",\n /** ECDSA using P-256 and SHA-256, as described in https://tools.ietf.org/html/rfc7518. */\n ES256 = \"ES256\",\n /** ECDSA using P-384 and SHA-384, as described in https://tools.ietf.org/html/rfc7518 */\n ES384 = \"ES384\",\n /** ECDSA using P-521 and SHA-512, as described in https://tools.ietf.org/html/rfc7518 */\n ES512 = \"ES512\",\n /** ECDSA using P-256K and SHA-256, as described in https://tools.ietf.org/html/rfc7518 */\n ES256K = \"ES256K\"\n}\n\n/**\n * Defines values for JsonWebKeySignatureAlgorithm. \\\n * {@link KnownJsonWebKeySignatureAlgorithm} can be used interchangeably with JsonWebKeySignatureAlgorithm,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **PS256**: RSASSA-PSS using SHA-256 and MGF1 with SHA-256, as described in https:\\/\\/tools.ietf.org\\/html\\/rfc7518 \\\n * **PS384**: RSASSA-PSS using SHA-384 and MGF1 with SHA-384, as described in https:\\/\\/tools.ietf.org\\/html\\/rfc7518 \\\n * **PS512**: RSASSA-PSS using SHA-512 and MGF1 with SHA-512, as described in https:\\/\\/tools.ietf.org\\/html\\/rfc7518 \\\n * **RS256**: RSASSA-PKCS1-v1_5 using SHA-256, as described in https:\\/\\/tools.ietf.org\\/html\\/rfc7518 \\\n * **RS384**: RSASSA-PKCS1-v1_5 using SHA-384, as described in https:\\/\\/tools.ietf.org\\/html\\/rfc7518 \\\n * **RS512**: RSASSA-PKCS1-v1_5 using SHA-512, as described in https:\\/\\/tools.ietf.org\\/html\\/rfc7518 \\\n * **RSNULL**: Reserved \\\n * **ES256**: ECDSA using P-256 and SHA-256, as described in https:\\/\\/tools.ietf.org\\/html\\/rfc7518. \\\n * **ES384**: ECDSA using P-384 and SHA-384, as described in https:\\/\\/tools.ietf.org\\/html\\/rfc7518 \\\n * **ES512**: ECDSA using P-521 and SHA-512, as described in https:\\/\\/tools.ietf.org\\/html\\/rfc7518 \\\n * **ES256K**: ECDSA using P-256K and SHA-256, as described in https:\\/\\/tools.ietf.org\\/html\\/rfc7518\n */\nexport type JsonWebKeySignatureAlgorithm = string;\n\n/** Known values of {@link KeyEncryptionAlgorithm} that the service accepts. */\nexport const enum KnownKeyEncryptionAlgorithm {\n CKMRSAAESKEYWrap = \"CKM_RSA_AES_KEY_WRAP\",\n RSAAESKEYWrap256 = \"RSA_AES_KEY_WRAP_256\",\n RSAAESKEYWrap384 = \"RSA_AES_KEY_WRAP_384\"\n}\n\n/**\n * Defines values for KeyEncryptionAlgorithm. \\\n * {@link KnownKeyEncryptionAlgorithm} can be used interchangeably with KeyEncryptionAlgorithm,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **CKM_RSA_AES_KEY_WRAP** \\\n * **RSA_AES_KEY_WRAP_256** \\\n * **RSA_AES_KEY_WRAP_384**\n */\nexport type KeyEncryptionAlgorithm = string;\n/** Defines values for ActionType. */\nexport type ActionType = \"rotate\" | \"notify\";\n\n/** Optional parameters. */\nexport interface KeyVaultClientCreateKeyOptionalParams extends coreHttp.OperationOptions {\n /** The key size in bits. For example: 2048, 3072, or 4096 for RSA. */\n keySize?: number;\n /** The public exponent for a RSA key. */\n publicExponent?: number;\n /** Array of JsonWebKeyOperation */\n keyOps?: JsonWebKeyOperation[];\n /** The attributes of a key managed by the key vault service. */\n keyAttributes?: KeyAttributes;\n /** Application specific metadata in the form of key-value pairs. */\n tags?: { [propertyName: string]: string };\n /** Elliptic curve name. For valid values, see JsonWebKeyCurveName. */\n curve?: JsonWebKeyCurveName;\n /** The policy rules under which the key can be exported. */\n releasePolicy?: KeyReleasePolicy;\n}\n\n/** Contains response data for the createKey operation. */\nexport type KeyVaultClientCreateKeyResponse = KeyBundle & {\n /** The underlying HTTP response. */\n _response: coreHttp.HttpResponse & {\n /** The response body as text (string format) */\n bodyAsText: string;\n\n /** The response body as parsed JSON or XML */\n parsedBody: KeyBundle;\n };\n};\n\n/** Optional parameters. */\nexport interface KeyVaultClientRotateKeyOptionalParams extends coreHttp.OperationOptions {}\n\n/** Contains response data for the rotateKey operation. */\nexport type KeyVaultClientRotateKeyResponse = KeyBundle & {\n /** The underlying HTTP response. */\n _response: coreHttp.HttpResponse & {\n /** The response body as text (string format) */\n bodyAsText: string;\n\n /** The response body as parsed JSON or XML */\n parsedBody: KeyBundle;\n };\n};\n\n/** Optional parameters. */\nexport interface KeyVaultClientImportKeyOptionalParams extends coreHttp.OperationOptions {\n /** Whether to import as a hardware key (HSM) or software key. */\n hsm?: boolean;\n /** The key management attributes. */\n keyAttributes?: KeyAttributes;\n /** Application specific metadata in the form of key-value pairs. */\n tags?: { [propertyName: string]: string };\n /** The policy rules under which the key can be exported. */\n releasePolicy?: KeyReleasePolicy;\n}\n\n/** Contains response data for the importKey operation. */\nexport type KeyVaultClientImportKeyResponse = KeyBundle & {\n /** The underlying HTTP response. */\n _response: coreHttp.HttpResponse & {\n /** The response body as text (string format) */\n bodyAsText: string;\n\n /** The response body as parsed JSON or XML */\n parsedBody: KeyBundle;\n };\n};\n\n/** Optional parameters. */\nexport interface KeyVaultClientDeleteKeyOptionalParams extends coreHttp.OperationOptions {}\n\n/** Contains response data for the deleteKey operation. */\nexport type KeyVaultClientDeleteKeyResponse = DeletedKeyBundle & {\n /** The underlying HTTP response. */\n _response: coreHttp.HttpResponse & {\n /** The response body as text (string format) */\n bodyAsText: string;\n\n /** The response body as parsed JSON or XML */\n parsedBody: DeletedKeyBundle;\n };\n};\n\n/** Optional parameters. */\nexport interface KeyVaultClientUpdateKeyOptionalParams extends coreHttp.OperationOptions {\n /** Json web key operations. For more information on possible key operations, see JsonWebKeyOperation. */\n keyOps?: JsonWebKeyOperation[];\n /** The attributes of a key managed by the key vault service. */\n keyAttributes?: KeyAttributes;\n /** Application specific metadata in the form of key-value pairs. */\n tags?: { [propertyName: string]: string };\n /** The policy rules under which the key can be exported. */\n releasePolicy?: KeyReleasePolicy;\n}\n\n/** Contains response data for the updateKey operation. */\nexport type KeyVaultClientUpdateKeyResponse = KeyBundle & {\n /** The underlying HTTP response. */\n _response: coreHttp.HttpResponse & {\n /** The response body as text (string format) */\n bodyAsText: string;\n\n /** The response body as parsed JSON or XML */\n parsedBody: KeyBundle;\n };\n};\n\n/** Optional parameters. */\nexport interface KeyVaultClientGetKeyOptionalParams extends coreHttp.OperationOptions {}\n\n/** Contains response data for the getKey operation. */\nexport type KeyVaultClientGetKeyResponse = KeyBundle & {\n /** The underlying HTTP response. */\n _response: coreHttp.HttpResponse & {\n /** The response body as text (string format) */\n bodyAsText: string;\n\n /** The response body as parsed JSON or XML */\n parsedBody: KeyBundle;\n };\n};\n\n/** Optional parameters. */\nexport interface KeyVaultClientGetKeyVersionsOptionalParams extends coreHttp.OperationOptions {\n /** Maximum number of results to return in a page. If not specified the service will return up to 25 results. */\n maxresults?: number;\n}\n\n/** Contains response data for the getKeyVersions operation. */\nexport type KeyVaultClientGetKeyVersionsResponse = KeyListResult & {\n /** The underlying HTTP response. */\n _response: coreHttp.HttpResponse & {\n /** The response body as text (string format) */\n bodyAsText: string;\n\n /** The response body as parsed JSON or XML */\n parsedBody: KeyListResult;\n };\n};\n\n/** Optional parameters. */\nexport interface KeyVaultClientGetKeysOptionalParams extends coreHttp.OperationOptions {\n /** Maximum number of results to return in a page. If not specified the service will return up to 25 results. */\n maxresults?: number;\n}\n\n/** Contains response data for the getKeys operation. */\nexport type KeyVaultClientGetKeysResponse = KeyListResult & {\n /** The underlying HTTP response. */\n _response: coreHttp.HttpResponse & {\n /** The response body as text (string format) */\n bodyAsText: string;\n\n /** The response body as parsed JSON or XML */\n parsedBody: KeyListResult;\n };\n};\n\n/** Optional parameters. */\nexport interface KeyVaultClientBackupKeyOptionalParams extends coreHttp.OperationOptions {}\n\n/** Contains response data for the backupKey operation. */\nexport type KeyVaultClientBackupKeyResponse = BackupKeyResult & {\n /** The underlying HTTP response. */\n _response: coreHttp.HttpResponse & {\n /** The response body as text (string format) */\n bodyAsText: string;\n\n /** The response body as parsed JSON or XML */\n parsedBody: BackupKeyResult;\n };\n};\n\n/** Optional parameters. */\nexport interface KeyVaultClientRestoreKeyOptionalParams extends coreHttp.OperationOptions {}\n\n/** Contains response data for the restoreKey operation. */\nexport type KeyVaultClientRestoreKeyResponse = KeyBundle & {\n /** The underlying HTTP response. */\n _response: coreHttp.HttpResponse & {\n /** The response body as text (string format) */\n bodyAsText: string;\n\n /** The response body as parsed JSON or XML */\n parsedBody: KeyBundle;\n };\n};\n\n/** Optional parameters. */\nexport interface KeyVaultClientEncryptOptionalParams extends coreHttp.OperationOptions {\n /** Initialization vector for symmetric algorithms. */\n iv?: Uint8Array;\n /** Additional data to authenticate but not encrypt/decrypt when using authenticated crypto algorithms. */\n additionalAuthenticatedData?: Uint8Array;\n /** The tag to authenticate when performing decryption with an authenticated algorithm. */\n authenticationTag?: Uint8Array;\n}\n\n/** Contains response data for the encrypt operation. */\nexport type KeyVaultClientEncryptResponse = KeyOperationResult & {\n /** The underlying HTTP response. */\n _response: coreHttp.HttpResponse & {\n /** The response body as text (string format) */\n bodyAsText: string;\n\n /** The response body as parsed JSON or XML */\n parsedBody: KeyOperationResult;\n };\n};\n\n/** Optional parameters. */\nexport interface KeyVaultClientDecryptOptionalParams extends coreHttp.OperationOptions {\n /** Initialization vector for symmetric algorithms. */\n iv?: Uint8Array;\n /** Additional data to authenticate but not encrypt/decrypt when using authenticated crypto algorithms. */\n additionalAuthenticatedData?: Uint8Array;\n /** The tag to authenticate when performing decryption with an authenticated algorithm. */\n authenticationTag?: Uint8Array;\n}\n\n/** Contains response data for the decrypt operation. */\nexport type KeyVaultClientDecryptResponse = KeyOperationResult & {\n /** The underlying HTTP response. */\n _response: coreHttp.HttpResponse & {\n /** The response body as text (string format) */\n bodyAsText: string;\n\n /** The response body as parsed JSON or XML */\n parsedBody: KeyOperationResult;\n };\n};\n\n/** Optional parameters. */\nexport interface KeyVaultClientSignOptionalParams extends coreHttp.OperationOptions {}\n\n/** Contains response data for the sign operation. */\nexport type KeyVaultClientSignResponse = KeyOperationResult & {\n /** The underlying HTTP response. */\n _response: coreHttp.HttpResponse & {\n /** The response body as text (string format) */\n bodyAsText: string;\n\n /** The response body as parsed JSON or XML */\n parsedBody: KeyOperationResult;\n };\n};\n\n/** Optional parameters. */\nexport interface KeyVaultClientVerifyOptionalParams extends coreHttp.OperationOptions {}\n\n/** Contains response data for the verify operation. */\nexport type KeyVaultClientVerifyResponse = KeyVerifyResult & {\n /** The underlying HTTP response. */\n _response: coreHttp.HttpResponse & {\n /** The response body as text (string format) */\n bodyAsText: string;\n\n /** The response body as parsed JSON or XML */\n parsedBody: KeyVerifyResult;\n };\n};\n\n/** Optional parameters. */\nexport interface KeyVaultClientWrapKeyOptionalParams extends coreHttp.OperationOptions {\n /** Initialization vector for symmetric algorithms. */\n iv?: Uint8Array;\n /** Additional data to authenticate but not encrypt/decrypt when using authenticated crypto algorithms. */\n additionalAuthenticatedData?: Uint8Array;\n /** The tag to authenticate when performing decryption with an authenticated algorithm. */\n authenticationTag?: Uint8Array;\n}\n\n/** Contains response data for the wrapKey operation. */\nexport type KeyVaultClientWrapKeyResponse = KeyOperationResult & {\n /** The underlying HTTP response. */\n _response: coreHttp.HttpResponse & {\n /** The response body as text (string format) */\n bodyAsText: string;\n\n /** The response body as parsed JSON or XML */\n parsedBody: KeyOperationResult;\n };\n};\n\n/** Optional parameters. */\nexport interface KeyVaultClientUnwrapKeyOptionalParams extends coreHttp.OperationOptions {\n /** Initialization vector for symmetric algorithms. */\n iv?: Uint8Array;\n /** Additional data to authenticate but not encrypt/decrypt when using authenticated crypto algorithms. */\n additionalAuthenticatedData?: Uint8Array;\n /** The tag to authenticate when performing decryption with an authenticated algorithm. */\n authenticationTag?: Uint8Array;\n}\n\n/** Contains response data for the unwrapKey operation. */\nexport type KeyVaultClientUnwrapKeyResponse = KeyOperationResult & {\n /** The underlying HTTP response. */\n _response: coreHttp.HttpResponse & {\n /** The response body as text (string format) */\n bodyAsText: string;\n\n /** The response body as parsed JSON or XML */\n parsedBody: KeyOperationResult;\n };\n};\n\n/** Optional parameters. */\nexport interface KeyVaultClientExportOptionalParams extends coreHttp.OperationOptions {\n /** The export key encryption Json web key. This key MUST be a RSA key that supports encryption. */\n wrappingKey?: JsonWebKey;\n /** The export key encryption key identifier. This key MUST be a RSA key that supports encryption. */\n wrappingKid?: string;\n /** The encryption algorithm to use to protected the exported key material */\n enc?: KeyEncryptionAlgorithm;\n}\n\n/** Contains response data for the export operation. */\nexport type KeyVaultClientExportResponse = KeyBundle & {\n /** The underlying HTTP response. */\n _response: coreHttp.HttpResponse & {\n /** The response body as text (string format) */\n bodyAsText: string;\n\n /** The response body as parsed JSON or XML */\n parsedBody: KeyBundle;\n };\n};\n\n/** Optional parameters. */\nexport interface KeyVaultClientReleaseOptionalParams extends coreHttp.OperationOptions {\n /** A client provided nonce for freshness. */\n nonce?: string;\n /** The encryption algorithm to use to protected the exported key material */\n enc?: KeyEncryptionAlgorithm;\n}\n\n/** Contains response data for the release operation. */\nexport type KeyVaultClientReleaseResponse = KeyReleaseResult & {\n /** The underlying HTTP response. */\n _response: coreHttp.HttpResponse & {\n /** The response body as text (string format) */\n bodyAsText: string;\n\n /** The response body as parsed JSON or XML */\n parsedBody: KeyReleaseResult;\n };\n};\n\n/** Optional parameters. */\nexport interface KeyVaultClientGetDeletedKeysOptionalParams extends coreHttp.OperationOptions {\n /** Maximum number of results to return in a page. If not specified the service will return up to 25 results. */\n maxresults?: number;\n}\n\n/** Contains response data for the getDeletedKeys operation. */\nexport type KeyVaultClientGetDeletedKeysResponse = DeletedKeyListResult & {\n /** The underlying HTTP response. */\n _response: coreHttp.HttpResponse & {\n /** The response body as text (string format) */\n bodyAsText: string;\n\n /** The response body as parsed JSON or XML */\n parsedBody: DeletedKeyListResult;\n };\n};\n\n/** Optional parameters. */\nexport interface KeyVaultClientGetDeletedKeyOptionalParams extends coreHttp.OperationOptions {}\n\n/** Contains response data for the getDeletedKey operation. */\nexport type KeyVaultClientGetDeletedKeyResponse = DeletedKeyBundle & {\n /** The underlying HTTP response. */\n _response: coreHttp.HttpResponse & {\n /** The response body as text (string format) */\n bodyAsText: string;\n\n /** The response body as parsed JSON or XML */\n parsedBody: DeletedKeyBundle;\n };\n};\n\n/** Optional parameters. */\nexport interface KeyVaultClientPurgeDeletedKeyOptionalParams extends coreHttp.OperationOptions {}\n\n/** Optional parameters. */\nexport interface KeyVaultClientRecoverDeletedKeyOptionalParams extends coreHttp.OperationOptions {}\n\n/** Contains response data for the recoverDeletedKey operation. */\nexport type KeyVaultClientRecoverDeletedKeyResponse = KeyBundle & {\n /** The underlying HTTP response. */\n _response: coreHttp.HttpResponse & {\n /** The response body as text (string format) */\n bodyAsText: string;\n\n /** The response body as parsed JSON or XML */\n parsedBody: KeyBundle;\n };\n};\n\n/** Optional parameters. */\nexport interface KeyVaultClientGetKeyRotationPolicyOptionalParams\n extends coreHttp.OperationOptions {}\n\n/** Contains response data for the getKeyRotationPolicy operation. */\nexport type KeyVaultClientGetKeyRotationPolicyResponse = KeyRotationPolicy & {\n /** The underlying HTTP response. */\n _response: coreHttp.HttpResponse & {\n /** The response body as text (string format) */\n bodyAsText: string;\n\n /** The response body as parsed JSON or XML */\n parsedBody: KeyRotationPolicy;\n };\n};\n\n/** Optional parameters. */\nexport interface KeyVaultClientUpdateKeyRotationPolicyOptionalParams\n extends coreHttp.OperationOptions {}\n\n/** Contains response data for the updateKeyRotationPolicy operation. */\nexport type KeyVaultClientUpdateKeyRotationPolicyResponse = KeyRotationPolicy & {\n /** The underlying HTTP response. */\n _response: coreHttp.HttpResponse & {\n /** The response body as text (string format) */\n bodyAsText: string;\n\n /** The response body as parsed JSON or XML */\n parsedBody: KeyRotationPolicy;\n };\n};\n\n/** Optional parameters. */\nexport interface KeyVaultClientGetRandomBytesOptionalParams extends coreHttp.OperationOptions {}\n\n/** Contains response data for the getRandomBytes operation. */\nexport type KeyVaultClientGetRandomBytesResponse = RandomBytes & {\n /** The underlying HTTP response. */\n _response: coreHttp.HttpResponse & {\n /** The response body as text (string format) */\n bodyAsText: string;\n\n /** The response body as parsed JSON or XML */\n parsedBody: RandomBytes;\n };\n};\n\n/** Optional parameters. */\nexport interface KeyVaultClientGetKeyVersionsNextOptionalParams extends coreHttp.OperationOptions {\n /** Maximum number of results to return in a page. If not specified the service will return up to 25 results. */\n maxresults?: number;\n}\n\n/** Contains response data for the getKeyVersionsNext operation. */\nexport type KeyVaultClientGetKeyVersionsNextResponse = KeyListResult & {\n /** The underlying HTTP response. */\n _response: coreHttp.HttpResponse & {\n /** The response body as text (string format) */\n bodyAsText: string;\n\n /** The response body as parsed JSON or XML */\n parsedBody: KeyListResult;\n };\n};\n\n/** Optional parameters. */\nexport interface KeyVaultClientGetKeysNextOptionalParams extends coreHttp.OperationOptions {\n /** Maximum number of results to return in a page. If not specified the service will return up to 25 results. */\n maxresults?: number;\n}\n\n/** Contains response data for the getKeysNext operation. */\nexport type KeyVaultClientGetKeysNextResponse = KeyListResult & {\n /** The underlying HTTP response. */\n _response: coreHttp.HttpResponse & {\n /** The response body as text (string format) */\n bodyAsText: string;\n\n /** The response body as parsed JSON or XML */\n parsedBody: KeyListResult;\n };\n};\n\n/** Optional parameters. */\nexport interface KeyVaultClientGetDeletedKeysNextOptionalParams extends coreHttp.OperationOptions {\n /** Maximum number of results to return in a page. If not specified the service will return up to 25 results. */\n maxresults?: number;\n}\n\n/** Contains response data for the getDeletedKeysNext operation. */\nexport type KeyVaultClientGetDeletedKeysNextResponse = DeletedKeyListResult & {\n /** The underlying HTTP response. */\n _response: coreHttp.HttpResponse & {\n /** The response body as text (string format) */\n bodyAsText: string;\n\n /** The response body as parsed JSON or XML */\n parsedBody: DeletedKeyListResult;\n };\n};\n\n/** Optional parameters. */\nexport interface KeyVaultClientOptionalParams extends coreHttp.ServiceClientOptions {\n /** Overrides client endpoint. */\n endpoint?: string;\n}\n"]}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/generated/models/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreHttp from \"@azure/core-http\";\n\n/** The key create parameters. */\nexport interface KeyCreateParameters {\n /** The type of key to create. For valid values, see JsonWebKeyType. */\n kty: JsonWebKeyType;\n /** The key size in bits. For example: 2048, 3072, or 4096 for RSA. */\n keySize?: number;\n /** The public exponent for a RSA key. */\n publicExponent?: number;\n keyOps?: JsonWebKeyOperation[];\n /** The attributes of a key managed by the key vault service. */\n keyAttributes?: KeyAttributes;\n /** Application specific metadata in the form of key-value pairs. */\n tags?: { [propertyName: string]: string };\n /** Elliptic curve name. For valid values, see JsonWebKeyCurveName. */\n curve?: JsonWebKeyCurveName;\n}\n\n/** The object attributes managed by the KeyVault service. */\nexport interface Attributes {\n /** Determines whether the object is enabled. */\n enabled?: boolean;\n /** Not before date in UTC. */\n notBefore?: Date;\n /** Expiry date in UTC. */\n expires?: Date;\n /**\n * Creation time in UTC.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly created?: Date;\n /**\n * Last updated time in UTC.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly updated?: Date;\n}\n\n/** A KeyBundle consisting of a WebKey plus its attributes. */\nexport interface KeyBundle {\n /** The Json web key. */\n key?: JsonWebKey;\n /** The key management attributes. */\n attributes?: KeyAttributes;\n /** Application specific metadata in the form of key-value pairs. */\n tags?: { [propertyName: string]: string };\n /**\n * True if the key's lifetime is managed by key vault. If this is a key backing a certificate, then managed will be true.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly managed?: boolean;\n}\n\n/** As of http://tools.ietf.org/html/draft-ietf-jose-json-web-key-18 */\nexport interface JsonWebKey {\n /** Key identifier. */\n kid?: string;\n /** JsonWebKey Key Type (kty), as defined in https://tools.ietf.org/html/draft-ietf-jose-json-web-algorithms-40. */\n kty?: JsonWebKeyType;\n keyOps?: string[];\n /** RSA modulus. */\n n?: Uint8Array;\n /** RSA public exponent. */\n e?: Uint8Array;\n /** RSA private exponent, or the D component of an EC private key. */\n d?: Uint8Array;\n /** RSA private key parameter. */\n dp?: Uint8Array;\n /** RSA private key parameter. */\n dq?: Uint8Array;\n /** RSA private key parameter. */\n qi?: Uint8Array;\n /** RSA secret prime. */\n p?: Uint8Array;\n /** RSA secret prime, with p < q. */\n q?: Uint8Array;\n /** Symmetric key. */\n k?: Uint8Array;\n /** Protected Key, used with 'Bring Your Own Key'. */\n t?: Uint8Array;\n /** Elliptic curve name. For valid values, see JsonWebKeyCurveName. */\n crv?: JsonWebKeyCurveName;\n /** X component of an EC public key. */\n x?: Uint8Array;\n /** Y component of an EC public key. */\n y?: Uint8Array;\n}\n\n/** The key vault error exception. */\nexport interface KeyVaultError {\n /**\n * The key vault server error.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly error?: ErrorModel | null;\n}\n\n/** The key vault server error. */\nexport interface ErrorModel {\n /**\n * The error code.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly code?: string;\n /**\n * The error message.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly message?: string;\n /**\n * The key vault server error.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly innerError?: ErrorModel | null;\n}\n\n/** The key import parameters. */\nexport interface KeyImportParameters {\n /** Whether to import as a hardware key (HSM) or software key. */\n hsm?: boolean;\n /** The Json web key */\n key: JsonWebKey;\n /** The key management attributes. */\n keyAttributes?: KeyAttributes;\n /** Application specific metadata in the form of key-value pairs. */\n tags?: { [propertyName: string]: string };\n}\n\n/** The key update parameters. */\nexport interface KeyUpdateParameters {\n /** Json web key operations. For more information on possible key operations, see JsonWebKeyOperation. */\n keyOps?: JsonWebKeyOperation[];\n /** The attributes of a key managed by the key vault service. */\n keyAttributes?: KeyAttributes;\n /** Application specific metadata in the form of key-value pairs. */\n tags?: { [propertyName: string]: string };\n}\n\n/** The key list result. */\nexport interface KeyListResult {\n /**\n * A response message containing a list of keys in the key vault along with a link to the next page of keys.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly value?: KeyItem[];\n /**\n * The URL to get the next set of keys.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly nextLink?: string;\n}\n\n/** The key item containing key metadata. */\nexport interface KeyItem {\n /** Key identifier. */\n kid?: string;\n /** The key management attributes. */\n attributes?: KeyAttributes;\n /** Application specific metadata in the form of key-value pairs. */\n tags?: { [propertyName: string]: string };\n /**\n * True if the key's lifetime is managed by key vault. If this is a key backing a certificate, then managed will be true.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly managed?: boolean;\n}\n\n/** The backup key result, containing the backup blob. */\nexport interface BackupKeyResult {\n /**\n * The backup blob containing the backed up key.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly value?: Uint8Array;\n}\n\n/** The key restore parameters. */\nexport interface KeyRestoreParameters {\n /** The backup blob associated with a key bundle. */\n keyBundleBackup: Uint8Array;\n}\n\n/** The key operations parameters. */\nexport interface KeyOperationsParameters {\n /** algorithm identifier */\n algorithm: JsonWebKeyEncryptionAlgorithm;\n value: Uint8Array;\n /** Initialization vector for symmetric algorithms. */\n iv?: Uint8Array;\n /** Additional data to authenticate but not encrypt/decrypt when using authenticated crypto algorithms. */\n additionalAuthenticatedData?: Uint8Array;\n /** The tag to authenticate when performing decryption with an authenticated algorithm. */\n authenticationTag?: Uint8Array;\n}\n\n/** The key operation result. */\nexport interface KeyOperationResult {\n /**\n * Key identifier\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly kid?: string;\n /** NOTE: This property will not be serialized. It can only be populated by the server. */\n readonly result?: Uint8Array;\n /** NOTE: This property will not be serialized. It can only be populated by the server. */\n readonly iv?: Uint8Array;\n /** NOTE: This property will not be serialized. It can only be populated by the server. */\n readonly authenticationTag?: Uint8Array;\n /** NOTE: This property will not be serialized. It can only be populated by the server. */\n readonly additionalAuthenticatedData?: Uint8Array;\n}\n\n/** The key operations parameters. */\nexport interface KeySignParameters {\n /** The signing/verification algorithm identifier. For more information on possible algorithm types, see JsonWebKeySignatureAlgorithm. */\n algorithm: JsonWebKeySignatureAlgorithm;\n value: Uint8Array;\n}\n\n/** The key verify parameters. */\nexport interface KeyVerifyParameters {\n /** The signing/verification algorithm. For more information on possible algorithm types, see JsonWebKeySignatureAlgorithm. */\n algorithm: JsonWebKeySignatureAlgorithm;\n /** The digest used for signing. */\n digest: Uint8Array;\n /** The signature to be verified. */\n signature: Uint8Array;\n}\n\n/** The key verify result. */\nexport interface KeyVerifyResult {\n /**\n * True if the signature is verified, otherwise false.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly value?: boolean;\n}\n\n/** A list of keys that have been deleted in this vault. */\nexport interface DeletedKeyListResult {\n /**\n * A response message containing a list of deleted keys in the vault along with a link to the next page of deleted keys\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly value?: DeletedKeyItem[];\n /**\n * The URL to get the next set of deleted keys.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly nextLink?: string;\n}\n\n/** Properties of the key pair backing a certificate. */\nexport interface KeyProperties {\n /** Not supported in this version. Indicates if the private key can be exported. */\n exportable?: boolean;\n /** The type of key pair to be used for the certificate. */\n keyType?: JsonWebKeyType;\n /** The key size in bits. For example: 2048, 3072, or 4096 for RSA. */\n keySize?: number;\n /** Indicates if the same key pair will be used on certificate renewal. */\n reuseKey?: boolean;\n /** Elliptic curve name. For valid values, see JsonWebKeyCurveName. */\n curve?: JsonWebKeyCurveName;\n}\n\n/** The attributes of a key managed by the key vault service. */\nexport type KeyAttributes = Attributes & {\n /**\n * softDelete data retention days. Value should be >=7 and <=90 when softDelete enabled, otherwise 0.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly recoverableDays?: number;\n /**\n * Reflects the deletion recovery level currently in effect for keys in the current vault. If it contains 'Purgeable' the key can be permanently deleted by a privileged user; otherwise, only the system can purge the key, at the end of the retention interval.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly recoveryLevel?: DeletionRecoveryLevel;\n};\n\n/** A DeletedKeyBundle consisting of a WebKey plus its Attributes and deletion info */\nexport type DeletedKeyBundle = KeyBundle & {\n /** The url of the recovery object, used to identify and recover the deleted key. */\n recoveryId?: string;\n /**\n * The time when the key is scheduled to be purged, in UTC\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly scheduledPurgeDate?: Date;\n /**\n * The time when the key was deleted, in UTC\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly deletedDate?: Date;\n};\n\n/** The deleted key item containing the deleted key metadata and information about deletion. */\nexport type DeletedKeyItem = KeyItem & {\n /** The url of the recovery object, used to identify and recover the deleted key. */\n recoveryId?: string;\n /**\n * The time when the key is scheduled to be purged, in UTC\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly scheduledPurgeDate?: Date;\n /**\n * The time when the key was deleted, in UTC\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly deletedDate?: Date;\n};\n\n/** Known values of {@link ApiVersion72} that the service accepts. */\nexport const enum KnownApiVersion72 {\n /** Api Version '7.2' */\n Seven2 = \"7.2\"\n}\n\n/**\n * Defines values for ApiVersion72. \\\n * {@link KnownApiVersion72} can be used interchangeably with ApiVersion72,\n * this enum contains the known values that the service supports.\n * ### Know values supported by the service\n * **7.2**: Api Version '7.2'\n */\nexport type ApiVersion72 = string;\n\n/** Known values of {@link JsonWebKeyType} that the service accepts. */\nexport const enum KnownJsonWebKeyType {\n /** Elliptic Curve. */\n EC = \"EC\",\n /** Elliptic Curve with a private key which is not exportable from the HSM. */\n ECHSM = \"EC-HSM\",\n /** RSA (https://tools.ietf.org/html/rfc3447) */\n RSA = \"RSA\",\n /** RSA with a private key which is not exportable from the HSM. */\n RSAHSM = \"RSA-HSM\",\n /** Octet sequence (used to represent symmetric keys) */\n Oct = \"oct\",\n /** Octet sequence (used to represent symmetric keys) which is not exportable from the HSM. */\n OctHSM = \"oct-HSM\"\n}\n\n/**\n * Defines values for JsonWebKeyType. \\\n * {@link KnownJsonWebKeyType} can be used interchangeably with JsonWebKeyType,\n * this enum contains the known values that the service supports.\n * ### Know values supported by the service\n * **EC**: Elliptic Curve. \\\n * **EC-HSM**: Elliptic Curve with a private key which is not exportable from the HSM. \\\n * **RSA**: RSA (https://tools.ietf.org/html/rfc3447) \\\n * **RSA-HSM**: RSA with a private key which is not exportable from the HSM. \\\n * **oct**: Octet sequence (used to represent symmetric keys) \\\n * **oct-HSM**: Octet sequence (used to represent symmetric keys) which is not exportable from the HSM.\n */\nexport type JsonWebKeyType = string;\n\n/** Known values of {@link JsonWebKeyOperation} that the service accepts. */\nexport const enum KnownJsonWebKeyOperation {\n /** Key operation - encrypt */\n Encrypt = \"encrypt\",\n /** Key operation - decrypt */\n Decrypt = \"decrypt\",\n /** Key operation - sign */\n Sign = \"sign\",\n /** Key operation - verify */\n Verify = \"verify\",\n /** Key operation - wrapKey */\n WrapKey = \"wrapKey\",\n /** Key operation - unwrapKey */\n UnwrapKey = \"unwrapKey\",\n /** Key operation - import */\n Import = \"import\"\n}\n\n/**\n * Defines values for JsonWebKeyOperation. \\\n * {@link KnownJsonWebKeyOperation} can be used interchangeably with JsonWebKeyOperation,\n * this enum contains the known values that the service supports.\n * ### Know values supported by the service\n * **encrypt** \\\n * **decrypt** \\\n * **sign** \\\n * **verify** \\\n * **wrapKey** \\\n * **unwrapKey** \\\n * **import**\n */\nexport type JsonWebKeyOperation = string;\n\n/** Known values of {@link DeletionRecoveryLevel} that the service accepts. */\nexport const enum KnownDeletionRecoveryLevel {\n /** Denotes a vault state in which deletion is an irreversible operation, without the possibility for recovery. This level corresponds to no protection being available against a Delete operation; the data is irretrievably lost upon accepting a Delete operation at the entity level or higher (vault, resource group, subscription etc.) */\n Purgeable = \"Purgeable\",\n /** Denotes a vault state in which deletion is recoverable, and which also permits immediate and permanent deletion (i.e. purge). This level guarantees the recoverability of the deleted entity during the retention interval (90 days), unless a Purge operation is requested, or the subscription is cancelled. System wil permanently delete it after 90 days, if not recovered */\n RecoverablePurgeable = \"Recoverable+Purgeable\",\n /** Denotes a vault state in which deletion is recoverable without the possibility for immediate and permanent deletion (i.e. purge). This level guarantees the recoverability of the deleted entity during the retention interval(90 days) and while the subscription is still available. System wil permanently delete it after 90 days, if not recovered */\n Recoverable = \"Recoverable\",\n /** Denotes a vault and subscription state in which deletion is recoverable within retention interval (90 days), immediate and permanent deletion (i.e. purge) is not permitted, and in which the subscription itself cannot be permanently canceled. System wil permanently delete it after 90 days, if not recovered */\n RecoverableProtectedSubscription = \"Recoverable+ProtectedSubscription\",\n /** Denotes a vault state in which deletion is recoverable, and which also permits immediate and permanent deletion (i.e. purge when 7<= SoftDeleteRetentionInDays < 90). This level guarantees the recoverability of the deleted entity during the retention interval, unless a Purge operation is requested, or the subscription is cancelled. */\n CustomizedRecoverablePurgeable = \"CustomizedRecoverable+Purgeable\",\n /** Denotes a vault state in which deletion is recoverable without the possibility for immediate and permanent deletion (i.e. purge when 7<= SoftDeleteRetentionInDays < 90).This level guarantees the recoverability of the deleted entity during the retention interval and while the subscription is still available. */\n CustomizedRecoverable = \"CustomizedRecoverable\",\n /** Denotes a vault and subscription state in which deletion is recoverable, immediate and permanent deletion (i.e. purge) is not permitted, and in which the subscription itself cannot be permanently canceled when 7<= SoftDeleteRetentionInDays < 90. This level guarantees the recoverability of the deleted entity during the retention interval, and also reflects the fact that the subscription itself cannot be cancelled. */\n CustomizedRecoverableProtectedSubscription = \"CustomizedRecoverable+ProtectedSubscription\"\n}\n\n/**\n * Defines values for DeletionRecoveryLevel. \\\n * {@link KnownDeletionRecoveryLevel} can be used interchangeably with DeletionRecoveryLevel,\n * this enum contains the known values that the service supports.\n * ### Know values supported by the service\n * **Purgeable**: Denotes a vault state in which deletion is an irreversible operation, without the possibility for recovery. This level corresponds to no protection being available against a Delete operation; the data is irretrievably lost upon accepting a Delete operation at the entity level or higher (vault, resource group, subscription etc.) \\\n * **Recoverable+Purgeable**: Denotes a vault state in which deletion is recoverable, and which also permits immediate and permanent deletion (i.e. purge). This level guarantees the recoverability of the deleted entity during the retention interval (90 days), unless a Purge operation is requested, or the subscription is cancelled. System wil permanently delete it after 90 days, if not recovered \\\n * **Recoverable**: Denotes a vault state in which deletion is recoverable without the possibility for immediate and permanent deletion (i.e. purge). This level guarantees the recoverability of the deleted entity during the retention interval(90 days) and while the subscription is still available. System wil permanently delete it after 90 days, if not recovered \\\n * **Recoverable+ProtectedSubscription**: Denotes a vault and subscription state in which deletion is recoverable within retention interval (90 days), immediate and permanent deletion (i.e. purge) is not permitted, and in which the subscription itself cannot be permanently canceled. System wil permanently delete it after 90 days, if not recovered \\\n * **CustomizedRecoverable+Purgeable**: Denotes a vault state in which deletion is recoverable, and which also permits immediate and permanent deletion (i.e. purge when 7<= SoftDeleteRetentionInDays < 90). This level guarantees the recoverability of the deleted entity during the retention interval, unless a Purge operation is requested, or the subscription is cancelled. \\\n * **CustomizedRecoverable**: Denotes a vault state in which deletion is recoverable without the possibility for immediate and permanent deletion (i.e. purge when 7<= SoftDeleteRetentionInDays < 90).This level guarantees the recoverability of the deleted entity during the retention interval and while the subscription is still available. \\\n * **CustomizedRecoverable+ProtectedSubscription**: Denotes a vault and subscription state in which deletion is recoverable, immediate and permanent deletion (i.e. purge) is not permitted, and in which the subscription itself cannot be permanently canceled when 7<= SoftDeleteRetentionInDays < 90. This level guarantees the recoverability of the deleted entity during the retention interval, and also reflects the fact that the subscription itself cannot be cancelled.\n */\nexport type DeletionRecoveryLevel = string;\n\n/** Known values of {@link JsonWebKeyCurveName} that the service accepts. */\nexport const enum KnownJsonWebKeyCurveName {\n /** The NIST P-256 elliptic curve, AKA SECG curve SECP256R1. */\n P256 = \"P-256\",\n /** The NIST P-384 elliptic curve, AKA SECG curve SECP384R1. */\n P384 = \"P-384\",\n /** The NIST P-521 elliptic curve, AKA SECG curve SECP521R1. */\n P521 = \"P-521\",\n /** The SECG SECP256K1 elliptic curve. */\n P256K = \"P-256K\"\n}\n\n/**\n * Defines values for JsonWebKeyCurveName. \\\n * {@link KnownJsonWebKeyCurveName} can be used interchangeably with JsonWebKeyCurveName,\n * this enum contains the known values that the service supports.\n * ### Know values supported by the service\n * **P-256**: The NIST P-256 elliptic curve, AKA SECG curve SECP256R1. \\\n * **P-384**: The NIST P-384 elliptic curve, AKA SECG curve SECP384R1. \\\n * **P-521**: The NIST P-521 elliptic curve, AKA SECG curve SECP521R1. \\\n * **P-256K**: The SECG SECP256K1 elliptic curve.\n */\nexport type JsonWebKeyCurveName = string;\n\n/** Known values of {@link JsonWebKeyEncryptionAlgorithm} that the service accepts. */\nexport const enum KnownJsonWebKeyEncryptionAlgorithm {\n /** Encryption Algorithm - RSA-OAEP */\n RSAOaep = \"RSA-OAEP\",\n /** Encryption Algorithm - RSA-OAEP-256 */\n RSAOaep256 = \"RSA-OAEP-256\",\n /** Encryption Algorithm - RSA1_5 */\n RSA15 = \"RSA1_5\",\n /** Encryption Algorithm - A128GCM */\n A128GCM = \"A128GCM\",\n /** Encryption Algorithm - A192GCM */\n A192GCM = \"A192GCM\",\n /** Encryption Algorithm - A256GCM */\n A256GCM = \"A256GCM\",\n /** Encryption Algorithm - A128KW */\n A128KW = \"A128KW\",\n /** Encryption Algorithm - A192KW */\n A192KW = \"A192KW\",\n /** Encryption Algorithm - A256KW */\n A256KW = \"A256KW\",\n /** Encryption Algorithm - A128CBC */\n A128CBC = \"A128CBC\",\n /** Encryption Algorithm - A192CBC */\n A192CBC = \"A192CBC\",\n /** Encryption Algorithm - A256CBC */\n A256CBC = \"A256CBC\",\n /** Encryption Algorithm - A128CBCPAD */\n A128Cbcpad = \"A128CBCPAD\",\n /** Encryption Algorithm - A192CBCPAD */\n A192Cbcpad = \"A192CBCPAD\",\n /** Encryption Algorithm - A256CBCPAD */\n A256Cbcpad = \"A256CBCPAD\"\n}\n\n/**\n * Defines values for JsonWebKeyEncryptionAlgorithm. \\\n * {@link KnownJsonWebKeyEncryptionAlgorithm} can be used interchangeably with JsonWebKeyEncryptionAlgorithm,\n * this enum contains the known values that the service supports.\n * ### Know values supported by the service\n * **RSA-OAEP** \\\n * **RSA-OAEP-256** \\\n * **RSA1_5** \\\n * **A128GCM** \\\n * **A192GCM** \\\n * **A256GCM** \\\n * **A128KW** \\\n * **A192KW** \\\n * **A256KW** \\\n * **A128CBC** \\\n * **A192CBC** \\\n * **A256CBC** \\\n * **A128CBCPAD** \\\n * **A192CBCPAD** \\\n * **A256CBCPAD**\n */\nexport type JsonWebKeyEncryptionAlgorithm = string;\n\n/** Known values of {@link JsonWebKeySignatureAlgorithm} that the service accepts. */\nexport const enum KnownJsonWebKeySignatureAlgorithm {\n /** RSASSA-PSS using SHA-256 and MGF1 with SHA-256, as described in https://tools.ietf.org/html/rfc7518 */\n PS256 = \"PS256\",\n /** RSASSA-PSS using SHA-384 and MGF1 with SHA-384, as described in https://tools.ietf.org/html/rfc7518 */\n PS384 = \"PS384\",\n /** RSASSA-PSS using SHA-512 and MGF1 with SHA-512, as described in https://tools.ietf.org/html/rfc7518 */\n PS512 = \"PS512\",\n /** RSASSA-PKCS1-v1_5 using SHA-256, as described in https://tools.ietf.org/html/rfc7518 */\n RS256 = \"RS256\",\n /** RSASSA-PKCS1-v1_5 using SHA-384, as described in https://tools.ietf.org/html/rfc7518 */\n RS384 = \"RS384\",\n /** RSASSA-PKCS1-v1_5 using SHA-512, as described in https://tools.ietf.org/html/rfc7518 */\n RS512 = \"RS512\",\n /** Reserved */\n Rsnull = \"RSNULL\",\n /** ECDSA using P-256 and SHA-256, as described in https://tools.ietf.org/html/rfc7518. */\n ES256 = \"ES256\",\n /** ECDSA using P-384 and SHA-384, as described in https://tools.ietf.org/html/rfc7518 */\n ES384 = \"ES384\",\n /** ECDSA using P-521 and SHA-512, as described in https://tools.ietf.org/html/rfc7518 */\n ES512 = \"ES512\",\n /** ECDSA using P-256K and SHA-256, as described in https://tools.ietf.org/html/rfc7518 */\n ES256K = \"ES256K\"\n}\n\n/**\n * Defines values for JsonWebKeySignatureAlgorithm. \\\n * {@link KnownJsonWebKeySignatureAlgorithm} can be used interchangeably with JsonWebKeySignatureAlgorithm,\n * this enum contains the known values that the service supports.\n * ### Know values supported by the service\n * **PS256**: RSASSA-PSS using SHA-256 and MGF1 with SHA-256, as described in https://tools.ietf.org/html/rfc7518 \\\n * **PS384**: RSASSA-PSS using SHA-384 and MGF1 with SHA-384, as described in https://tools.ietf.org/html/rfc7518 \\\n * **PS512**: RSASSA-PSS using SHA-512 and MGF1 with SHA-512, as described in https://tools.ietf.org/html/rfc7518 \\\n * **RS256**: RSASSA-PKCS1-v1_5 using SHA-256, as described in https://tools.ietf.org/html/rfc7518 \\\n * **RS384**: RSASSA-PKCS1-v1_5 using SHA-384, as described in https://tools.ietf.org/html/rfc7518 \\\n * **RS512**: RSASSA-PKCS1-v1_5 using SHA-512, as described in https://tools.ietf.org/html/rfc7518 \\\n * **RSNULL**: Reserved \\\n * **ES256**: ECDSA using P-256 and SHA-256, as described in https://tools.ietf.org/html/rfc7518. \\\n * **ES384**: ECDSA using P-384 and SHA-384, as described in https://tools.ietf.org/html/rfc7518 \\\n * **ES512**: ECDSA using P-521 and SHA-512, as described in https://tools.ietf.org/html/rfc7518 \\\n * **ES256K**: ECDSA using P-256K and SHA-256, as described in https://tools.ietf.org/html/rfc7518\n */\nexport type JsonWebKeySignatureAlgorithm = string;\n\n/** Optional parameters. */\nexport interface KeyVaultClientCreateKeyOptionalParams\n extends coreHttp.OperationOptions {\n /** The key size in bits. For example: 2048, 3072, or 4096 for RSA. */\n keySize?: number;\n /** The public exponent for a RSA key. */\n publicExponent?: number;\n /** Array of JsonWebKeyOperation */\n keyOps?: JsonWebKeyOperation[];\n /** The attributes of a key managed by the key vault service. */\n keyAttributes?: KeyAttributes;\n /** Application specific metadata in the form of key-value pairs. */\n tags?: { [propertyName: string]: string };\n /** Elliptic curve name. For valid values, see JsonWebKeyCurveName. */\n curve?: JsonWebKeyCurveName;\n}\n\n/** Contains response data for the createKey operation. */\nexport type KeyVaultClientCreateKeyResponse = KeyBundle & {\n /** The underlying HTTP response. */\n _response: coreHttp.HttpResponse & {\n /** The response body as text (string format) */\n bodyAsText: string;\n\n /** The response body as parsed JSON or XML */\n parsedBody: KeyBundle;\n };\n};\n\n/** Optional parameters. */\nexport interface KeyVaultClientImportKeyOptionalParams\n extends coreHttp.OperationOptions {\n /** Whether to import as a hardware key (HSM) or software key. */\n hsm?: boolean;\n /** The key management attributes. */\n keyAttributes?: KeyAttributes;\n /** Application specific metadata in the form of key-value pairs. */\n tags?: { [propertyName: string]: string };\n}\n\n/** Contains response data for the importKey operation. */\nexport type KeyVaultClientImportKeyResponse = KeyBundle & {\n /** The underlying HTTP response. */\n _response: coreHttp.HttpResponse & {\n /** The response body as text (string format) */\n bodyAsText: string;\n\n /** The response body as parsed JSON or XML */\n parsedBody: KeyBundle;\n };\n};\n\n/** Contains response data for the deleteKey operation. */\nexport type KeyVaultClientDeleteKeyResponse = DeletedKeyBundle & {\n /** The underlying HTTP response. */\n _response: coreHttp.HttpResponse & {\n /** The response body as text (string format) */\n bodyAsText: string;\n\n /** The response body as parsed JSON or XML */\n parsedBody: DeletedKeyBundle;\n };\n};\n\n/** Optional parameters. */\nexport interface KeyVaultClientUpdateKeyOptionalParams\n extends coreHttp.OperationOptions {\n /** Json web key operations. For more information on possible key operations, see JsonWebKeyOperation. */\n keyOps?: JsonWebKeyOperation[];\n /** The attributes of a key managed by the key vault service. */\n keyAttributes?: KeyAttributes;\n /** Application specific metadata in the form of key-value pairs. */\n tags?: { [propertyName: string]: string };\n}\n\n/** Contains response data for the updateKey operation. */\nexport type KeyVaultClientUpdateKeyResponse = KeyBundle & {\n /** The underlying HTTP response. */\n _response: coreHttp.HttpResponse & {\n /** The response body as text (string format) */\n bodyAsText: string;\n\n /** The response body as parsed JSON or XML */\n parsedBody: KeyBundle;\n };\n};\n\n/** Contains response data for the getKey operation. */\nexport type KeyVaultClientGetKeyResponse = KeyBundle & {\n /** The underlying HTTP response. */\n _response: coreHttp.HttpResponse & {\n /** The response body as text (string format) */\n bodyAsText: string;\n\n /** The response body as parsed JSON or XML */\n parsedBody: KeyBundle;\n };\n};\n\n/** Optional parameters. */\nexport interface KeyVaultClientGetKeyVersionsOptionalParams\n extends coreHttp.OperationOptions {\n /** Maximum number of results to return in a page. If not specified the service will return up to 25 results. */\n maxresults?: number;\n}\n\n/** Contains response data for the getKeyVersions operation. */\nexport type KeyVaultClientGetKeyVersionsResponse = KeyListResult & {\n /** The underlying HTTP response. */\n _response: coreHttp.HttpResponse & {\n /** The response body as text (string format) */\n bodyAsText: string;\n\n /** The response body as parsed JSON or XML */\n parsedBody: KeyListResult;\n };\n};\n\n/** Optional parameters. */\nexport interface KeyVaultClientGetKeysOptionalParams\n extends coreHttp.OperationOptions {\n /** Maximum number of results to return in a page. If not specified the service will return up to 25 results. */\n maxresults?: number;\n}\n\n/** Contains response data for the getKeys operation. */\nexport type KeyVaultClientGetKeysResponse = KeyListResult & {\n /** The underlying HTTP response. */\n _response: coreHttp.HttpResponse & {\n /** The response body as text (string format) */\n bodyAsText: string;\n\n /** The response body as parsed JSON or XML */\n parsedBody: KeyListResult;\n };\n};\n\n/** Contains response data for the backupKey operation. */\nexport type KeyVaultClientBackupKeyResponse = BackupKeyResult & {\n /** The underlying HTTP response. */\n _response: coreHttp.HttpResponse & {\n /** The response body as text (string format) */\n bodyAsText: string;\n\n /** The response body as parsed JSON or XML */\n parsedBody: BackupKeyResult;\n };\n};\n\n/** Contains response data for the restoreKey operation. */\nexport type KeyVaultClientRestoreKeyResponse = KeyBundle & {\n /** The underlying HTTP response. */\n _response: coreHttp.HttpResponse & {\n /** The response body as text (string format) */\n bodyAsText: string;\n\n /** The response body as parsed JSON or XML */\n parsedBody: KeyBundle;\n };\n};\n\n/** Optional parameters. */\nexport interface KeyVaultClientEncryptOptionalParams\n extends coreHttp.OperationOptions {\n /** Initialization vector for symmetric algorithms. */\n iv?: Uint8Array;\n /** Additional data to authenticate but not encrypt/decrypt when using authenticated crypto algorithms. */\n additionalAuthenticatedData?: Uint8Array;\n /** The tag to authenticate when performing decryption with an authenticated algorithm. */\n authenticationTag?: Uint8Array;\n}\n\n/** Contains response data for the encrypt operation. */\nexport type KeyVaultClientEncryptResponse = KeyOperationResult & {\n /** The underlying HTTP response. */\n _response: coreHttp.HttpResponse & {\n /** The response body as text (string format) */\n bodyAsText: string;\n\n /** The response body as parsed JSON or XML */\n parsedBody: KeyOperationResult;\n };\n};\n\n/** Optional parameters. */\nexport interface KeyVaultClientDecryptOptionalParams\n extends coreHttp.OperationOptions {\n /** Initialization vector for symmetric algorithms. */\n iv?: Uint8Array;\n /** Additional data to authenticate but not encrypt/decrypt when using authenticated crypto algorithms. */\n additionalAuthenticatedData?: Uint8Array;\n /** The tag to authenticate when performing decryption with an authenticated algorithm. */\n authenticationTag?: Uint8Array;\n}\n\n/** Contains response data for the decrypt operation. */\nexport type KeyVaultClientDecryptResponse = KeyOperationResult & {\n /** The underlying HTTP response. */\n _response: coreHttp.HttpResponse & {\n /** The response body as text (string format) */\n bodyAsText: string;\n\n /** The response body as parsed JSON or XML */\n parsedBody: KeyOperationResult;\n };\n};\n\n/** Contains response data for the sign operation. */\nexport type KeyVaultClientSignResponse = KeyOperationResult & {\n /** The underlying HTTP response. */\n _response: coreHttp.HttpResponse & {\n /** The response body as text (string format) */\n bodyAsText: string;\n\n /** The response body as parsed JSON or XML */\n parsedBody: KeyOperationResult;\n };\n};\n\n/** Contains response data for the verify operation. */\nexport type KeyVaultClientVerifyResponse = KeyVerifyResult & {\n /** The underlying HTTP response. */\n _response: coreHttp.HttpResponse & {\n /** The response body as text (string format) */\n bodyAsText: string;\n\n /** The response body as parsed JSON or XML */\n parsedBody: KeyVerifyResult;\n };\n};\n\n/** Optional parameters. */\nexport interface KeyVaultClientWrapKeyOptionalParams\n extends coreHttp.OperationOptions {\n /** Initialization vector for symmetric algorithms. */\n iv?: Uint8Array;\n /** Additional data to authenticate but not encrypt/decrypt when using authenticated crypto algorithms. */\n additionalAuthenticatedData?: Uint8Array;\n /** The tag to authenticate when performing decryption with an authenticated algorithm. */\n authenticationTag?: Uint8Array;\n}\n\n/** Contains response data for the wrapKey operation. */\nexport type KeyVaultClientWrapKeyResponse = KeyOperationResult & {\n /** The underlying HTTP response. */\n _response: coreHttp.HttpResponse & {\n /** The response body as text (string format) */\n bodyAsText: string;\n\n /** The response body as parsed JSON or XML */\n parsedBody: KeyOperationResult;\n };\n};\n\n/** Optional parameters. */\nexport interface KeyVaultClientUnwrapKeyOptionalParams\n extends coreHttp.OperationOptions {\n /** Initialization vector for symmetric algorithms. */\n iv?: Uint8Array;\n /** Additional data to authenticate but not encrypt/decrypt when using authenticated crypto algorithms. */\n additionalAuthenticatedData?: Uint8Array;\n /** The tag to authenticate when performing decryption with an authenticated algorithm. */\n authenticationTag?: Uint8Array;\n}\n\n/** Contains response data for the unwrapKey operation. */\nexport type KeyVaultClientUnwrapKeyResponse = KeyOperationResult & {\n /** The underlying HTTP response. */\n _response: coreHttp.HttpResponse & {\n /** The response body as text (string format) */\n bodyAsText: string;\n\n /** The response body as parsed JSON or XML */\n parsedBody: KeyOperationResult;\n };\n};\n\n/** Optional parameters. */\nexport interface KeyVaultClientGetDeletedKeysOptionalParams\n extends coreHttp.OperationOptions {\n /** Maximum number of results to return in a page. If not specified the service will return up to 25 results. */\n maxresults?: number;\n}\n\n/** Contains response data for the getDeletedKeys operation. */\nexport type KeyVaultClientGetDeletedKeysResponse = DeletedKeyListResult & {\n /** The underlying HTTP response. */\n _response: coreHttp.HttpResponse & {\n /** The response body as text (string format) */\n bodyAsText: string;\n\n /** The response body as parsed JSON or XML */\n parsedBody: DeletedKeyListResult;\n };\n};\n\n/** Contains response data for the getDeletedKey operation. */\nexport type KeyVaultClientGetDeletedKeyResponse = DeletedKeyBundle & {\n /** The underlying HTTP response. */\n _response: coreHttp.HttpResponse & {\n /** The response body as text (string format) */\n bodyAsText: string;\n\n /** The response body as parsed JSON or XML */\n parsedBody: DeletedKeyBundle;\n };\n};\n\n/** Contains response data for the recoverDeletedKey operation. */\nexport type KeyVaultClientRecoverDeletedKeyResponse = KeyBundle & {\n /** The underlying HTTP response. */\n _response: coreHttp.HttpResponse & {\n /** The response body as text (string format) */\n bodyAsText: string;\n\n /** The response body as parsed JSON or XML */\n parsedBody: KeyBundle;\n };\n};\n\n/** Optional parameters. */\nexport interface KeyVaultClientGetKeyVersionsNextOptionalParams\n extends coreHttp.OperationOptions {\n /** Maximum number of results to return in a page. If not specified the service will return up to 25 results. */\n maxresults?: number;\n}\n\n/** Contains response data for the getKeyVersionsNext operation. */\nexport type KeyVaultClientGetKeyVersionsNextResponse = KeyListResult & {\n /** The underlying HTTP response. */\n _response: coreHttp.HttpResponse & {\n /** The response body as text (string format) */\n bodyAsText: string;\n\n /** The response body as parsed JSON or XML */\n parsedBody: KeyListResult;\n };\n};\n\n/** Optional parameters. */\nexport interface KeyVaultClientGetKeysNextOptionalParams\n extends coreHttp.OperationOptions {\n /** Maximum number of results to return in a page. If not specified the service will return up to 25 results. */\n maxresults?: number;\n}\n\n/** Contains response data for the getKeysNext operation. */\nexport type KeyVaultClientGetKeysNextResponse = KeyListResult & {\n /** The underlying HTTP response. */\n _response: coreHttp.HttpResponse & {\n /** The response body as text (string format) */\n bodyAsText: string;\n\n /** The response body as parsed JSON or XML */\n parsedBody: KeyListResult;\n };\n};\n\n/** Optional parameters. */\nexport interface KeyVaultClientGetDeletedKeysNextOptionalParams\n extends coreHttp.OperationOptions {\n /** Maximum number of results to return in a page. If not specified the service will return up to 25 results. */\n maxresults?: number;\n}\n\n/** Contains response data for the getDeletedKeysNext operation. */\nexport type KeyVaultClientGetDeletedKeysNextResponse = DeletedKeyListResult & {\n /** The underlying HTTP response. */\n _response: coreHttp.HttpResponse & {\n /** The response body as text (string format) */\n bodyAsText: string;\n\n /** The response body as parsed JSON or XML */\n parsedBody: DeletedKeyListResult;\n };\n};\n\n/** Optional parameters. */\nexport interface KeyVaultClientOptionalParams\n extends coreHttp.ServiceClientOptions {\n /** Overrides client endpoint. */\n endpoint?: string;\n}\n"]}
|
|
@@ -59,13 +59,6 @@ export const KeyCreateParameters = {
|
|
|
59
59
|
type: {
|
|
60
60
|
name: "String"
|
|
61
61
|
}
|
|
62
|
-
},
|
|
63
|
-
releasePolicy: {
|
|
64
|
-
serializedName: "release_policy",
|
|
65
|
-
type: {
|
|
66
|
-
name: "Composite",
|
|
67
|
-
className: "KeyReleasePolicy"
|
|
68
|
-
}
|
|
69
62
|
}
|
|
70
63
|
}
|
|
71
64
|
}
|
|
@@ -110,27 +103,6 @@ export const Attributes = {
|
|
|
110
103
|
}
|
|
111
104
|
}
|
|
112
105
|
};
|
|
113
|
-
export const KeyReleasePolicy = {
|
|
114
|
-
type: {
|
|
115
|
-
name: "Composite",
|
|
116
|
-
className: "KeyReleasePolicy",
|
|
117
|
-
modelProperties: {
|
|
118
|
-
contentType: {
|
|
119
|
-
defaultValue: "application/json; charset=utf-8",
|
|
120
|
-
serializedName: "contentType",
|
|
121
|
-
type: {
|
|
122
|
-
name: "String"
|
|
123
|
-
}
|
|
124
|
-
},
|
|
125
|
-
data: {
|
|
126
|
-
serializedName: "data",
|
|
127
|
-
type: {
|
|
128
|
-
name: "Base64Url"
|
|
129
|
-
}
|
|
130
|
-
}
|
|
131
|
-
}
|
|
132
|
-
}
|
|
133
|
-
};
|
|
134
106
|
export const KeyBundle = {
|
|
135
107
|
type: {
|
|
136
108
|
name: "Composite",
|
|
@@ -163,13 +135,6 @@ export const KeyBundle = {
|
|
|
163
135
|
type: {
|
|
164
136
|
name: "Boolean"
|
|
165
137
|
}
|
|
166
|
-
},
|
|
167
|
-
releasePolicy: {
|
|
168
|
-
serializedName: "release_policy",
|
|
169
|
-
type: {
|
|
170
|
-
name: "Composite",
|
|
171
|
-
className: "KeyReleasePolicy"
|
|
172
|
-
}
|
|
173
138
|
}
|
|
174
139
|
}
|
|
175
140
|
}
|
|
@@ -358,13 +323,6 @@ export const KeyImportParameters = {
|
|
|
358
323
|
name: "Dictionary",
|
|
359
324
|
value: { type: { name: "String" } }
|
|
360
325
|
}
|
|
361
|
-
},
|
|
362
|
-
releasePolicy: {
|
|
363
|
-
serializedName: "release_policy",
|
|
364
|
-
type: {
|
|
365
|
-
name: "Composite",
|
|
366
|
-
className: "KeyReleasePolicy"
|
|
367
|
-
}
|
|
368
326
|
}
|
|
369
327
|
}
|
|
370
328
|
}
|
|
@@ -398,13 +356,6 @@ export const KeyUpdateParameters = {
|
|
|
398
356
|
name: "Dictionary",
|
|
399
357
|
value: { type: { name: "String" } }
|
|
400
358
|
}
|
|
401
|
-
},
|
|
402
|
-
releasePolicy: {
|
|
403
|
-
serializedName: "release_policy",
|
|
404
|
-
type: {
|
|
405
|
-
name: "Composite",
|
|
406
|
-
className: "KeyReleasePolicy"
|
|
407
|
-
}
|
|
408
359
|
}
|
|
409
360
|
}
|
|
410
361
|
}
|
|
@@ -651,78 +602,6 @@ export const KeyVerifyResult = {
|
|
|
651
602
|
}
|
|
652
603
|
}
|
|
653
604
|
};
|
|
654
|
-
export const KeyExportParameters = {
|
|
655
|
-
type: {
|
|
656
|
-
name: "Composite",
|
|
657
|
-
className: "KeyExportParameters",
|
|
658
|
-
modelProperties: {
|
|
659
|
-
wrappingKey: {
|
|
660
|
-
serializedName: "wrappingKey",
|
|
661
|
-
type: {
|
|
662
|
-
name: "Composite",
|
|
663
|
-
className: "JsonWebKey"
|
|
664
|
-
}
|
|
665
|
-
},
|
|
666
|
-
wrappingKid: {
|
|
667
|
-
serializedName: "wrappingKid",
|
|
668
|
-
type: {
|
|
669
|
-
name: "String"
|
|
670
|
-
}
|
|
671
|
-
},
|
|
672
|
-
enc: {
|
|
673
|
-
serializedName: "enc",
|
|
674
|
-
type: {
|
|
675
|
-
name: "String"
|
|
676
|
-
}
|
|
677
|
-
}
|
|
678
|
-
}
|
|
679
|
-
}
|
|
680
|
-
};
|
|
681
|
-
export const KeyReleaseParameters = {
|
|
682
|
-
type: {
|
|
683
|
-
name: "Composite",
|
|
684
|
-
className: "KeyReleaseParameters",
|
|
685
|
-
modelProperties: {
|
|
686
|
-
target: {
|
|
687
|
-
constraints: {
|
|
688
|
-
MinLength: 1
|
|
689
|
-
},
|
|
690
|
-
serializedName: "target",
|
|
691
|
-
required: true,
|
|
692
|
-
type: {
|
|
693
|
-
name: "String"
|
|
694
|
-
}
|
|
695
|
-
},
|
|
696
|
-
nonce: {
|
|
697
|
-
serializedName: "nonce",
|
|
698
|
-
type: {
|
|
699
|
-
name: "String"
|
|
700
|
-
}
|
|
701
|
-
},
|
|
702
|
-
enc: {
|
|
703
|
-
serializedName: "enc",
|
|
704
|
-
type: {
|
|
705
|
-
name: "String"
|
|
706
|
-
}
|
|
707
|
-
}
|
|
708
|
-
}
|
|
709
|
-
}
|
|
710
|
-
};
|
|
711
|
-
export const KeyReleaseResult = {
|
|
712
|
-
type: {
|
|
713
|
-
name: "Composite",
|
|
714
|
-
className: "KeyReleaseResult",
|
|
715
|
-
modelProperties: {
|
|
716
|
-
value: {
|
|
717
|
-
serializedName: "value",
|
|
718
|
-
readOnly: true,
|
|
719
|
-
type: {
|
|
720
|
-
name: "String"
|
|
721
|
-
}
|
|
722
|
-
}
|
|
723
|
-
}
|
|
724
|
-
}
|
|
725
|
-
};
|
|
726
605
|
export const DeletedKeyListResult = {
|
|
727
606
|
type: {
|
|
728
607
|
name: "Composite",
|
|
@@ -751,158 +630,6 @@ export const DeletedKeyListResult = {
|
|
|
751
630
|
}
|
|
752
631
|
}
|
|
753
632
|
};
|
|
754
|
-
export const KeyRotationPolicy = {
|
|
755
|
-
type: {
|
|
756
|
-
name: "Composite",
|
|
757
|
-
className: "KeyRotationPolicy",
|
|
758
|
-
modelProperties: {
|
|
759
|
-
id: {
|
|
760
|
-
serializedName: "id",
|
|
761
|
-
readOnly: true,
|
|
762
|
-
type: {
|
|
763
|
-
name: "String"
|
|
764
|
-
}
|
|
765
|
-
},
|
|
766
|
-
lifetimeActions: {
|
|
767
|
-
serializedName: "lifetimeActions",
|
|
768
|
-
type: {
|
|
769
|
-
name: "Sequence",
|
|
770
|
-
element: {
|
|
771
|
-
type: {
|
|
772
|
-
name: "Composite",
|
|
773
|
-
className: "LifetimeActions"
|
|
774
|
-
}
|
|
775
|
-
}
|
|
776
|
-
}
|
|
777
|
-
},
|
|
778
|
-
attributes: {
|
|
779
|
-
serializedName: "attributes",
|
|
780
|
-
type: {
|
|
781
|
-
name: "Composite",
|
|
782
|
-
className: "KeyRotationPolicyAttributes"
|
|
783
|
-
}
|
|
784
|
-
}
|
|
785
|
-
}
|
|
786
|
-
}
|
|
787
|
-
};
|
|
788
|
-
export const LifetimeActions = {
|
|
789
|
-
type: {
|
|
790
|
-
name: "Composite",
|
|
791
|
-
className: "LifetimeActions",
|
|
792
|
-
modelProperties: {
|
|
793
|
-
trigger: {
|
|
794
|
-
serializedName: "trigger",
|
|
795
|
-
type: {
|
|
796
|
-
name: "Composite",
|
|
797
|
-
className: "LifetimeActionsTrigger"
|
|
798
|
-
}
|
|
799
|
-
},
|
|
800
|
-
action: {
|
|
801
|
-
serializedName: "action",
|
|
802
|
-
type: {
|
|
803
|
-
name: "Composite",
|
|
804
|
-
className: "LifetimeActionsType"
|
|
805
|
-
}
|
|
806
|
-
}
|
|
807
|
-
}
|
|
808
|
-
}
|
|
809
|
-
};
|
|
810
|
-
export const LifetimeActionsTrigger = {
|
|
811
|
-
type: {
|
|
812
|
-
name: "Composite",
|
|
813
|
-
className: "LifetimeActionsTrigger",
|
|
814
|
-
modelProperties: {
|
|
815
|
-
timeAfterCreate: {
|
|
816
|
-
serializedName: "timeAfterCreate",
|
|
817
|
-
type: {
|
|
818
|
-
name: "String"
|
|
819
|
-
}
|
|
820
|
-
},
|
|
821
|
-
timeBeforeExpiry: {
|
|
822
|
-
serializedName: "timeBeforeExpiry",
|
|
823
|
-
type: {
|
|
824
|
-
name: "String"
|
|
825
|
-
}
|
|
826
|
-
}
|
|
827
|
-
}
|
|
828
|
-
}
|
|
829
|
-
};
|
|
830
|
-
export const LifetimeActionsType = {
|
|
831
|
-
type: {
|
|
832
|
-
name: "Composite",
|
|
833
|
-
className: "LifetimeActionsType",
|
|
834
|
-
modelProperties: {
|
|
835
|
-
type: {
|
|
836
|
-
serializedName: "type",
|
|
837
|
-
type: {
|
|
838
|
-
name: "Enum",
|
|
839
|
-
allowedValues: ["rotate", "notify"]
|
|
840
|
-
}
|
|
841
|
-
}
|
|
842
|
-
}
|
|
843
|
-
}
|
|
844
|
-
};
|
|
845
|
-
export const KeyRotationPolicyAttributes = {
|
|
846
|
-
type: {
|
|
847
|
-
name: "Composite",
|
|
848
|
-
className: "KeyRotationPolicyAttributes",
|
|
849
|
-
modelProperties: {
|
|
850
|
-
expiryTime: {
|
|
851
|
-
serializedName: "expiryTime",
|
|
852
|
-
type: {
|
|
853
|
-
name: "String"
|
|
854
|
-
}
|
|
855
|
-
},
|
|
856
|
-
created: {
|
|
857
|
-
serializedName: "created",
|
|
858
|
-
readOnly: true,
|
|
859
|
-
type: {
|
|
860
|
-
name: "UnixTime"
|
|
861
|
-
}
|
|
862
|
-
},
|
|
863
|
-
updated: {
|
|
864
|
-
serializedName: "updated",
|
|
865
|
-
readOnly: true,
|
|
866
|
-
type: {
|
|
867
|
-
name: "UnixTime"
|
|
868
|
-
}
|
|
869
|
-
}
|
|
870
|
-
}
|
|
871
|
-
}
|
|
872
|
-
};
|
|
873
|
-
export const GetRandomBytesRequest = {
|
|
874
|
-
type: {
|
|
875
|
-
name: "Composite",
|
|
876
|
-
className: "GetRandomBytesRequest",
|
|
877
|
-
modelProperties: {
|
|
878
|
-
count: {
|
|
879
|
-
constraints: {
|
|
880
|
-
InclusiveMaximum: 128,
|
|
881
|
-
InclusiveMinimum: 1
|
|
882
|
-
},
|
|
883
|
-
serializedName: "count",
|
|
884
|
-
required: true,
|
|
885
|
-
type: {
|
|
886
|
-
name: "Number"
|
|
887
|
-
}
|
|
888
|
-
}
|
|
889
|
-
}
|
|
890
|
-
}
|
|
891
|
-
};
|
|
892
|
-
export const RandomBytes = {
|
|
893
|
-
type: {
|
|
894
|
-
name: "Composite",
|
|
895
|
-
className: "RandomBytes",
|
|
896
|
-
modelProperties: {
|
|
897
|
-
value: {
|
|
898
|
-
serializedName: "value",
|
|
899
|
-
type: {
|
|
900
|
-
name: "Base64Url"
|
|
901
|
-
}
|
|
902
|
-
}
|
|
903
|
-
}
|
|
904
|
-
}
|
|
905
|
-
};
|
|
906
633
|
export const KeyProperties = {
|
|
907
634
|
type: {
|
|
908
635
|
name: "Composite",
|
|
@@ -957,11 +684,6 @@ export const KeyAttributes = {
|
|
|
957
684
|
type: {
|
|
958
685
|
name: "String"
|
|
959
686
|
}
|
|
960
|
-
}, exportable: {
|
|
961
|
-
serializedName: "exportable",
|
|
962
|
-
type: {
|
|
963
|
-
name: "Boolean"
|
|
964
|
-
}
|
|
965
687
|
} })
|
|
966
688
|
}
|
|
967
689
|
};
|