DatabaseAdvancedThreatProtectionSettingsClient Interface

public interface DatabaseAdvancedThreatProtectionSettingsClient

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

Method Summary

Modifier and Type Method and Description
abstract DatabaseAdvancedThreatProtectionInner createOrUpdate(String resourceGroupName, String serverName, String databaseName, AdvancedThreatProtectionName advancedThreatProtectionName, DatabaseAdvancedThreatProtectionInner parameters)

Creates or updates a database's Advanced Threat Protection state.

abstract Mono<DatabaseAdvancedThreatProtectionInner> createOrUpdateAsync(String resourceGroupName, String serverName, String databaseName, AdvancedThreatProtectionName advancedThreatProtectionName, DatabaseAdvancedThreatProtectionInner parameters)

Creates or updates a database's Advanced Threat Protection state.

abstract Response<DatabaseAdvancedThreatProtectionInner> createOrUpdateWithResponse(String resourceGroupName, String serverName, String databaseName, AdvancedThreatProtectionName advancedThreatProtectionName, DatabaseAdvancedThreatProtectionInner parameters, Context context)

Creates or updates a database's Advanced Threat Protection state.

abstract Mono<Response<DatabaseAdvancedThreatProtectionInner>> createOrUpdateWithResponseAsync(String resourceGroupName, String serverName, String databaseName, AdvancedThreatProtectionName advancedThreatProtectionName, DatabaseAdvancedThreatProtectionInner parameters)

Creates or updates a database's Advanced Threat Protection state.

abstract DatabaseAdvancedThreatProtectionInner get(String resourceGroupName, String serverName, String databaseName, AdvancedThreatProtectionName advancedThreatProtectionName)

Gets a database's Advanced Threat Protection state.

abstract Mono<DatabaseAdvancedThreatProtectionInner> getAsync(String resourceGroupName, String serverName, String databaseName, AdvancedThreatProtectionName advancedThreatProtectionName)

Gets a database's Advanced Threat Protection state.

abstract Response<DatabaseAdvancedThreatProtectionInner> getWithResponse(String resourceGroupName, String serverName, String databaseName, AdvancedThreatProtectionName advancedThreatProtectionName, Context context)

Gets a database's Advanced Threat Protection state.

abstract Mono<Response<DatabaseAdvancedThreatProtectionInner>> getWithResponseAsync(String resourceGroupName, String serverName, String databaseName, AdvancedThreatProtectionName advancedThreatProtectionName)

Gets a database's Advanced Threat Protection state.

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

Gets a list of database's Advanced Threat Protection states.

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

Gets a list of database's Advanced Threat Protection states.

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

Gets a list of database's Advanced Threat Protection states.

Method Details

createOrUpdate

public abstract DatabaseAdvancedThreatProtectionInner createOrUpdate(String resourceGroupName, String serverName, String databaseName, AdvancedThreatProtectionName advancedThreatProtectionName, DatabaseAdvancedThreatProtectionInner parameters)

Creates or updates a database's Advanced Threat Protection state.

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.
advancedThreatProtectionName - The name of the Advanced Threat Protection state.
parameters - The database Advanced Threat Protection state.

Returns:

a database Advanced Threat Protection.

createOrUpdateAsync

public abstract Mono createOrUpdateAsync(String resourceGroupName, String serverName, String databaseName, AdvancedThreatProtectionName advancedThreatProtectionName, DatabaseAdvancedThreatProtectionInner parameters)

Creates or updates a database's Advanced Threat Protection state.

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.
advancedThreatProtectionName - The name of the Advanced Threat Protection state.
parameters - The database Advanced Threat Protection state.

Returns:

a database Advanced Threat Protection on successful completion of Mono.

createOrUpdateWithResponse

public abstract Response createOrUpdateWithResponse(String resourceGroupName, String serverName, String databaseName, AdvancedThreatProtectionName advancedThreatProtectionName, DatabaseAdvancedThreatProtectionInner parameters, Context context)

Creates or updates a database's Advanced Threat Protection state.

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.
advancedThreatProtectionName - The name of the Advanced Threat Protection state.
parameters - The database Advanced Threat Protection state.
context - The context to associate with this operation.

Returns:

a database Advanced Threat Protection along with Response<T>.

createOrUpdateWithResponseAsync

public abstract Mono> createOrUpdateWithResponseAsync(String resourceGroupName, String serverName, String databaseName, AdvancedThreatProtectionName advancedThreatProtectionName, DatabaseAdvancedThreatProtectionInner parameters)

Creates or updates a database's Advanced Threat Protection state.

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.
advancedThreatProtectionName - The name of the Advanced Threat Protection state.
parameters - The database Advanced Threat Protection state.

Returns:

a database Advanced Threat Protection along with Response<T> on successful completion of Mono.

get

public abstract DatabaseAdvancedThreatProtectionInner get(String resourceGroupName, String serverName, String databaseName, AdvancedThreatProtectionName advancedThreatProtectionName)

Gets a database's Advanced Threat Protection state.

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.
advancedThreatProtectionName - The name of the Advanced Threat Protection state.

Returns:

a database's Advanced Threat Protection state.

getAsync

public abstract Mono getAsync(String resourceGroupName, String serverName, String databaseName, AdvancedThreatProtectionName advancedThreatProtectionName)

Gets a database's Advanced Threat Protection state.

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.
advancedThreatProtectionName - The name of the Advanced Threat Protection state.

Returns:

a database's Advanced Threat Protection state on successful completion of Mono.

getWithResponse

public abstract Response getWithResponse(String resourceGroupName, String serverName, String databaseName, AdvancedThreatProtectionName advancedThreatProtectionName, Context context)

Gets a database's Advanced Threat Protection state.

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.
advancedThreatProtectionName - The name of the Advanced Threat Protection state.
context - The context to associate with this operation.

Returns:

a database's Advanced Threat Protection state along with Response<T>.

getWithResponseAsync

public abstract Mono> getWithResponseAsync(String resourceGroupName, String serverName, String databaseName, AdvancedThreatProtectionName advancedThreatProtectionName)

Gets a database's Advanced Threat Protection state.

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.
advancedThreatProtectionName - The name of the Advanced Threat Protection state.

Returns:

a database's Advanced Threat Protection state 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 Advanced Threat Protection states.

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.

Returns:

a list of database's Advanced Threat Protection states 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 Advanced Threat Protection states.

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.
context - The context to associate with this operation.

Returns:

a list of database's Advanced Threat Protection states as paginated response with PagedIterable<T>.

listByDatabaseAsync

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

Gets a list of database's Advanced Threat Protection states.

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.

Returns:

a list of database's Advanced Threat Protection states as paginated response with PagedFlux<T>.

Applies to