SqlDatabaseResource.UpdateSensitivityLabelAsync Method

Definition

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

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/currentSensitivityLabels
  • Operation Id: SensitivityLabels_Update
  • Default Api Version: 2020-11-01-preview
  • Resource: SqlDatabaseSensitivityLabelResource
public virtual System.Threading.Tasks.Task<Azure.Response> UpdateSensitivityLabelAsync (Azure.ResourceManager.Sql.Models.SensitivityLabelUpdateList sensitivityLabelUpdateList, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateSensitivityLabelAsync : Azure.ResourceManager.Sql.Models.SensitivityLabelUpdateList * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response>
override this.UpdateSensitivityLabelAsync : Azure.ResourceManager.Sql.Models.SensitivityLabelUpdateList * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response>
Public Overridable Function UpdateSensitivityLabelAsync (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