ServerAdvancedThreatProtectionSettings interface
Interface representing a ServerAdvancedThreatProtectionSettings.
Methods
begin |
Creates or updates an Advanced Threat Protection state. |
begin |
Creates or updates an Advanced Threat Protection state. |
get(string, string, string, Server |
Get a server's Advanced Threat Protection state. |
list |
Get a list of the server's Advanced Threat Protection states. |
Method Details
beginCreateOrUpdate(string, string, string, ServerAdvancedThreatProtection, ServerAdvancedThreatProtectionSettingsCreateOrUpdateOptionalParams)
Creates or updates an Advanced Threat Protection state.
function beginCreateOrUpdate(resourceGroupName: string, serverName: string, advancedThreatProtectionName: string, parameters: ServerAdvancedThreatProtection, options?: ServerAdvancedThreatProtectionSettingsCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<ServerAdvancedThreatProtection>, ServerAdvancedThreatProtection>>
Parameters
- resourceGroupName
-
string
The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
- serverName
-
string
The name of the server.
- advancedThreatProtectionName
-
string
The name of the Advanced Threat Protection state.
- parameters
- ServerAdvancedThreatProtection
The server Advanced Threat Protection state.
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<ServerAdvancedThreatProtection>, ServerAdvancedThreatProtection>>
beginCreateOrUpdateAndWait(string, string, string, ServerAdvancedThreatProtection, ServerAdvancedThreatProtectionSettingsCreateOrUpdateOptionalParams)
Creates or updates an Advanced Threat Protection state.
function beginCreateOrUpdateAndWait(resourceGroupName: string, serverName: string, advancedThreatProtectionName: string, parameters: ServerAdvancedThreatProtection, options?: ServerAdvancedThreatProtectionSettingsCreateOrUpdateOptionalParams): Promise<ServerAdvancedThreatProtection>
Parameters
- resourceGroupName
-
string
The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
- serverName
-
string
The name of the server.
- advancedThreatProtectionName
-
string
The name of the Advanced Threat Protection state.
- parameters
- ServerAdvancedThreatProtection
The server Advanced Threat Protection state.
The options parameters.
Returns
Promise<ServerAdvancedThreatProtection>
get(string, string, string, ServerAdvancedThreatProtectionSettingsGetOptionalParams)
Get a server's Advanced Threat Protection state.
function get(resourceGroupName: string, serverName: string, advancedThreatProtectionName: string, options?: ServerAdvancedThreatProtectionSettingsGetOptionalParams): Promise<ServerAdvancedThreatProtection>
Parameters
- resourceGroupName
-
string
The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
- serverName
-
string
The name of the server.
- advancedThreatProtectionName
-
string
The name of the Advanced Threat Protection state.
The options parameters.
Returns
Promise<ServerAdvancedThreatProtection>
listByServer(string, string, ServerAdvancedThreatProtectionSettingsListByServerOptionalParams)
Get a list of the server's Advanced Threat Protection states.
function listByServer(resourceGroupName: string, serverName: string, options?: ServerAdvancedThreatProtectionSettingsListByServerOptionalParams): PagedAsyncIterableIterator<ServerAdvancedThreatProtection, ServerAdvancedThreatProtection[], PageSettings>
Parameters
- resourceGroupName
-
string
The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
- serverName
-
string
The name of the server.
The options parameters.