BlobAuditingOperationsExtensions.CreateOrUpdateServerPolicyAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates or updates an Azure SQL Database Server blob auditing policy.
public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Sql.LegacySdk.Models.ServerBlobAuditingResponse> CreateOrUpdateServerPolicyAsync (this Microsoft.Azure.Management.Sql.LegacySdk.IBlobAuditingOperations operations, string resourceGroupName, string serverName, Microsoft.Azure.Management.Sql.LegacySdk.Models.BlobAuditingCreateOrUpdateParameters parameters);
static member CreateOrUpdateServerPolicyAsync : Microsoft.Azure.Management.Sql.LegacySdk.IBlobAuditingOperations * string * string * Microsoft.Azure.Management.Sql.LegacySdk.Models.BlobAuditingCreateOrUpdateParameters -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Sql.LegacySdk.Models.ServerBlobAuditingResponse>
<Extension()>
Public Function CreateOrUpdateServerPolicyAsync (operations As IBlobAuditingOperations, resourceGroupName As String, serverName As String, parameters As BlobAuditingCreateOrUpdateParameters) As Task(Of ServerBlobAuditingResponse)
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.
- parameters
- BlobAuditingCreateOrUpdateParameters
Required. The required parameters for createing or updating a Azure SQL Database Server blob auditing policy.
Returns
Response Azure Sql Server blob auditing operation.