IBlobAuditingOperations.CreateOrUpdateServerPolicyAsync Method

Definition

Creates or updates an Azure SQL Database Server blob auditing policy.

public System.Threading.Tasks.Task<Microsoft.Azure.Management.Sql.LegacySdk.Models.ServerBlobAuditingResponse> CreateOrUpdateServerPolicyAsync (string resourceGroupName, string serverName, Microsoft.Azure.Management.Sql.LegacySdk.Models.BlobAuditingCreateOrUpdateParameters parameters, System.Threading.CancellationToken cancellationToken);
abstract member CreateOrUpdateServerPolicyAsync : string * string * Microsoft.Azure.Management.Sql.LegacySdk.Models.BlobAuditingCreateOrUpdateParameters * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Sql.LegacySdk.Models.ServerBlobAuditingResponse>
Public Function CreateOrUpdateServerPolicyAsync (resourceGroupName As String, serverName As String, parameters As BlobAuditingCreateOrUpdateParameters, cancellationToken As CancellationToken) As Task(Of ServerBlobAuditingResponse)

Parameters

resourceGroupName
String

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

serverName
String

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

parameters
BlobAuditingCreateOrUpdateParameters

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

cancellationToken
CancellationToken

Cancellation token.

Returns

Response Azure Sql Server blob auditing operation.

Applies to