BlobAuditingOperationsExtensions.CreateOrUpdateDatabasePolicy Method

Definition

Creates or updates an Azure SQL Database blob auditing policy.

public static Microsoft.Azure.AzureOperationResponse CreateOrUpdateDatabasePolicy (this Microsoft.Azure.Management.Sql.LegacySdk.IBlobAuditingOperations operations, string resourceGroupName, string serverName, string databaseName, Microsoft.Azure.Management.Sql.LegacySdk.Models.BlobAuditingCreateOrUpdateParameters parameters);
static member CreateOrUpdateDatabasePolicy : Microsoft.Azure.Management.Sql.LegacySdk.IBlobAuditingOperations * string * string * string * Microsoft.Azure.Management.Sql.LegacySdk.Models.BlobAuditingCreateOrUpdateParameters -> Microsoft.Azure.AzureOperationResponse
<Extension()>
Public Function CreateOrUpdateDatabasePolicy (operations As IBlobAuditingOperations, resourceGroupName As String, serverName As String, databaseName As String, parameters As BlobAuditingCreateOrUpdateParameters) As AzureOperationResponse

Parameters

operations
IBlobAuditingOperations

Reference to the Microsoft.Azure.Management.Sql.LegacySdk.IBlobAuditingOperations.

resourceGroupName
String

Required. The name of the Resource Group to which the server belongs.

serverName
String

Required. The name of the Azure SQL Database Server on which the database is hosted.

databaseName
String

Required. The name of the Azure SQL Database for which the auditing policy applies.

parameters
BlobAuditingCreateOrUpdateParameters

Required. The required parameters for createing or updating a Azure SQL Database auditing policy.

Returns

Microsoft.Azure.AzureOperationResponse

A standard service response including an HTTP status code and request ID.

Applies to