import { PagedAsyncIterableIterator } from "@azure/core-paging"; import { GeoBackupPolicies } from "../operationsInterfaces"; import { SqlManagementClient } from "../sqlManagementClient"; import { GeoBackupPolicy, GeoBackupPoliciesListByDatabaseOptionalParams, GeoBackupPolicyName, GeoBackupPoliciesCreateOrUpdateOptionalParams, GeoBackupPoliciesCreateOrUpdateResponse, GeoBackupPoliciesGetOptionalParams, GeoBackupPoliciesGetResponse } from "../models"; /** Class containing GeoBackupPolicies operations. */ export declare class GeoBackupPoliciesImpl implements GeoBackupPolicies { private readonly client; /** * Initialize a new instance of the class GeoBackupPolicies class. * @param client Reference to the service client */ constructor(client: SqlManagementClient); /** * Returns a list of geo backup policies. * @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 serverName The name of the server. * @param databaseName The name of the database. * @param options The options parameters. */ listByDatabase(resourceGroupName: string, serverName: string, databaseName: string, options?: GeoBackupPoliciesListByDatabaseOptionalParams): PagedAsyncIterableIterator; private listByDatabasePagingPage; private listByDatabasePagingAll; /** * Updates a database geo backup 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 serverName The name of the server. * @param databaseName The name of the database. * @param geoBackupPolicyName The name of the geo backup policy. * @param parameters The required parameters for creating or updating the geo backup policy. * @param options The options parameters. */ createOrUpdate(resourceGroupName: string, serverName: string, databaseName: string, geoBackupPolicyName: GeoBackupPolicyName, parameters: GeoBackupPolicy, options?: GeoBackupPoliciesCreateOrUpdateOptionalParams): Promise; /** * Gets a geo backup 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 serverName The name of the server. * @param databaseName The name of the database. * @param geoBackupPolicyName The name of the geo backup policy. * @param options The options parameters. */ get(resourceGroupName: string, serverName: string, databaseName: string, geoBackupPolicyName: GeoBackupPolicyName, options?: GeoBackupPoliciesGetOptionalParams): Promise; /** * Returns a list of geo backup policies. * @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 serverName The name of the server. * @param databaseName The name of the database. * @param options The options parameters. */ private _listByDatabase; } //# sourceMappingURL=geoBackupPolicies.d.ts.map