Delen via


DatabaseBlobAuditingPolicies interface

Interface representing a DatabaseBlobAuditingPolicies.

Methods

createOrUpdate(string, string, string, DatabaseBlobAuditingPolicy, DatabaseBlobAuditingPoliciesCreateOrUpdateOptionalParams)

Creates or updates a database's blob auditing policy.

get(string, string, string, DatabaseBlobAuditingPoliciesGetOptionalParams)

Gets a database's blob auditing policy.

listByDatabase(string, string, string, DatabaseBlobAuditingPoliciesListByDatabaseOptionalParams)

Lists auditing settings of a database.

Method Details

createOrUpdate(string, string, string, DatabaseBlobAuditingPolicy, DatabaseBlobAuditingPoliciesCreateOrUpdateOptionalParams)

Creates or updates a database's blob auditing policy.

function createOrUpdate(resourceGroupName: string, serverName: string, databaseName: string, parameters: DatabaseBlobAuditingPolicy, options?: DatabaseBlobAuditingPoliciesCreateOrUpdateOptionalParams): Promise<DatabaseBlobAuditingPolicy>

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.

parameters
DatabaseBlobAuditingPolicy

The database blob auditing policy.

Returns

get(string, string, string, DatabaseBlobAuditingPoliciesGetOptionalParams)

Gets a database's blob auditing policy.

function get(resourceGroupName: string, serverName: string, databaseName: string, options?: DatabaseBlobAuditingPoliciesGetOptionalParams): Promise<DatabaseBlobAuditingPolicy>

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.

options
DatabaseBlobAuditingPoliciesGetOptionalParams

The options parameters.

Returns

listByDatabase(string, string, string, DatabaseBlobAuditingPoliciesListByDatabaseOptionalParams)

Lists auditing settings of a database.

function listByDatabase(resourceGroupName: string, serverName: string, databaseName: string, options?: DatabaseBlobAuditingPoliciesListByDatabaseOptionalParams): PagedAsyncIterableIterator<DatabaseBlobAuditingPolicy, DatabaseBlobAuditingPolicy[], 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