DatabaseSecurityAlertPoliciesClient Interface

public interface DatabaseSecurityAlertPoliciesClient

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

Method Summary

Modifier and Type Method and Description
abstract DatabaseSecurityAlertPolicyInner createOrUpdate(String resourceGroupName, String serverName, String databaseName, SecurityAlertPolicyName securityAlertPolicyName, DatabaseSecurityAlertPolicyInner parameters)

Creates or updates a database's security alert policy.

abstract Mono<DatabaseSecurityAlertPolicyInner> createOrUpdateAsync(String resourceGroupName, String serverName, String databaseName, SecurityAlertPolicyName securityAlertPolicyName, DatabaseSecurityAlertPolicyInner parameters)

Creates or updates a database's security alert policy.

abstract Response<DatabaseSecurityAlertPolicyInner> createOrUpdateWithResponse(String resourceGroupName, String serverName, String databaseName, SecurityAlertPolicyName securityAlertPolicyName, DatabaseSecurityAlertPolicyInner parameters, Context context)

Creates or updates a database's security alert policy.

abstract Mono<Response<DatabaseSecurityAlertPolicyInner>> createOrUpdateWithResponseAsync(String resourceGroupName, String serverName, String databaseName, SecurityAlertPolicyName securityAlertPolicyName, DatabaseSecurityAlertPolicyInner parameters)

Creates or updates a database's security alert policy.

abstract DatabaseSecurityAlertPolicyInner get(String resourceGroupName, String serverName, String databaseName, SecurityAlertPolicyName securityAlertPolicyName)

Gets a database's security alert policy.

abstract Mono<DatabaseSecurityAlertPolicyInner> getAsync(String resourceGroupName, String serverName, String databaseName, SecurityAlertPolicyName securityAlertPolicyName)

Gets a database's security alert policy.

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

Gets a database's security alert policy.

abstract Mono<Response<DatabaseSecurityAlertPolicyInner>> getWithResponseAsync(String resourceGroupName, String serverName, String databaseName, SecurityAlertPolicyName securityAlertPolicyName)

Gets a database's security alert policy.

abstract PagedIterable<DatabaseSecurityAlertPolicyInner> listByDatabase(String resourceGroupName, String serverName, String databaseName)

Gets a list of database's security alert policies.

abstract PagedIterable<DatabaseSecurityAlertPolicyInner> listByDatabase(String resourceGroupName, String serverName, String databaseName, Context context)

Gets a list of database's security alert policies.

abstract PagedFlux<DatabaseSecurityAlertPolicyInner> listByDatabaseAsync(String resourceGroupName, String serverName, String databaseName)

Gets a list of database's security alert policies.

Method Details

createOrUpdate

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

Creates or updates a database's security alert policy.

Parameters:

resourceGroupName - 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 - The name of the server.
databaseName - The name of the database for which the security alert policy is defined.
securityAlertPolicyName - The name of the security alert policy.
parameters - The database security alert policy.

Returns:

a database security alert policy.

createOrUpdateAsync

public abstract Mono createOrUpdateAsync(String resourceGroupName, String serverName, String databaseName, SecurityAlertPolicyName securityAlertPolicyName, DatabaseSecurityAlertPolicyInner parameters)

Creates or updates a database's security alert policy.

Parameters:

resourceGroupName - 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 - The name of the server.
databaseName - The name of the database for which the security alert policy is defined.
securityAlertPolicyName - The name of the security alert policy.
parameters - The database security alert policy.

Returns:

a database security alert policy on successful completion of Mono.

createOrUpdateWithResponse

public abstract Response createOrUpdateWithResponse(String resourceGroupName, String serverName, String databaseName, SecurityAlertPolicyName securityAlertPolicyName, DatabaseSecurityAlertPolicyInner parameters, Context context)

Creates or updates a database's security alert policy.

Parameters:

resourceGroupName - 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 - The name of the server.
databaseName - The name of the database for which the security alert policy is defined.
securityAlertPolicyName - The name of the security alert policy.
parameters - The database security alert policy.
context - The context to associate with this operation.

Returns:

a database security alert policy along with Response<T>.

createOrUpdateWithResponseAsync

public abstract Mono> createOrUpdateWithResponseAsync(String resourceGroupName, String serverName, String databaseName, SecurityAlertPolicyName securityAlertPolicyName, DatabaseSecurityAlertPolicyInner parameters)

Creates or updates a database's security alert policy.

Parameters:

resourceGroupName - 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 - The name of the server.
databaseName - The name of the database for which the security alert policy is defined.
securityAlertPolicyName - The name of the security alert policy.
parameters - The database security alert policy.

Returns:

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

get

public abstract DatabaseSecurityAlertPolicyInner get(String resourceGroupName, String serverName, String databaseName, SecurityAlertPolicyName securityAlertPolicyName)

Gets a database's security alert policy.

Parameters:

resourceGroupName - 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 - The name of the server.
databaseName - The name of the database for which the security alert policy is defined.
securityAlertPolicyName - The name of the security alert policy.

Returns:

a database's security alert policy.

getAsync

public abstract Mono getAsync(String resourceGroupName, String serverName, String databaseName, SecurityAlertPolicyName securityAlertPolicyName)

Gets a database's security alert policy.

Parameters:

resourceGroupName - 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 - The name of the server.
databaseName - The name of the database for which the security alert policy is defined.
securityAlertPolicyName - The name of the security alert policy.

Returns:

a database's security alert policy on successful completion of Mono.

getWithResponse

public abstract Response getWithResponse(String resourceGroupName, String serverName, String databaseName, SecurityAlertPolicyName securityAlertPolicyName, Context context)

Gets a database's security alert policy.

Parameters:

resourceGroupName - 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 - The name of the server.
databaseName - The name of the database for which the security alert policy is defined.
securityAlertPolicyName - The name of the security alert policy.
context - The context to associate with this operation.

Returns:

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

getWithResponseAsync

public abstract Mono> getWithResponseAsync(String resourceGroupName, String serverName, String databaseName, SecurityAlertPolicyName securityAlertPolicyName)

Gets a database's security alert policy.

Parameters:

resourceGroupName - 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 - The name of the server.
databaseName - The name of the database for which the security alert policy is defined.
securityAlertPolicyName - The name of the security alert policy.

Returns:

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

listByDatabase

public abstract PagedIterable listByDatabase(String resourceGroupName, String serverName, String databaseName)

Gets a list of database's security alert policies.

Parameters:

resourceGroupName - 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 - The name of the server.
databaseName - The name of the database for which the security alert policy is defined.

Returns:

a list of database's security alert policies as paginated response with PagedIterable<T>.

listByDatabase

public abstract PagedIterable listByDatabase(String resourceGroupName, String serverName, String databaseName, Context context)

Gets a list of database's security alert policies.

Parameters:

resourceGroupName - 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 - The name of the server.
databaseName - The name of the database for which the security alert policy is defined.
context - The context to associate with this operation.

Returns:

a list of database's security alert policies as paginated response with PagedIterable<T>.

listByDatabaseAsync

public abstract PagedFlux listByDatabaseAsync(String resourceGroupName, String serverName, String databaseName)

Gets a list of database's security alert policies.

Parameters:

resourceGroupName - 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 - The name of the server.
databaseName - The name of the database for which the security alert policy is defined.

Returns:

a list of database's security alert policies as paginated response with PagedFlux<T>.

Applies to