Delen via


SqlDatabaseResource.UpdateRecommendedSensitivityLabel Method

Definition

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

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/recommendedSensitivityLabels
  • Operation Id: SensitivityLabels_UpdateRecommended
  • Default Api Version: 2020-11-01-preview
  • Resource: SqlDatabaseSensitivityLabelResource
public virtual Azure.Response UpdateRecommendedSensitivityLabel (Azure.ResourceManager.Sql.Models.RecommendedSensitivityLabelUpdateList recommendedSensitivityLabelUpdateList, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateRecommendedSensitivityLabel : Azure.ResourceManager.Sql.Models.RecommendedSensitivityLabelUpdateList * System.Threading.CancellationToken -> Azure.Response
override this.UpdateRecommendedSensitivityLabel : Azure.ResourceManager.Sql.Models.RecommendedSensitivityLabelUpdateList * System.Threading.CancellationToken -> Azure.Response
Public Overridable Function UpdateRecommendedSensitivityLabel (recommendedSensitivityLabelUpdateList As RecommendedSensitivityLabelUpdateList, Optional cancellationToken As CancellationToken = Nothing) As Response

Parameters

recommendedSensitivityLabelUpdateList
RecommendedSensitivityLabelUpdateList

The RecommendedSensitivityLabelUpdateList to use.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

recommendedSensitivityLabelUpdateList is null.

Applies to