Compartilhar via


ManagedDatabaseAdvancedThreatProtectionCollection.GetIfExists Método

Definição

Tenta obter detalhes desse recurso do serviço.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/databases/{databaseName}/advancedThreatProtectionSettings/{advancedThreatProtectionName}
  • IdManagedDatabaseAdvancedThreatProtectionSettings_Get de operação
public virtual Azure.NullableResponse<Azure.ResourceManager.Sql.ManagedDatabaseAdvancedThreatProtectionResource> GetIfExists (Azure.ResourceManager.Sql.Models.AdvancedThreatProtectionName advancedThreatProtectionName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetIfExists : Azure.ResourceManager.Sql.Models.AdvancedThreatProtectionName * System.Threading.CancellationToken -> Azure.NullableResponse<Azure.ResourceManager.Sql.ManagedDatabaseAdvancedThreatProtectionResource>
override this.GetIfExists : Azure.ResourceManager.Sql.Models.AdvancedThreatProtectionName * System.Threading.CancellationToken -> Azure.NullableResponse<Azure.ResourceManager.Sql.ManagedDatabaseAdvancedThreatProtectionResource>
Public Overridable Function GetIfExists (advancedThreatProtectionName As AdvancedThreatProtectionName, Optional cancellationToken As CancellationToken = Nothing) As NullableResponse(Of ManagedDatabaseAdvancedThreatProtectionResource)

Parâmetros

advancedThreatProtectionName
AdvancedThreatProtectionName

O nome do estado da Proteção Avançada contra Ameaças.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Aplica-se a