Compartilhar via


GeoBackupPolicyCollection.GetIfExistsAsync Método

Definição

Tenta obter detalhes desse recurso do serviço.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/geoBackupPolicies/{geoBackupPolicyName}
  • IdGeoBackupPolicies_Get de operação
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))

Parâmetros

geoBackupPolicyName
GeoBackupPolicyName

O nome da política de backup geográfico.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Aplica-se a