ServerSecurityAlertPoliciesClient Interface

public interface ServerSecurityAlertPoliciesClient

An instance of this class provides access to all the operations defined in ServerSecurityAlertPoliciesClient.

Method Summary

Modifier and Type Method and Description
abstract SyncPoller<PollResult<ServerSecurityAlertPolicyInner>,ServerSecurityAlertPolicyInner> beginCreateOrUpdate(String resourceGroupName, String serverName, SecurityAlertPolicyName securityAlertPolicyName, ServerSecurityAlertPolicyInner parameters)

Creates or updates a threat detection policy.

abstract SyncPoller<PollResult<ServerSecurityAlertPolicyInner>,ServerSecurityAlertPolicyInner> beginCreateOrUpdate(String resourceGroupName, String serverName, SecurityAlertPolicyName securityAlertPolicyName, ServerSecurityAlertPolicyInner parameters, Context context)

Creates or updates a threat detection policy.

abstract ServerSecurityAlertPolicyInner createOrUpdate(String resourceGroupName, String serverName, SecurityAlertPolicyName securityAlertPolicyName, ServerSecurityAlertPolicyInner parameters)

Creates or updates a threat detection policy.

abstract ServerSecurityAlertPolicyInner createOrUpdate(String resourceGroupName, String serverName, SecurityAlertPolicyName securityAlertPolicyName, ServerSecurityAlertPolicyInner parameters, Context context)

Creates or updates a threat detection policy.

abstract ServerSecurityAlertPolicyInner get(String resourceGroupName, String serverName, SecurityAlertPolicyName securityAlertPolicyName)

Get a server's security alert policy.

abstract Response<ServerSecurityAlertPolicyInner> getWithResponse(String resourceGroupName, String serverName, SecurityAlertPolicyName securityAlertPolicyName, Context context)

Get a server's security alert policy.

abstract PagedIterable<ServerSecurityAlertPolicyInner> listByServer(String resourceGroupName, String serverName)

Get the server's threat detection policies.

abstract PagedIterable<ServerSecurityAlertPolicyInner> listByServer(String resourceGroupName, String serverName, Context context)

Get the server's threat detection policies.

Method Details

beginCreateOrUpdate

public abstract SyncPoller<PollResult<ServerSecurityAlertPolicyInner>,ServerSecurityAlertPolicyInner> beginCreateOrUpdate(String resourceGroupName, String serverName, SecurityAlertPolicyName securityAlertPolicyName, ServerSecurityAlertPolicyInner parameters)

Creates or updates a threat detection policy.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
serverName - The name of the server.
securityAlertPolicyName - The name of the threat detection policy.
parameters - The server security alert policy.

Returns:

a server security alert policy along with Response<T> on successful completion of Mono.

beginCreateOrUpdate

public abstract SyncPoller<PollResult<ServerSecurityAlertPolicyInner>,ServerSecurityAlertPolicyInner> beginCreateOrUpdate(String resourceGroupName, String serverName, SecurityAlertPolicyName securityAlertPolicyName, ServerSecurityAlertPolicyInner parameters, Context context)

Creates or updates a threat detection policy.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
serverName - The name of the server.
securityAlertPolicyName - The name of the threat detection policy.
parameters - The server security alert policy.
context - The context to associate with this operation.

Returns:

a server security alert policy along with Response<T> on successful completion of Mono.

createOrUpdate

public abstract ServerSecurityAlertPolicyInner createOrUpdate(String resourceGroupName, String serverName, SecurityAlertPolicyName securityAlertPolicyName, ServerSecurityAlertPolicyInner parameters)

Creates or updates a threat detection policy.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
serverName - The name of the server.
securityAlertPolicyName - The name of the threat detection policy.
parameters - The server security alert policy.

Returns:

a server security alert policy.

createOrUpdate

public abstract ServerSecurityAlertPolicyInner createOrUpdate(String resourceGroupName, String serverName, SecurityAlertPolicyName securityAlertPolicyName, ServerSecurityAlertPolicyInner parameters, Context context)

Creates or updates a threat detection policy.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
serverName - The name of the server.
securityAlertPolicyName - The name of the threat detection policy.
parameters - The server security alert policy.
context - The context to associate with this operation.

Returns:

a server security alert policy.

get

public abstract ServerSecurityAlertPolicyInner get(String resourceGroupName, String serverName, SecurityAlertPolicyName securityAlertPolicyName)

Get a server's security alert policy.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
serverName - The name of the server.
securityAlertPolicyName - The name of the security alert policy.

Returns:

a server's security alert policy.

getWithResponse

public abstract Response<ServerSecurityAlertPolicyInner> getWithResponse(String resourceGroupName, String serverName, SecurityAlertPolicyName securityAlertPolicyName, Context context)

Get a server's security alert policy.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
serverName - The name of the server.
securityAlertPolicyName - The name of the security alert policy.
context - The context to associate with this operation.

Returns:

a server's security alert policy along with Response<T>.

listByServer

public abstract PagedIterable<ServerSecurityAlertPolicyInner> listByServer(String resourceGroupName, String serverName)

Get the server's threat detection policies.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
serverName - The name of the server.

Returns:

the server's threat detection policies.

listByServer

public abstract PagedIterable<ServerSecurityAlertPolicyInner> listByServer(String resourceGroupName, String serverName, Context context)

Get the server's threat detection policies.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
serverName - The name of the server.
context - The context to associate with this operation.

Returns:

the server's threat detection policies.

Applies to