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<SimplePollerLike<OperationState<ServerSecurityAlertPolicy>, ServerSecurityAlertPolicy>>
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.
- securityAlertPolicyName
-
string
The name of the threat detection policy.
- parameters
- ServerSecurityAlertPolicy
The server security alert policy.
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<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 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.
- 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 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.
- 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 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.