ServerThreatProtectionSettings interface
Interface representing a ServerThreatProtectionSettings.
Methods
begin |
Creates or updates a server's Advanced Threat Protection settings. |
begin |
Creates or updates a server's Advanced Threat Protection settings. |
get(string, string, string, Server |
Get a server's Advanced Threat Protection settings. |
list |
Get a list of server's Threat Protection state. |
Method Details
beginCreateOrUpdate(string, string, string, ServerThreatProtectionSettingsModel, ServerThreatProtectionSettingsCreateOrUpdateOptionalParams)
Creates or updates a server's Advanced Threat Protection settings.
function beginCreateOrUpdate(resourceGroupName: string, serverName: string, threatProtectionName: string, parameters: ServerThreatProtectionSettingsModel, options?: ServerThreatProtectionSettingsCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<ServerThreatProtectionSettingsModel>, ServerThreatProtectionSettingsModel>>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- serverName
-
string
The name of the server.
- threatProtectionName
-
string
The name of the Threat Protection state.
- parameters
- ServerThreatProtectionSettingsModel
The Advanced Threat Protection state for the flexible server.
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<ServerThreatProtectionSettingsModel>, ServerThreatProtectionSettingsModel>>
beginCreateOrUpdateAndWait(string, string, string, ServerThreatProtectionSettingsModel, ServerThreatProtectionSettingsCreateOrUpdateOptionalParams)
Creates or updates a server's Advanced Threat Protection settings.
function beginCreateOrUpdateAndWait(resourceGroupName: string, serverName: string, threatProtectionName: string, parameters: ServerThreatProtectionSettingsModel, options?: ServerThreatProtectionSettingsCreateOrUpdateOptionalParams): Promise<ServerThreatProtectionSettingsModel>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- serverName
-
string
The name of the server.
- threatProtectionName
-
string
The name of the Threat Protection state.
- parameters
- ServerThreatProtectionSettingsModel
The Advanced Threat Protection state for the flexible server.
The options parameters.
Returns
Promise<ServerThreatProtectionSettingsModel>
get(string, string, string, ServerThreatProtectionSettingsGetOptionalParams)
Get a server's Advanced Threat Protection settings.
function get(resourceGroupName: string, serverName: string, threatProtectionName: string, options?: ServerThreatProtectionSettingsGetOptionalParams): Promise<ServerThreatProtectionSettingsModel>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- serverName
-
string
The name of the server.
- threatProtectionName
-
string
The name of the Threat Protection state.
The options parameters.
Returns
Promise<ServerThreatProtectionSettingsModel>
listByServer(string, string, ServerThreatProtectionSettingsListByServerOptionalParams)
Get a list of server's Threat Protection state.
function listByServer(resourceGroupName: string, serverName: string, options?: ServerThreatProtectionSettingsListByServerOptionalParams): PagedAsyncIterableIterator<ServerThreatProtectionSettingsModel, ServerThreatProtectionSettingsModel[], PageSettings>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- serverName
-
string
The name of the server.
The options parameters.