import type { SqlManagementContext as Client } from "../index.js"; import type { LongTermRetentionBackup, _LongTermRetentionBackupListResult, ChangeLongTermRetentionBackupAccessTierParameters, CopyLongTermRetentionBackupParameters, LongTermRetentionBackupOperationResult, UpdateLongTermRetentionBackupParameters } from "../../models/models.js"; import type { PagedAsyncIterableIterator } from "../../static-helpers/pagingHelpers.js"; import type { LongTermRetentionBackupsListByResourceGroupServerOptionalParams, LongTermRetentionBackupsListByResourceGroupLocationOptionalParams, LongTermRetentionBackupsListByServerOptionalParams, LongTermRetentionBackupsListByLocationOptionalParams, LongTermRetentionBackupsUpdateByResourceGroupOptionalParams, LongTermRetentionBackupsSetLegalHoldImmutabilityByResourceGroupOptionalParams, LongTermRetentionBackupsRemoveTimeBasedImmutabilityByResourceGroupOptionalParams, LongTermRetentionBackupsRemoveLegalHoldImmutabilityByResourceGroupOptionalParams, LongTermRetentionBackupsLockTimeBasedImmutabilityByResourceGroupOptionalParams, LongTermRetentionBackupsCopyByResourceGroupOptionalParams, LongTermRetentionBackupsChangeAccessTierByResourceGroupOptionalParams, LongTermRetentionBackupsListByResourceGroupDatabaseOptionalParams, LongTermRetentionBackupsDeleteByResourceGroupOptionalParams, LongTermRetentionBackupsGetByResourceGroupOptionalParams, LongTermRetentionBackupsUpdateOptionalParams, LongTermRetentionBackupsSetLegalHoldImmutabilityOptionalParams, LongTermRetentionBackupsRemoveTimeBasedImmutabilityOptionalParams, LongTermRetentionBackupsRemoveLegalHoldImmutabilityOptionalParams, LongTermRetentionBackupsLockTimeBasedImmutabilityOptionalParams, LongTermRetentionBackupsCopyOptionalParams, LongTermRetentionBackupsChangeAccessTierOptionalParams, LongTermRetentionBackupsListByDatabaseOptionalParams, LongTermRetentionBackupsDeleteOptionalParams, LongTermRetentionBackupsGetOptionalParams } from "./options.js"; import type { StreamableMethod, PathUncheckedResponse } from "@azure-rest/core-client"; import type { PollerLike, OperationState } from "@azure/core-lro"; export declare function _listByResourceGroupServerSend(context: Client, resourceGroupName: string, locationName: string, longTermRetentionServerName: string, options?: LongTermRetentionBackupsListByResourceGroupServerOptionalParams): StreamableMethod; export declare function _listByResourceGroupServerDeserialize(result: PathUncheckedResponse): Promise<_LongTermRetentionBackupListResult>; /** Lists the long term retention backups for a given server based on resource groups. */ export declare function listByResourceGroupServer(context: Client, resourceGroupName: string, locationName: string, longTermRetentionServerName: string, options?: LongTermRetentionBackupsListByResourceGroupServerOptionalParams): PagedAsyncIterableIterator; export declare function _listByResourceGroupLocationSend(context: Client, resourceGroupName: string, locationName: string, options?: LongTermRetentionBackupsListByResourceGroupLocationOptionalParams): StreamableMethod; export declare function _listByResourceGroupLocationDeserialize(result: PathUncheckedResponse): Promise<_LongTermRetentionBackupListResult>; /** Lists the long term retention backups for a given location based on resource group. */ export declare function listByResourceGroupLocation(context: Client, resourceGroupName: string, locationName: string, options?: LongTermRetentionBackupsListByResourceGroupLocationOptionalParams): PagedAsyncIterableIterator; export declare function _listByServerSend(context: Client, locationName: string, longTermRetentionServerName: string, options?: LongTermRetentionBackupsListByServerOptionalParams): StreamableMethod; export declare function _listByServerDeserialize(result: PathUncheckedResponse): Promise<_LongTermRetentionBackupListResult>; /** Lists the long term retention backups for a given server. */ export declare function listByServer(context: Client, locationName: string, longTermRetentionServerName: string, options?: LongTermRetentionBackupsListByServerOptionalParams): PagedAsyncIterableIterator; export declare function _listByLocationSend(context: Client, locationName: string, options?: LongTermRetentionBackupsListByLocationOptionalParams): StreamableMethod; export declare function _listByLocationDeserialize(result: PathUncheckedResponse): Promise<_LongTermRetentionBackupListResult>; /** Lists the long term retention backups for a given location. */ export declare function listByLocation(context: Client, locationName: string, options?: LongTermRetentionBackupsListByLocationOptionalParams): PagedAsyncIterableIterator; export declare function _updateByResourceGroupSend(context: Client, resourceGroupName: string, locationName: string, longTermRetentionServerName: string, longTermRetentionDatabaseName: string, backupName: string, parameters: UpdateLongTermRetentionBackupParameters, options?: LongTermRetentionBackupsUpdateByResourceGroupOptionalParams): StreamableMethod; export declare function _updateByResourceGroupDeserialize(result: PathUncheckedResponse): Promise; /** Updates an existing long term retention backup. */ export declare function updateByResourceGroup(context: Client, resourceGroupName: string, locationName: string, longTermRetentionServerName: string, longTermRetentionDatabaseName: string, backupName: string, parameters: UpdateLongTermRetentionBackupParameters, options?: LongTermRetentionBackupsUpdateByResourceGroupOptionalParams): PollerLike, LongTermRetentionBackupOperationResult>; export declare function _setLegalHoldImmutabilityByResourceGroupSend(context: Client, resourceGroupName: string, locationName: string, longTermRetentionServerName: string, longTermRetentionDatabaseName: string, backupName: string, options?: LongTermRetentionBackupsSetLegalHoldImmutabilityByResourceGroupOptionalParams): StreamableMethod; export declare function _setLegalHoldImmutabilityByResourceGroupDeserialize(result: PathUncheckedResponse): Promise; /** Set legal hold immutability of an existing long term retention backup. */ export declare function setLegalHoldImmutabilityByResourceGroup(context: Client, resourceGroupName: string, locationName: string, longTermRetentionServerName: string, longTermRetentionDatabaseName: string, backupName: string, options?: LongTermRetentionBackupsSetLegalHoldImmutabilityByResourceGroupOptionalParams): PollerLike, LongTermRetentionBackup>; export declare function _removeTimeBasedImmutabilityByResourceGroupSend(context: Client, resourceGroupName: string, locationName: string, longTermRetentionServerName: string, longTermRetentionDatabaseName: string, backupName: string, options?: LongTermRetentionBackupsRemoveTimeBasedImmutabilityByResourceGroupOptionalParams): StreamableMethod; export declare function _removeTimeBasedImmutabilityByResourceGroupDeserialize(result: PathUncheckedResponse): Promise; /** Remove time based immutability of an existing long term retention backup. */ export declare function removeTimeBasedImmutabilityByResourceGroup(context: Client, resourceGroupName: string, locationName: string, longTermRetentionServerName: string, longTermRetentionDatabaseName: string, backupName: string, options?: LongTermRetentionBackupsRemoveTimeBasedImmutabilityByResourceGroupOptionalParams): PollerLike, LongTermRetentionBackup>; export declare function _removeLegalHoldImmutabilityByResourceGroupSend(context: Client, resourceGroupName: string, locationName: string, longTermRetentionServerName: string, longTermRetentionDatabaseName: string, backupName: string, options?: LongTermRetentionBackupsRemoveLegalHoldImmutabilityByResourceGroupOptionalParams): StreamableMethod; export declare function _removeLegalHoldImmutabilityByResourceGroupDeserialize(result: PathUncheckedResponse): Promise; /** Remove legal hold immutability of an existing long term retention backup. */ export declare function removeLegalHoldImmutabilityByResourceGroup(context: Client, resourceGroupName: string, locationName: string, longTermRetentionServerName: string, longTermRetentionDatabaseName: string, backupName: string, options?: LongTermRetentionBackupsRemoveLegalHoldImmutabilityByResourceGroupOptionalParams): PollerLike, LongTermRetentionBackup>; export declare function _lockTimeBasedImmutabilityByResourceGroupSend(context: Client, resourceGroupName: string, locationName: string, longTermRetentionServerName: string, longTermRetentionDatabaseName: string, backupName: string, options?: LongTermRetentionBackupsLockTimeBasedImmutabilityByResourceGroupOptionalParams): StreamableMethod; export declare function _lockTimeBasedImmutabilityByResourceGroupDeserialize(result: PathUncheckedResponse): Promise; /** Lock time based immutability of an existing long term retention backup. */ export declare function lockTimeBasedImmutabilityByResourceGroup(context: Client, resourceGroupName: string, locationName: string, longTermRetentionServerName: string, longTermRetentionDatabaseName: string, backupName: string, options?: LongTermRetentionBackupsLockTimeBasedImmutabilityByResourceGroupOptionalParams): PollerLike, LongTermRetentionBackup>; export declare function _copyByResourceGroupSend(context: Client, resourceGroupName: string, locationName: string, longTermRetentionServerName: string, longTermRetentionDatabaseName: string, backupName: string, parameters: CopyLongTermRetentionBackupParameters, options?: LongTermRetentionBackupsCopyByResourceGroupOptionalParams): StreamableMethod; export declare function _copyByResourceGroupDeserialize(result: PathUncheckedResponse): Promise; /** Copy an existing long term retention backup to a different server. */ export declare function copyByResourceGroup(context: Client, resourceGroupName: string, locationName: string, longTermRetentionServerName: string, longTermRetentionDatabaseName: string, backupName: string, parameters: CopyLongTermRetentionBackupParameters, options?: LongTermRetentionBackupsCopyByResourceGroupOptionalParams): PollerLike, LongTermRetentionBackupOperationResult>; export declare function _changeAccessTierByResourceGroupSend(context: Client, resourceGroupName: string, locationName: string, longTermRetentionServerName: string, longTermRetentionDatabaseName: string, backupName: string, parameters: ChangeLongTermRetentionBackupAccessTierParameters, options?: LongTermRetentionBackupsChangeAccessTierByResourceGroupOptionalParams): StreamableMethod; export declare function _changeAccessTierByResourceGroupDeserialize(result: PathUncheckedResponse): Promise; /** Change a long term retention backup access tier. */ export declare function changeAccessTierByResourceGroup(context: Client, resourceGroupName: string, locationName: string, longTermRetentionServerName: string, longTermRetentionDatabaseName: string, backupName: string, parameters: ChangeLongTermRetentionBackupAccessTierParameters, options?: LongTermRetentionBackupsChangeAccessTierByResourceGroupOptionalParams): PollerLike, LongTermRetentionBackup>; export declare function _listByResourceGroupDatabaseSend(context: Client, resourceGroupName: string, locationName: string, longTermRetentionServerName: string, longTermRetentionDatabaseName: string, options?: LongTermRetentionBackupsListByResourceGroupDatabaseOptionalParams): StreamableMethod; export declare function _listByResourceGroupDatabaseDeserialize(result: PathUncheckedResponse): Promise<_LongTermRetentionBackupListResult>; /** Lists all long term retention backups for a database based on a particular resource group. */ export declare function listByResourceGroupDatabase(context: Client, resourceGroupName: string, locationName: string, longTermRetentionServerName: string, longTermRetentionDatabaseName: string, options?: LongTermRetentionBackupsListByResourceGroupDatabaseOptionalParams): PagedAsyncIterableIterator; export declare function _deleteByResourceGroupSend(context: Client, resourceGroupName: string, locationName: string, longTermRetentionServerName: string, longTermRetentionDatabaseName: string, backupName: string, options?: LongTermRetentionBackupsDeleteByResourceGroupOptionalParams): StreamableMethod; export declare function _deleteByResourceGroupDeserialize(result: PathUncheckedResponse): Promise; /** Deletes a long term retention backup. */ export declare function deleteByResourceGroup(context: Client, resourceGroupName: string, locationName: string, longTermRetentionServerName: string, longTermRetentionDatabaseName: string, backupName: string, options?: LongTermRetentionBackupsDeleteByResourceGroupOptionalParams): PollerLike, void>; export declare function _getByResourceGroupSend(context: Client, resourceGroupName: string, locationName: string, longTermRetentionServerName: string, longTermRetentionDatabaseName: string, backupName: string, options?: LongTermRetentionBackupsGetByResourceGroupOptionalParams): StreamableMethod; export declare function _getByResourceGroupDeserialize(result: PathUncheckedResponse): Promise; /** Gets a long term retention backup. */ export declare function getByResourceGroup(context: Client, resourceGroupName: string, locationName: string, longTermRetentionServerName: string, longTermRetentionDatabaseName: string, backupName: string, options?: LongTermRetentionBackupsGetByResourceGroupOptionalParams): Promise; export declare function _updateSend(context: Client, locationName: string, longTermRetentionServerName: string, longTermRetentionDatabaseName: string, backupName: string, parameters: UpdateLongTermRetentionBackupParameters, options?: LongTermRetentionBackupsUpdateOptionalParams): StreamableMethod; export declare function _updateDeserialize(result: PathUncheckedResponse): Promise; /** Updates an existing long term retention backup. */ export declare function update(context: Client, locationName: string, longTermRetentionServerName: string, longTermRetentionDatabaseName: string, backupName: string, parameters: UpdateLongTermRetentionBackupParameters, options?: LongTermRetentionBackupsUpdateOptionalParams): PollerLike, LongTermRetentionBackupOperationResult>; export declare function _setLegalHoldImmutabilitySend(context: Client, locationName: string, longTermRetentionServerName: string, longTermRetentionDatabaseName: string, backupName: string, options?: LongTermRetentionBackupsSetLegalHoldImmutabilityOptionalParams): StreamableMethod; export declare function _setLegalHoldImmutabilityDeserialize(result: PathUncheckedResponse): Promise; /** Set legal hold immutability of an existing long term retention backup. */ export declare function setLegalHoldImmutability(context: Client, locationName: string, longTermRetentionServerName: string, longTermRetentionDatabaseName: string, backupName: string, options?: LongTermRetentionBackupsSetLegalHoldImmutabilityOptionalParams): PollerLike, LongTermRetentionBackup>; export declare function _removeTimeBasedImmutabilitySend(context: Client, locationName: string, longTermRetentionServerName: string, longTermRetentionDatabaseName: string, backupName: string, options?: LongTermRetentionBackupsRemoveTimeBasedImmutabilityOptionalParams): StreamableMethod; export declare function _removeTimeBasedImmutabilityDeserialize(result: PathUncheckedResponse): Promise; /** Remove time based immutability of an existing long term retention backup. */ export declare function removeTimeBasedImmutability(context: Client, locationName: string, longTermRetentionServerName: string, longTermRetentionDatabaseName: string, backupName: string, options?: LongTermRetentionBackupsRemoveTimeBasedImmutabilityOptionalParams): PollerLike, LongTermRetentionBackup>; export declare function _removeLegalHoldImmutabilitySend(context: Client, locationName: string, longTermRetentionServerName: string, longTermRetentionDatabaseName: string, backupName: string, options?: LongTermRetentionBackupsRemoveLegalHoldImmutabilityOptionalParams): StreamableMethod; export declare function _removeLegalHoldImmutabilityDeserialize(result: PathUncheckedResponse): Promise; /** Remove legal hold immutability of an existing long term retention backup. */ export declare function removeLegalHoldImmutability(context: Client, locationName: string, longTermRetentionServerName: string, longTermRetentionDatabaseName: string, backupName: string, options?: LongTermRetentionBackupsRemoveLegalHoldImmutabilityOptionalParams): PollerLike, LongTermRetentionBackup>; export declare function _lockTimeBasedImmutabilitySend(context: Client, locationName: string, longTermRetentionServerName: string, longTermRetentionDatabaseName: string, backupName: string, options?: LongTermRetentionBackupsLockTimeBasedImmutabilityOptionalParams): StreamableMethod; export declare function _lockTimeBasedImmutabilityDeserialize(result: PathUncheckedResponse): Promise; /** Lock time based immutability of an existing long term retention backup. */ export declare function lockTimeBasedImmutability(context: Client, locationName: string, longTermRetentionServerName: string, longTermRetentionDatabaseName: string, backupName: string, options?: LongTermRetentionBackupsLockTimeBasedImmutabilityOptionalParams): PollerLike, LongTermRetentionBackup>; export declare function _copySend(context: Client, locationName: string, longTermRetentionServerName: string, longTermRetentionDatabaseName: string, backupName: string, parameters: CopyLongTermRetentionBackupParameters, options?: LongTermRetentionBackupsCopyOptionalParams): StreamableMethod; export declare function _copyDeserialize(result: PathUncheckedResponse): Promise; /** Copy an existing long term retention backup. */ export declare function copy(context: Client, locationName: string, longTermRetentionServerName: string, longTermRetentionDatabaseName: string, backupName: string, parameters: CopyLongTermRetentionBackupParameters, options?: LongTermRetentionBackupsCopyOptionalParams): PollerLike, LongTermRetentionBackupOperationResult>; export declare function _changeAccessTierSend(context: Client, locationName: string, longTermRetentionServerName: string, longTermRetentionDatabaseName: string, backupName: string, parameters: ChangeLongTermRetentionBackupAccessTierParameters, options?: LongTermRetentionBackupsChangeAccessTierOptionalParams): StreamableMethod; export declare function _changeAccessTierDeserialize(result: PathUncheckedResponse): Promise; /** Change a long term retention backup access tier. */ export declare function changeAccessTier(context: Client, locationName: string, longTermRetentionServerName: string, longTermRetentionDatabaseName: string, backupName: string, parameters: ChangeLongTermRetentionBackupAccessTierParameters, options?: LongTermRetentionBackupsChangeAccessTierOptionalParams): PollerLike, LongTermRetentionBackup>; export declare function _listByDatabaseSend(context: Client, locationName: string, longTermRetentionServerName: string, longTermRetentionDatabaseName: string, options?: LongTermRetentionBackupsListByDatabaseOptionalParams): StreamableMethod; export declare function _listByDatabaseDeserialize(result: PathUncheckedResponse): Promise<_LongTermRetentionBackupListResult>; /** Lists all long term retention backups for a database. */ export declare function listByDatabase(context: Client, locationName: string, longTermRetentionServerName: string, longTermRetentionDatabaseName: string, options?: LongTermRetentionBackupsListByDatabaseOptionalParams): PagedAsyncIterableIterator; export declare function _$deleteSend(context: Client, locationName: string, longTermRetentionServerName: string, longTermRetentionDatabaseName: string, backupName: string, options?: LongTermRetentionBackupsDeleteOptionalParams): StreamableMethod; export declare function _$deleteDeserialize(result: PathUncheckedResponse): Promise; /** Deletes a long term retention backup. */ export declare function $delete(context: Client, locationName: string, longTermRetentionServerName: string, longTermRetentionDatabaseName: string, backupName: string, options?: LongTermRetentionBackupsDeleteOptionalParams): PollerLike, void>; export declare function _getSend(context: Client, locationName: string, longTermRetentionServerName: string, longTermRetentionDatabaseName: string, backupName: string, options?: LongTermRetentionBackupsGetOptionalParams): StreamableMethod; export declare function _getDeserialize(result: PathUncheckedResponse): Promise; /** Gets a long term retention backup. */ export declare function get(context: Client, locationName: string, longTermRetentionServerName: string, longTermRetentionDatabaseName: string, backupName: string, options?: LongTermRetentionBackupsGetOptionalParams): Promise; //# sourceMappingURL=operations.d.ts.map