ServerSecurityAlertPolicies Interface

public interface ServerSecurityAlertPolicies

Resource collection API of ServerSecurityAlertPolicies.

Method Summary

Modifier and Type Method and Description
abstract Blank define(SecurityAlertPolicyName name)

Begins definition for a new ServerSecurityAlertPolicy resource.

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

Get a server's security alert policy.

abstract ServerSecurityAlertPolicy getById(String id)

Get a server's security alert policy.

abstract Response<ServerSecurityAlertPolicy> getByIdWithResponse(String id, Context context)

Get a server's security alert policy.

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

Get a server's security alert policy.

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

Get the server's threat detection policies.

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

Get the server's threat detection policies.

Method Details

define

public abstract ServerSecurityAlertPolicy.DefinitionStages.Blank define(SecurityAlertPolicyName name)

Begins definition for a new ServerSecurityAlertPolicy resource.

Parameters:

name - resource name.

Returns:

the first stage of the new ServerSecurityAlertPolicy definition.

get

public abstract ServerSecurityAlertPolicy 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.

getById

public abstract ServerSecurityAlertPolicy getById(String id)

Get a server's security alert policy.

Parameters:

id - the resource ID.

Returns:

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

getByIdWithResponse

public abstract Response<ServerSecurityAlertPolicy> getByIdWithResponse(String id, Context context)

Get a server's security alert policy.

Parameters:

id - the resource ID.
context - The context to associate with this operation.

Returns:

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

getWithResponse

public abstract Response<ServerSecurityAlertPolicy> 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<ServerSecurityAlertPolicy> 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 as paginated response with PagedIterable<T>.

listByServer

public abstract PagedIterable<ServerSecurityAlertPolicy> 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 as paginated response with PagedIterable<T>.

Applies to