共用方式為


ManagedDatabaseResource.UpdateManagedDatabaseSensitivityLabelAsync Method

Definition

Update sensitivity labels of a given database using an operations batch.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/databases/{databaseName}/currentSensitivityLabels
  • Operation Id: ManagedDatabaseSensitivityLabels_Update
  • Default Api Version: 2020-11-01-preview
  • Resource: ManagedDatabaseSensitivityLabelResource
public virtual System.Threading.Tasks.Task<Azure.Response> UpdateManagedDatabaseSensitivityLabelAsync (Azure.ResourceManager.Sql.Models.SensitivityLabelUpdateList sensitivityLabelUpdateList, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateManagedDatabaseSensitivityLabelAsync : Azure.ResourceManager.Sql.Models.SensitivityLabelUpdateList * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response>
override this.UpdateManagedDatabaseSensitivityLabelAsync : Azure.ResourceManager.Sql.Models.SensitivityLabelUpdateList * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response>
Public Overridable Function UpdateManagedDatabaseSensitivityLabelAsync (sensitivityLabelUpdateList As SensitivityLabelUpdateList, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response)

Parameters

sensitivityLabelUpdateList
SensitivityLabelUpdateList

The SensitivityLabelUpdateList to use.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

sensitivityLabelUpdateList is null.

Applies to