Files
PayDirt/node_modules/@azure/keyvault-keys/dist/commonjs/lro/delete/operation.d.ts
RochesterX 6e820464d5 Initial
2025-11-12 10:13:24 -05:00

35 lines
1.6 KiB
TypeScript

import type { AbortSignalLike } from "@azure/abort-controller";
import type { OperationOptions } from "@azure-rest/core-client";
import type { KeyVaultClient } from "../../generated/keyVaultClient.js";
import type { DeletedKey } from "../../keysModels.js";
import type { KeyVaultKeyPollOperationState } from "../keyVaultKeyPoller.js";
import { KeyVaultKeyPollOperation } from "../keyVaultKeyPoller.js";
/**
* An interface representing the state of a delete key's poll operation
*/
export interface DeleteKeyPollOperationState extends KeyVaultKeyPollOperationState<DeletedKey> {
}
export declare class DeleteKeyPollOperation extends KeyVaultKeyPollOperation<DeleteKeyPollOperationState, DeletedKey> {
state: DeleteKeyPollOperationState;
private client;
private operationOptions;
constructor(state: DeleteKeyPollOperationState, client: KeyVaultClient, operationOptions?: OperationOptions);
/**
* Sends a delete request for the given Key Vault Key's name to the Key Vault service.
* Since the Key Vault Key won't be immediately deleted, we have {@link beginDeleteKey}.
*/
private deleteKey;
/**
* The getDeletedKey method returns the specified deleted key along with its properties.
* This operation requires the keys/get permission.
*/
private getDeletedKey;
/**
* Reaches to the service and updates the delete key's poll operation.
*/
update(options?: {
abortSignal?: AbortSignalLike;
fireProgress?: (state: DeleteKeyPollOperationState) => void;
}): Promise<DeleteKeyPollOperation>;
}
//# sourceMappingURL=operation.d.ts.map