DatabaseAdvancedThreatProtectionSettings interface

Interface representing a DatabaseAdvancedThreatProtectionSettings.

Methods

createOrUpdate(string, string, string, string, DatabaseAdvancedThreatProtection, DatabaseAdvancedThreatProtectionSettingsCreateOrUpdateOptionalParams)

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

get(string, string, string, string, DatabaseAdvancedThreatProtectionSettingsGetOptionalParams)

Gets a database's Advanced Threat Protection state.

listByDatabase(string, string, string, DatabaseAdvancedThreatProtectionSettingsListByDatabaseOptionalParams)

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

Method Details

createOrUpdate(string, string, string, string, DatabaseAdvancedThreatProtection, DatabaseAdvancedThreatProtectionSettingsCreateOrUpdateOptionalParams)

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

function createOrUpdate(resourceGroupName: string, serverName: string, databaseName: string, advancedThreatProtectionName: string, parameters: DatabaseAdvancedThreatProtection, options?: DatabaseAdvancedThreatProtectionSettingsCreateOrUpdateOptionalParams): Promise<DatabaseAdvancedThreatProtection>

Parameters

resourceGroupName

string

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

string

The name of the server.

databaseName

string

The name of the database.

advancedThreatProtectionName

string

The name of the Advanced Threat Protection state.

parameters
DatabaseAdvancedThreatProtection

The database Advanced Threat Protection state.

Returns

get(string, string, string, string, DatabaseAdvancedThreatProtectionSettingsGetOptionalParams)

Gets a database's Advanced Threat Protection state.

function get(resourceGroupName: string, serverName: string, databaseName: string, advancedThreatProtectionName: string, options?: DatabaseAdvancedThreatProtectionSettingsGetOptionalParams): Promise<DatabaseAdvancedThreatProtection>

Parameters

resourceGroupName

string

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

string

The name of the server.

databaseName

string

The name of the database.

advancedThreatProtectionName

string

The name of the Advanced Threat Protection state.

Returns

listByDatabase(string, string, string, DatabaseAdvancedThreatProtectionSettingsListByDatabaseOptionalParams)

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

function listByDatabase(resourceGroupName: string, serverName: string, databaseName: string, options?: DatabaseAdvancedThreatProtectionSettingsListByDatabaseOptionalParams): PagedAsyncIterableIterator<DatabaseAdvancedThreatProtection, DatabaseAdvancedThreatProtection[], PageSettings>

Parameters

resourceGroupName

string

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

string

The name of the server.

databaseName

string

The name of the database.

Returns