ServerSecurityAlertPolicies interface
Interface representing a ServerSecurityAlertPolicies.
Methods
begin |
Creates or updates a threat detection policy. |
begin |
Creates or updates a threat detection policy. |
get(string, string, string, Server |
Get a server's security alert policy. |
list |
Get the server's threat detection policies. |
Method Details
beginCreateOrUpdate(string, string, string, ServerSecurityAlertPolicy, ServerSecurityAlertPoliciesCreateOrUpdateOptionalParams)
Creates or updates a threat detection policy.
function beginCreateOrUpdate(resourceGroupName: string, serverName: string, securityAlertPolicyName: string, parameters: ServerSecurityAlertPolicy, options?: ServerSecurityAlertPoliciesCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<ServerSecurityAlertPolicy>, ServerSecurityAlertPolicy>>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- serverName
-
string
The name of the server.
- securityAlertPolicyName
-
string
The name of the threat detection policy.
- parameters
- ServerSecurityAlertPolicy
The server security alert policy.
The options parameters.
Returns
Promise<PollerLike<@azure/core-lro.PollOperationState<ServerSecurityAlertPolicy>, ServerSecurityAlertPolicy>>
beginCreateOrUpdateAndWait(string, string, string, ServerSecurityAlertPolicy, ServerSecurityAlertPoliciesCreateOrUpdateOptionalParams)
Creates or updates a threat detection policy.
function beginCreateOrUpdateAndWait(resourceGroupName: string, serverName: string, securityAlertPolicyName: string, parameters: ServerSecurityAlertPolicy, options?: ServerSecurityAlertPoliciesCreateOrUpdateOptionalParams): Promise<ServerSecurityAlertPolicy>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- serverName
-
string
The name of the server.
- securityAlertPolicyName
-
string
The name of the threat detection policy.
- parameters
- ServerSecurityAlertPolicy
The server security alert policy.
The options parameters.
Returns
Promise<ServerSecurityAlertPolicy>
get(string, string, string, ServerSecurityAlertPoliciesGetOptionalParams)
Get a server's security alert policy.
function get(resourceGroupName: string, serverName: string, securityAlertPolicyName: string, options?: ServerSecurityAlertPoliciesGetOptionalParams): Promise<ServerSecurityAlertPolicy>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- serverName
-
string
The name of the server.
- securityAlertPolicyName
-
string
The name of the security alert policy.
The options parameters.
Returns
Promise<ServerSecurityAlertPolicy>
listByServer(string, string, ServerSecurityAlertPoliciesListByServerOptionalParams)
Get the server's threat detection policies.
function listByServer(resourceGroupName: string, serverName: string, options?: ServerSecurityAlertPoliciesListByServerOptionalParams): PagedAsyncIterableIterator<ServerSecurityAlertPolicy, ServerSecurityAlertPolicy[], 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.