Share via


SynapseSensitivityLabelCollection.GetIfExistsAsync Method

Definition

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/sqlPools/{sqlPoolName}/schemas/{schemaName}/tables/{tableName}/columns/{columnName}/sensitivityLabels/{sensitivityLabelSource}
  • Operation Id: SqlPoolSensitivityLabels_Get
public virtual System.Threading.Tasks.Task<Azure.NullableResponse<Azure.ResourceManager.Synapse.SynapseSensitivityLabelResource>> GetIfExistsAsync (Azure.ResourceManager.Synapse.Models.SynapseSensitivityLabelSource sensitivityLabelSource, System.Threading.CancellationToken cancellationToken = default);
abstract member GetIfExistsAsync : Azure.ResourceManager.Synapse.Models.SynapseSensitivityLabelSource * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.NullableResponse<Azure.ResourceManager.Synapse.SynapseSensitivityLabelResource>>
override this.GetIfExistsAsync : Azure.ResourceManager.Synapse.Models.SynapseSensitivityLabelSource * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.NullableResponse<Azure.ResourceManager.Synapse.SynapseSensitivityLabelResource>>
Public Overridable Function GetIfExistsAsync (sensitivityLabelSource As SynapseSensitivityLabelSource, Optional cancellationToken As CancellationToken = Nothing) As Task(Of NullableResponse(Of SynapseSensitivityLabelResource))

Parameters

sensitivityLabelSource
SynapseSensitivityLabelSource

The source of the sensitivity label.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to