ManagedDatabaseSecurityAlertPoliciesClient Interface

public interface ManagedDatabaseSecurityAlertPoliciesClient

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

Method Summary

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

Creates or updates a database's security alert policy.

abstract Mono<ManagedDatabaseSecurityAlertPolicyInner> createOrUpdateAsync(String resourceGroupName, String managedInstanceName, String databaseName, SecurityAlertPolicyName securityAlertPolicyName, ManagedDatabaseSecurityAlertPolicyInner parameters)

Creates or updates a database's security alert policy.

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

Creates or updates a database's security alert policy.

abstract Mono<Response<ManagedDatabaseSecurityAlertPolicyInner>> createOrUpdateWithResponseAsync(String resourceGroupName, String managedInstanceName, String databaseName, SecurityAlertPolicyName securityAlertPolicyName, ManagedDatabaseSecurityAlertPolicyInner parameters)

Creates or updates a database's security alert policy.

abstract ManagedDatabaseSecurityAlertPolicyInner get(String resourceGroupName, String managedInstanceName, String databaseName, SecurityAlertPolicyName securityAlertPolicyName)

Gets a managed database's security alert policy.

abstract Mono<ManagedDatabaseSecurityAlertPolicyInner> getAsync(String resourceGroupName, String managedInstanceName, String databaseName, SecurityAlertPolicyName securityAlertPolicyName)

Gets a managed database's security alert policy.

abstract Response<ManagedDatabaseSecurityAlertPolicyInner> getWithResponse(String resourceGroupName, String managedInstanceName, String databaseName, SecurityAlertPolicyName securityAlertPolicyName, Context context)

Gets a managed database's security alert policy.

abstract Mono<Response<ManagedDatabaseSecurityAlertPolicyInner>> getWithResponseAsync(String resourceGroupName, String managedInstanceName, String databaseName, SecurityAlertPolicyName securityAlertPolicyName)

Gets a managed database's security alert policy.

abstract PagedIterable<ManagedDatabaseSecurityAlertPolicyInner> listByDatabase(String resourceGroupName, String managedInstanceName, String databaseName)

Gets a list of managed database's security alert policies.

abstract PagedIterable<ManagedDatabaseSecurityAlertPolicyInner> listByDatabase(String resourceGroupName, String managedInstanceName, String databaseName, Context context)

Gets a list of managed database's security alert policies.

abstract PagedFlux<ManagedDatabaseSecurityAlertPolicyInner> listByDatabaseAsync(String resourceGroupName, String managedInstanceName, String databaseName)

Gets a list of managed database's security alert policies.

Method Details

createOrUpdate

public abstract ManagedDatabaseSecurityAlertPolicyInner createOrUpdate(String resourceGroupName, String managedInstanceName, String databaseName, SecurityAlertPolicyName securityAlertPolicyName, ManagedDatabaseSecurityAlertPolicyInner 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.
managedInstanceName - The name of the managed instance.
databaseName - The name of the managed 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 managed database security alert policy.

createOrUpdateAsync

public abstract Mono createOrUpdateAsync(String resourceGroupName, String managedInstanceName, String databaseName, SecurityAlertPolicyName securityAlertPolicyName, ManagedDatabaseSecurityAlertPolicyInner 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.
managedInstanceName - The name of the managed instance.
databaseName - The name of the managed 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 managed database security alert policy on successful completion of Mono.

createOrUpdateWithResponse

public abstract Response createOrUpdateWithResponse(String resourceGroupName, String managedInstanceName, String databaseName, SecurityAlertPolicyName securityAlertPolicyName, ManagedDatabaseSecurityAlertPolicyInner 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.
managedInstanceName - The name of the managed instance.
databaseName - The name of the managed 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 managed database security alert policy along with Response<T>.

createOrUpdateWithResponseAsync

public abstract Mono> createOrUpdateWithResponseAsync(String resourceGroupName, String managedInstanceName, String databaseName, SecurityAlertPolicyName securityAlertPolicyName, ManagedDatabaseSecurityAlertPolicyInner 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.
managedInstanceName - The name of the managed instance.
databaseName - The name of the managed 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 managed database security alert policy along with Response<T> on successful completion of Mono.

get

public abstract ManagedDatabaseSecurityAlertPolicyInner get(String resourceGroupName, String managedInstanceName, String databaseName, SecurityAlertPolicyName securityAlertPolicyName)

Gets a managed 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.
managedInstanceName - The name of the managed instance.
databaseName - The name of the managed database for which the security alert policy is defined.
securityAlertPolicyName - The name of the security alert policy.

Returns:

a managed database's security alert policy.

getAsync

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

Gets a managed 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.
managedInstanceName - The name of the managed instance.
databaseName - The name of the managed database for which the security alert policy is defined.
securityAlertPolicyName - The name of the security alert policy.

Returns:

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

getWithResponse

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

Gets a managed 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.
managedInstanceName - The name of the managed instance.
databaseName - The name of the managed 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 managed database's security alert policy along with Response<T>.

getWithResponseAsync

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

Gets a managed 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.
managedInstanceName - The name of the managed instance.
databaseName - The name of the managed database for which the security alert policy is defined.
securityAlertPolicyName - The name of the security alert policy.

Returns:

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

listByDatabase

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

Gets a list of managed 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.
managedInstanceName - The name of the managed instance.
databaseName - The name of the managed database for which the security alert policies are defined.

Returns:

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

listByDatabase

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

Gets a list of managed 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.
managedInstanceName - The name of the managed instance.
databaseName - The name of the managed database for which the security alert policies are defined.
context - The context to associate with this operation.

Returns:

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

listByDatabaseAsync

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

Gets a list of managed 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.
managedInstanceName - The name of the managed instance.
databaseName - The name of the managed database for which the security alert policies are defined.

Returns:

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

Applies to