Freigeben über


GeoBackupPolicyCollection.GetIfExistsAsync Methode

Definition

Versucht, Details für diese Ressource vom Dienst abzurufen.

  • Anforderungspfad/abonnements/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/geoBackupPolicies/{geoBackupPolicyName}
  • Vorgangs-IdGeoBackupPolicies_Get
public virtual System.Threading.Tasks.Task<Azure.NullableResponse<Azure.ResourceManager.Sql.GeoBackupPolicyResource>> GetIfExistsAsync (Azure.ResourceManager.Sql.Models.GeoBackupPolicyName geoBackupPolicyName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetIfExistsAsync : Azure.ResourceManager.Sql.Models.GeoBackupPolicyName * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.NullableResponse<Azure.ResourceManager.Sql.GeoBackupPolicyResource>>
override this.GetIfExistsAsync : Azure.ResourceManager.Sql.Models.GeoBackupPolicyName * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.NullableResponse<Azure.ResourceManager.Sql.GeoBackupPolicyResource>>
Public Overridable Function GetIfExistsAsync (geoBackupPolicyName As GeoBackupPolicyName, Optional cancellationToken As CancellationToken = Nothing) As Task(Of NullableResponse(Of GeoBackupPolicyResource))

Parameter

geoBackupPolicyName
GeoBackupPolicyName

Der Name der Geosicherungsrichtlinie.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Gilt für: