Partager via


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