IDatabaseBackupOperations.GetGeoBackupPolicyAsync Method

Definition

Returns an Azure SQL Database geo backup policy.

public System.Threading.Tasks.Task<Microsoft.Azure.Management.Sql.LegacySdk.Models.GeoBackupPolicyGetResponse> GetGeoBackupPolicyAsync (string resourceGroupName, string serverName, string databaseName, string geoBackupPolicyName, System.Threading.CancellationToken cancellationToken);
abstract member GetGeoBackupPolicyAsync : string * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Sql.LegacySdk.Models.GeoBackupPolicyGetResponse>
Public Function GetGeoBackupPolicyAsync (resourceGroupName As String, serverName As String, databaseName As String, geoBackupPolicyName As String, cancellationToken As CancellationToken) As Task(Of GeoBackupPolicyGetResponse)

Parameters

resourceGroupName
String

The name of the Resource Group to which the server belongs.

serverName
String

The name of the Azure SQL Database Server to retrieve geo backup policies for.

databaseName
String

The name of the Azure SQL Database to retrieve geo backup policies for.

geoBackupPolicyName
String

The name of the Azure SQL Database Geo Backup Policy to retrieve geo backup policies for.

cancellationToken
CancellationToken

Cancellation token.

Returns

Represents the response to a Get Azure Sql Database geo backup policy request.

Applies to