DatabaseBlobAuditingPolicies interface
Interface representing a DatabaseBlobAuditingPolicies.
Methods
create |
Creates or updates a database's blob auditing policy. |
get(string, string, string, Database |
Gets a database's blob auditing policy. |
list |
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.
The options parameters.
Returns
Promise<DatabaseBlobAuditingPolicy>
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.
The options parameters.
Returns
Promise<DatabaseBlobAuditingPolicy>
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.
The options parameters.