SqlDatabaseResource.UpdateSensitivityLabel 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 Azure.Response UpdateSensitivityLabel (Azure.ResourceManager.Sql.Models.SensitivityLabelUpdateList sensitivityLabelUpdateList, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateSensitivityLabel : Azure.ResourceManager.Sql.Models.SensitivityLabelUpdateList * System.Threading.CancellationToken -> Azure.Response
override this.UpdateSensitivityLabel : Azure.ResourceManager.Sql.Models.SensitivityLabelUpdateList * System.Threading.CancellationToken -> Azure.Response
Public Overridable Function UpdateSensitivityLabel (sensitivityLabelUpdateList As SensitivityLabelUpdateList, Optional cancellationToken As CancellationToken = Nothing) As Response

Parameters

sensitivityLabelUpdateList
SensitivityLabelUpdateList

The SensitivityLabelUpdateList to use.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

sensitivityLabelUpdateList is null.

Applies to