Partager via


SqlDatabaseResource.GetGeoBackupPolicyAsync Méthode

Définition

Obtient une stratégie de géo-sauvegarde.

  • Chemin de la demande/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/geoBackupPolicies/{geoBackupPolicyName}
  • IdGeoBackupPolicies_Get d’opération
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))

Paramètres

geoBackupPolicyName
GeoBackupPolicyName

Nom de la stratégie de géo-sauvegarde.

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

S’applique à