Share via


ServerThreatProtectionSettings interface

Interface representing a ServerThreatProtectionSettings.

Methods

beginCreateOrUpdate(string, string, string, AdvancedThreatProtectionSettingsModel, ServerThreatProtectionSettingsCreateOrUpdateOptionalParams)

Creates or updates a server's Advanced Threat Protection settings.

beginCreateOrUpdateAndWait(string, string, string, AdvancedThreatProtectionSettingsModel, ServerThreatProtectionSettingsCreateOrUpdateOptionalParams)

Creates or updates a server's Advanced Threat Protection settings.

Method Details

beginCreateOrUpdate(string, string, string, AdvancedThreatProtectionSettingsModel, ServerThreatProtectionSettingsCreateOrUpdateOptionalParams)

Creates or updates a server's Advanced Threat Protection settings.

function beginCreateOrUpdate(resourceGroupName: string, serverName: string, threatProtectionName: string, parameters: AdvancedThreatProtectionSettingsModel, options?: ServerThreatProtectionSettingsCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<AdvancedThreatProtectionSettingsModel>, AdvancedThreatProtectionSettingsModel>>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

serverName

string

The name of the server.

threatProtectionName

string

Name of the advanced threat protection settings.

parameters
AdvancedThreatProtectionSettingsModel

The Advanced Threat Protection state for the server.

Returns

beginCreateOrUpdateAndWait(string, string, string, AdvancedThreatProtectionSettingsModel, ServerThreatProtectionSettingsCreateOrUpdateOptionalParams)

Creates or updates a server's Advanced Threat Protection settings.

function beginCreateOrUpdateAndWait(resourceGroupName: string, serverName: string, threatProtectionName: string, parameters: AdvancedThreatProtectionSettingsModel, options?: ServerThreatProtectionSettingsCreateOrUpdateOptionalParams): Promise<AdvancedThreatProtectionSettingsModel>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

serverName

string

The name of the server.

threatProtectionName

string

Name of the advanced threat protection settings.

parameters
AdvancedThreatProtectionSettingsModel

The Advanced Threat Protection state for the server.

Returns