Compartir a través de


SqlDatabaseResource.GetGeoBackupPolicyAsync Método

Definición

Obtiene una directiva de copia de seguridad geográfica.

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/geoBackupPolicies/{geoBackupPolicyName}
  • IdGeoBackupPolicies_Get de operación
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Sql.GeoBackupPolicyResource>> GetGeoBackupPolicyAsync (Azure.ResourceManager.Sql.Models.GeoBackupPolicyName geoBackupPolicyName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetGeoBackupPolicyAsync : Azure.ResourceManager.Sql.Models.GeoBackupPolicyName * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Sql.GeoBackupPolicyResource>>
override this.GetGeoBackupPolicyAsync : Azure.ResourceManager.Sql.Models.GeoBackupPolicyName * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Sql.GeoBackupPolicyResource>>
Public Overridable Function GetGeoBackupPolicyAsync (geoBackupPolicyName As GeoBackupPolicyName, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of GeoBackupPolicyResource))

Parámetros

geoBackupPolicyName
GeoBackupPolicyName

Nombre de la directiva de copia de seguridad geográfica.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Se aplica a