import type { KeyVaultManagementContext } from "../../api/keyVaultManagementContext.js"; import type { ManagedHsmsCheckMhsmNameAvailabilityOptionalParams, ManagedHsmsListDeletedOptionalParams, ManagedHsmsPurgeDeletedOptionalParams, ManagedHsmsGetDeletedOptionalParams, ManagedHsmsListBySubscriptionOptionalParams, ManagedHsmsListByResourceGroupOptionalParams, ManagedHsmsDeleteOptionalParams, ManagedHsmsUpdateOptionalParams, ManagedHsmsCreateOrUpdateOptionalParams, ManagedHsmsGetOptionalParams } from "../../api/managedHsms/options.js"; import type { ManagedHsm, DeletedManagedHsm, CheckMhsmNameAvailabilityParameters, CheckMhsmNameAvailabilityResult } from "../../models/models.js"; import type { PagedAsyncIterableIterator } from "../../static-helpers/pagingHelpers.js"; import type { SimplePollerLike } from "../../static-helpers/simplePollerHelpers.js"; import type { PollerLike, OperationState } from "@azure/core-lro"; /** Interface representing a ManagedHsms operations. */ export interface ManagedHsmsOperations { /** Checks that the managed hsm name is valid and is not already in use. */ checkMhsmNameAvailability: (mhsmName: CheckMhsmNameAvailabilityParameters, options?: ManagedHsmsCheckMhsmNameAvailabilityOptionalParams) => Promise; /** The List operation gets information about the deleted managed HSMs associated with the subscription. */ listDeleted: (options?: ManagedHsmsListDeletedOptionalParams) => PagedAsyncIterableIterator; /** Permanently deletes the specified managed HSM. */ purgeDeleted: (name: string, location: string, options?: ManagedHsmsPurgeDeletedOptionalParams) => PollerLike, void>; /** @deprecated use purgeDeleted instead */ beginPurgeDeleted: (name: string, location: string, options?: ManagedHsmsPurgeDeletedOptionalParams) => Promise, void>>; /** @deprecated use purgeDeleted instead */ beginPurgeDeletedAndWait: (name: string, location: string, options?: ManagedHsmsPurgeDeletedOptionalParams) => Promise; /** Gets the specified deleted managed HSM. */ getDeleted: (name: string, location: string, options?: ManagedHsmsGetDeletedOptionalParams) => Promise; /** The List operation gets information about the managed HSM Pools associated with the subscription. */ listBySubscription: (options?: ManagedHsmsListBySubscriptionOptionalParams) => PagedAsyncIterableIterator; /** The List operation gets information about the managed HSM Pools associated with the subscription and within the specified resource group. */ listByResourceGroup: (resourceGroupName: string, options?: ManagedHsmsListByResourceGroupOptionalParams) => PagedAsyncIterableIterator; /** Deletes the specified managed HSM Pool. */ delete: (resourceGroupName: string, name: string, options?: ManagedHsmsDeleteOptionalParams) => PollerLike, void>; /** @deprecated use delete instead */ beginDelete: (resourceGroupName: string, name: string, options?: ManagedHsmsDeleteOptionalParams) => Promise, void>>; /** @deprecated use delete instead */ beginDeleteAndWait: (resourceGroupName: string, name: string, options?: ManagedHsmsDeleteOptionalParams) => Promise; /** Update a managed HSM Pool in the specified subscription. */ update: (resourceGroupName: string, name: string, parameters: ManagedHsm, options?: ManagedHsmsUpdateOptionalParams) => PollerLike, ManagedHsm>; /** @deprecated use update instead */ beginUpdate: (resourceGroupName: string, name: string, parameters: ManagedHsm, options?: ManagedHsmsUpdateOptionalParams) => Promise, ManagedHsm>>; /** @deprecated use update instead */ beginUpdateAndWait: (resourceGroupName: string, name: string, parameters: ManagedHsm, options?: ManagedHsmsUpdateOptionalParams) => Promise; /** Create or update a managed HSM Pool in the specified subscription. */ createOrUpdate: (resourceGroupName: string, name: string, parameters: ManagedHsm, options?: ManagedHsmsCreateOrUpdateOptionalParams) => PollerLike, ManagedHsm>; /** @deprecated use createOrUpdate instead */ beginCreateOrUpdate: (resourceGroupName: string, name: string, parameters: ManagedHsm, options?: ManagedHsmsCreateOrUpdateOptionalParams) => Promise, ManagedHsm>>; /** @deprecated use createOrUpdate instead */ beginCreateOrUpdateAndWait: (resourceGroupName: string, name: string, parameters: ManagedHsm, options?: ManagedHsmsCreateOrUpdateOptionalParams) => Promise; /** Gets the specified managed HSM Pool. */ get: (resourceGroupName: string, name: string, options?: ManagedHsmsGetOptionalParams) => Promise; } export declare function _getManagedHsmsOperations(context: KeyVaultManagementContext): ManagedHsmsOperations; //# sourceMappingURL=index.d.ts.map