PostgreSqlFlexibleServerResource.GetServerThreatProtectionSettingsModel Method

Definition

Gets state of advanced threat protection settings for a server.

public virtual Azure.Response<Azure.ResourceManager.PostgreSql.FlexibleServers.ServerThreatProtectionSettingsModelResource> GetServerThreatProtectionSettingsModel(Azure.ResourceManager.PostgreSql.FlexibleServers.Models.ThreatProtectionName threatProtectionName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetServerThreatProtectionSettingsModel : Azure.ResourceManager.PostgreSql.FlexibleServers.Models.ThreatProtectionName * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.PostgreSql.FlexibleServers.ServerThreatProtectionSettingsModelResource>
override this.GetServerThreatProtectionSettingsModel : Azure.ResourceManager.PostgreSql.FlexibleServers.Models.ThreatProtectionName * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.PostgreSql.FlexibleServers.ServerThreatProtectionSettingsModelResource>
Public Overridable Function GetServerThreatProtectionSettingsModel (threatProtectionName As ThreatProtectionName, Optional cancellationToken As CancellationToken = Nothing) As Response(Of ServerThreatProtectionSettingsModelResource)

Parameters

threatProtectionName
ThreatProtectionName

Name of the advanced threat protection settings.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to