import type { SqlManagementContext as Client } from "../index.js"; import type { BackupShortTermRetentionPolicy, ShortTermRetentionPolicyName, _BackupShortTermRetentionPolicyListResult } from "../../models/models.js"; import type { PagedAsyncIterableIterator } from "../../static-helpers/pagingHelpers.js"; import type { BackupShortTermRetentionPoliciesListByDatabaseOptionalParams, BackupShortTermRetentionPoliciesUpdateOptionalParams, BackupShortTermRetentionPoliciesCreateOrUpdateOptionalParams, BackupShortTermRetentionPoliciesGetOptionalParams } from "./options.js"; import type { StreamableMethod, PathUncheckedResponse } from "@azure-rest/core-client"; import type { PollerLike, OperationState } from "@azure/core-lro"; export declare function _listByDatabaseSend(context: Client, resourceGroupName: string, serverName: string, databaseName: string, options?: BackupShortTermRetentionPoliciesListByDatabaseOptionalParams): StreamableMethod; export declare function _listByDatabaseDeserialize(result: PathUncheckedResponse): Promise<_BackupShortTermRetentionPolicyListResult>; /** Gets a database's short term retention policy. */ export declare function listByDatabase(context: Client, resourceGroupName: string, serverName: string, databaseName: string, options?: BackupShortTermRetentionPoliciesListByDatabaseOptionalParams): PagedAsyncIterableIterator; export declare function _updateSend(context: Client, resourceGroupName: string, serverName: string, databaseName: string, policyName: ShortTermRetentionPolicyName, parameters: BackupShortTermRetentionPolicy, options?: BackupShortTermRetentionPoliciesUpdateOptionalParams): StreamableMethod; export declare function _updateDeserialize(result: PathUncheckedResponse): Promise; /** Updates a database's short term retention policy. */ export declare function update(context: Client, resourceGroupName: string, serverName: string, databaseName: string, policyName: ShortTermRetentionPolicyName, parameters: BackupShortTermRetentionPolicy, options?: BackupShortTermRetentionPoliciesUpdateOptionalParams): PollerLike, BackupShortTermRetentionPolicy>; export declare function _createOrUpdateSend(context: Client, resourceGroupName: string, serverName: string, databaseName: string, policyName: ShortTermRetentionPolicyName, parameters: BackupShortTermRetentionPolicy, options?: BackupShortTermRetentionPoliciesCreateOrUpdateOptionalParams): StreamableMethod; export declare function _createOrUpdateDeserialize(result: PathUncheckedResponse): Promise; /** Updates a database's short term retention policy. */ export declare function createOrUpdate(context: Client, resourceGroupName: string, serverName: string, databaseName: string, policyName: ShortTermRetentionPolicyName, parameters: BackupShortTermRetentionPolicy, options?: BackupShortTermRetentionPoliciesCreateOrUpdateOptionalParams): PollerLike, BackupShortTermRetentionPolicy>; export declare function _getSend(context: Client, resourceGroupName: string, serverName: string, databaseName: string, policyName: ShortTermRetentionPolicyName, options?: BackupShortTermRetentionPoliciesGetOptionalParams): StreamableMethod; export declare function _getDeserialize(result: PathUncheckedResponse): Promise; /** Gets a database's short term retention policy. */ export declare function get(context: Client, resourceGroupName: string, serverName: string, databaseName: string, policyName: ShortTermRetentionPolicyName, options?: BackupShortTermRetentionPoliciesGetOptionalParams): Promise; //# sourceMappingURL=operations.d.ts.map