WorkspaceManagedSqlServerSecurityAlertPolicies Interface

public interface WorkspaceManagedSqlServerSecurityAlertPolicies

Resource collection API of WorkspaceManagedSqlServerSecurityAlertPolicies.

Method Summary

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

Begins definition for a new ServerSecurityAlertPolicy resource.

abstract ServerSecurityAlertPolicy get(String resourceGroupName, String workspaceName, SecurityAlertPolicyNameAutoGenerated securityAlertPolicyName)

Get server's security alert policy.

abstract ServerSecurityAlertPolicy getById(String id)

Get server's security alert policy.

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

Get server's security alert policy.

abstract Response<ServerSecurityAlertPolicy> getWithResponse(String resourceGroupName, String workspaceName, SecurityAlertPolicyNameAutoGenerated securityAlertPolicyName, Context context)

Get server's security alert policy.

abstract PagedIterable<ServerSecurityAlertPolicy> list(String resourceGroupName, String workspaceName)

Get server's threat detection policies.

abstract PagedIterable<ServerSecurityAlertPolicy> list(String resourceGroupName, String workspaceName, Context context)

Get server's threat detection policies.

Method Details

define

public abstract ServerSecurityAlertPolicy.DefinitionStages.Blank define(SecurityAlertPolicyNameAutoGenerated 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 workspaceName, SecurityAlertPolicyNameAutoGenerated securityAlertPolicyName)

Get server's security alert policy. Get a workspace managed sql server's security alert policy.

Parameters:

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

Returns:

a workspace managed sql server's security alert policy.

getById

public abstract ServerSecurityAlertPolicy getById(String id)

Get server's security alert policy. Get a workspace managed sql server's security alert policy.

Parameters:

id - the resource ID.

Returns:

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

getByIdWithResponse

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

Get server's security alert policy. Get a workspace managed sql server's security alert policy.

Parameters:

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

Returns:

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

getWithResponse

public abstract Response<ServerSecurityAlertPolicy> getWithResponse(String resourceGroupName, String workspaceName, SecurityAlertPolicyNameAutoGenerated securityAlertPolicyName, Context context)

Get server's security alert policy. Get a workspace managed sql server's security alert policy.

Parameters:

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

Returns:

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

list

public abstract PagedIterable<ServerSecurityAlertPolicy> list(String resourceGroupName, String workspaceName)

Get server's threat detection policies. Get workspace managed sql server's threat detection policies.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
workspaceName - The name of the workspace.

Returns:

workspace managed sql server's threat detection policies as paginated response with PagedIterable<T>.

list

public abstract PagedIterable<ServerSecurityAlertPolicy> list(String resourceGroupName, String workspaceName, Context context)

Get server's threat detection policies. Get workspace managed sql server's threat detection policies.

Parameters:

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

Returns:

workspace managed sql server's threat detection policies as paginated response with PagedIterable<T>.

Applies to