WorkspaceManagedSqlServerSecurityAlertPoliciesClient Interface

public interface WorkspaceManagedSqlServerSecurityAlertPoliciesClient

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

Method Summary

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

Create or Update server's threat detection policy.

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

Create or Update server's threat detection policy.

abstract ServerSecurityAlertPolicyInner createOrUpdate(String resourceGroupName, String workspaceName, SecurityAlertPolicyNameAutoGenerated securityAlertPolicyName, ServerSecurityAlertPolicyInner parameters)

Create or Update server's threat detection policy.

abstract ServerSecurityAlertPolicyInner createOrUpdate(String resourceGroupName, String workspaceName, SecurityAlertPolicyNameAutoGenerated securityAlertPolicyName, ServerSecurityAlertPolicyInner parameters, Context context)

Create or Update server's threat detection policy.

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

Get server's security alert policy.

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

Get server's security alert policy.

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

Get server's threat detection policies.

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

Get server's threat detection policies.

Method Details

beginCreateOrUpdate

public abstract SyncPoller<>,ServerSecurityAlertPolicyInner> beginCreateOrUpdate(String resourceGroupName, String workspaceName, SecurityAlertPolicyNameAutoGenerated securityAlertPolicyName, ServerSecurityAlertPolicyInner parameters)

Create or Update server's threat detection policy.

Create or Update a workspace managed sql server's threat detection 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.
parameters - The workspace managed sql server security alert policy.

Returns:

the SyncPoller<T,U> for polling of workspace managed Sql server security alert policy.

beginCreateOrUpdate

public abstract SyncPoller<>,ServerSecurityAlertPolicyInner> beginCreateOrUpdate(String resourceGroupName, String workspaceName, SecurityAlertPolicyNameAutoGenerated securityAlertPolicyName, ServerSecurityAlertPolicyInner parameters, Context context)

Create or Update server's threat detection policy.

Create or Update a workspace managed sql server's threat detection 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.
parameters - The workspace managed sql server security alert policy.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of workspace managed Sql server security alert policy.

createOrUpdate

public abstract ServerSecurityAlertPolicyInner createOrUpdate(String resourceGroupName, String workspaceName, SecurityAlertPolicyNameAutoGenerated securityAlertPolicyName, ServerSecurityAlertPolicyInner parameters)

Create or Update server's threat detection policy.

Create or Update a workspace managed sql server's threat detection 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.
parameters - The workspace managed sql server security alert policy.

Returns:

workspace managed Sql server security alert policy.

createOrUpdate

public abstract ServerSecurityAlertPolicyInner createOrUpdate(String resourceGroupName, String workspaceName, SecurityAlertPolicyNameAutoGenerated securityAlertPolicyName, ServerSecurityAlertPolicyInner parameters, Context context)

Create or Update server's threat detection policy.

Create or Update a workspace managed sql server's threat detection 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.
parameters - The workspace managed sql server security alert policy.
context - The context to associate with this operation.

Returns:

workspace managed Sql server security alert policy.

get

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

getWithResponse

public abstract Response 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 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 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