Compartir a través de


SqlDatabaseResource.GetDatabaseAdvancedThreatProtection Método

Definición

Obtiene el estado de Advanced Threat Protection de una base de datos.

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/advancedThreatProtectionSettings/{advancedThreatProtectionName}
  • IdDatabaseAdvancedThreatProtectionSettings_Get de operación
public virtual Azure.Response<Azure.ResourceManager.Sql.DatabaseAdvancedThreatProtectionResource> GetDatabaseAdvancedThreatProtection (Azure.ResourceManager.Sql.Models.AdvancedThreatProtectionName advancedThreatProtectionName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetDatabaseAdvancedThreatProtection : Azure.ResourceManager.Sql.Models.AdvancedThreatProtectionName * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Sql.DatabaseAdvancedThreatProtectionResource>
override this.GetDatabaseAdvancedThreatProtection : Azure.ResourceManager.Sql.Models.AdvancedThreatProtectionName * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Sql.DatabaseAdvancedThreatProtectionResource>
Public Overridable Function GetDatabaseAdvancedThreatProtection (advancedThreatProtectionName As AdvancedThreatProtectionName, Optional cancellationToken As CancellationToken = Nothing) As Response(Of DatabaseAdvancedThreatProtectionResource)

Parámetros

advancedThreatProtectionName
AdvancedThreatProtectionName

Nombre del estado de Advanced Threat Protection.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Se aplica a