Partager via


SqlDatabaseResource.GetGeoBackupPolicy 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 Azure.Response<Azure.ResourceManager.Sql.GeoBackupPolicyResource> GetGeoBackupPolicy (Azure.ResourceManager.Sql.Models.GeoBackupPolicyName geoBackupPolicyName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetGeoBackupPolicy : Azure.ResourceManager.Sql.Models.GeoBackupPolicyName * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Sql.GeoBackupPolicyResource>
override this.GetGeoBackupPolicy : Azure.ResourceManager.Sql.Models.GeoBackupPolicyName * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Sql.GeoBackupPolicyResource>
Public Overridable Function GetGeoBackupPolicy (geoBackupPolicyName As GeoBackupPolicyName, Optional cancellationToken As CancellationToken = Nothing) As 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 à