Megosztás a következőn keresztül:


SynapseExtendedSqlPoolBlobAuditingPolicyResource.CreateOrUpdateAsync Method

Definition

Creates or updates an extended Sql pool's blob auditing policy.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/sqlPools/{sqlPoolName}/extendedAuditingSettings/{blobAuditingPolicyName}
  • Operation Id: ExtendedSqlPoolBlobAuditingPolicies_CreateOrUpdate
public virtual System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Synapse.SynapseExtendedSqlPoolBlobAuditingPolicyResource>> CreateOrUpdateAsync (Azure.WaitUntil waitUntil, Azure.ResourceManager.Synapse.SynapseExtendedSqlPoolBlobAuditingPolicyData data, System.Threading.CancellationToken cancellationToken = default);
abstract member CreateOrUpdateAsync : Azure.WaitUntil * Azure.ResourceManager.Synapse.SynapseExtendedSqlPoolBlobAuditingPolicyData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Synapse.SynapseExtendedSqlPoolBlobAuditingPolicyResource>>
override this.CreateOrUpdateAsync : Azure.WaitUntil * Azure.ResourceManager.Synapse.SynapseExtendedSqlPoolBlobAuditingPolicyData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Synapse.SynapseExtendedSqlPoolBlobAuditingPolicyResource>>
Public Overridable Function CreateOrUpdateAsync (waitUntil As WaitUntil, data As SynapseExtendedSqlPoolBlobAuditingPolicyData, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ArmOperation(Of SynapseExtendedSqlPoolBlobAuditingPolicyResource))

Parameters

waitUntil
WaitUntil

Completed if the method should wait to return until the long-running operation has completed on the service; Started if it should return after starting the operation. For more information on long-running operations, please see Azure.Core Long-Running Operation samples.

data
SynapseExtendedSqlPoolBlobAuditingPolicyData

The extended Sql pool blob auditing policy.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

data is null.

Applies to