import { PagedAsyncIterableIterator } from "@azure/core-paging"; import { ManagedBackupShortTermRetentionPolicies } from "../operationsInterfaces"; import { SqlManagementClient } from "../sqlManagementClient"; import { SimplePollerLike, OperationState } from "@azure/core-lro"; import { ManagedBackupShortTermRetentionPolicy, ManagedBackupShortTermRetentionPoliciesListByDatabaseOptionalParams, ManagedShortTermRetentionPolicyName, ManagedBackupShortTermRetentionPoliciesGetOptionalParams, ManagedBackupShortTermRetentionPoliciesGetResponse, ManagedBackupShortTermRetentionPoliciesCreateOrUpdateOptionalParams, ManagedBackupShortTermRetentionPoliciesCreateOrUpdateResponse, ManagedBackupShortTermRetentionPoliciesUpdateOptionalParams, ManagedBackupShortTermRetentionPoliciesUpdateResponse } from "../models"; /** Class containing ManagedBackupShortTermRetentionPolicies operations. */ export declare class ManagedBackupShortTermRetentionPoliciesImpl implements ManagedBackupShortTermRetentionPolicies { private readonly client; /** * Initialize a new instance of the class ManagedBackupShortTermRetentionPolicies class. * @param client Reference to the service client */ constructor(client: SqlManagementClient); /** * Gets a managed database's short term retention policy list. * @param resourceGroupName The name of the resource group that contains the resource. You can obtain * this value from the Azure Resource Manager API or the portal. * @param managedInstanceName The name of the managed instance. * @param databaseName The name of the database. * @param options The options parameters. */ listByDatabase(resourceGroupName: string, managedInstanceName: string, databaseName: string, options?: ManagedBackupShortTermRetentionPoliciesListByDatabaseOptionalParams): PagedAsyncIterableIterator; private listByDatabasePagingPage; private listByDatabasePagingAll; /** * Gets a managed database's short term retention policy. * @param resourceGroupName The name of the resource group that contains the resource. You can obtain * this value from the Azure Resource Manager API or the portal. * @param managedInstanceName The name of the managed instance. * @param databaseName The name of the database. * @param policyName The policy name. * @param options The options parameters. */ get(resourceGroupName: string, managedInstanceName: string, databaseName: string, policyName: ManagedShortTermRetentionPolicyName, options?: ManagedBackupShortTermRetentionPoliciesGetOptionalParams): Promise; /** * Updates a managed database's short term retention policy. * @param resourceGroupName The name of the resource group that contains the resource. You can obtain * this value from the Azure Resource Manager API or the portal. * @param managedInstanceName The name of the managed instance. * @param databaseName The name of the database. * @param policyName The policy name. Should always be "default". * @param parameters The short term retention policy info. * @param options The options parameters. */ beginCreateOrUpdate(resourceGroupName: string, managedInstanceName: string, databaseName: string, policyName: ManagedShortTermRetentionPolicyName, parameters: ManagedBackupShortTermRetentionPolicy, options?: ManagedBackupShortTermRetentionPoliciesCreateOrUpdateOptionalParams): Promise, ManagedBackupShortTermRetentionPoliciesCreateOrUpdateResponse>>; /** * Updates a managed database's short term retention policy. * @param resourceGroupName The name of the resource group that contains the resource. You can obtain * this value from the Azure Resource Manager API or the portal. * @param managedInstanceName The name of the managed instance. * @param databaseName The name of the database. * @param policyName The policy name. Should always be "default". * @param parameters The short term retention policy info. * @param options The options parameters. */ beginCreateOrUpdateAndWait(resourceGroupName: string, managedInstanceName: string, databaseName: string, policyName: ManagedShortTermRetentionPolicyName, parameters: ManagedBackupShortTermRetentionPolicy, options?: ManagedBackupShortTermRetentionPoliciesCreateOrUpdateOptionalParams): Promise; /** * Updates a managed database's short term retention policy. * @param resourceGroupName The name of the resource group that contains the resource. You can obtain * this value from the Azure Resource Manager API or the portal. * @param managedInstanceName The name of the managed instance. * @param databaseName The name of the database. * @param policyName The policy name. Should always be "default". * @param parameters The short term retention policy info. * @param options The options parameters. */ beginUpdate(resourceGroupName: string, managedInstanceName: string, databaseName: string, policyName: ManagedShortTermRetentionPolicyName, parameters: ManagedBackupShortTermRetentionPolicy, options?: ManagedBackupShortTermRetentionPoliciesUpdateOptionalParams): Promise, ManagedBackupShortTermRetentionPoliciesUpdateResponse>>; /** * Updates a managed database's short term retention policy. * @param resourceGroupName The name of the resource group that contains the resource. You can obtain * this value from the Azure Resource Manager API or the portal. * @param managedInstanceName The name of the managed instance. * @param databaseName The name of the database. * @param policyName The policy name. Should always be "default". * @param parameters The short term retention policy info. * @param options The options parameters. */ beginUpdateAndWait(resourceGroupName: string, managedInstanceName: string, databaseName: string, policyName: ManagedShortTermRetentionPolicyName, parameters: ManagedBackupShortTermRetentionPolicy, options?: ManagedBackupShortTermRetentionPoliciesUpdateOptionalParams): Promise; /** * Gets a managed database's short term retention policy list. * @param resourceGroupName The name of the resource group that contains the resource. You can obtain * this value from the Azure Resource Manager API or the portal. * @param managedInstanceName The name of the managed instance. * @param databaseName The name of the database. * @param options The options parameters. */ private _listByDatabase; /** * ListByDatabaseNext * @param resourceGroupName The name of the resource group that contains the resource. You can obtain * this value from the Azure Resource Manager API or the portal. * @param managedInstanceName The name of the managed instance. * @param databaseName The name of the database. * @param nextLink The nextLink from the previous successful call to the ListByDatabase method. * @param options The options parameters. */ private _listByDatabaseNext; } //# sourceMappingURL=managedBackupShortTermRetentionPolicies.d.ts.map