Freigeben über


SqlServerResource.GetServerAdvancedThreatProtectionAsync Methode

Definition

Rufen Sie den Advanced Threat Protection-Status eines Servers ab.

  • Request Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/advancedThreatProtectionSettings/{advancedThreatProtectionName}
  • Vorgang IdServerAdvancedThreatProtectionSettings_Get
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Sql.ServerAdvancedThreatProtectionResource>> GetServerAdvancedThreatProtectionAsync (Azure.ResourceManager.Sql.Models.AdvancedThreatProtectionName advancedThreatProtectionName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetServerAdvancedThreatProtectionAsync : Azure.ResourceManager.Sql.Models.AdvancedThreatProtectionName * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Sql.ServerAdvancedThreatProtectionResource>>
override this.GetServerAdvancedThreatProtectionAsync : Azure.ResourceManager.Sql.Models.AdvancedThreatProtectionName * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Sql.ServerAdvancedThreatProtectionResource>>
Public Overridable Function GetServerAdvancedThreatProtectionAsync (advancedThreatProtectionName As AdvancedThreatProtectionName, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of ServerAdvancedThreatProtectionResource))

Parameter

advancedThreatProtectionName
AdvancedThreatProtectionName

Der Name des Advanced Threat Protection-Status.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Gilt für: