Compartilhar via


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