Share via


SynapseAadOnlyAuthenticationCollection.GetIfExistsAsync Method

Definition

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/azureADOnlyAuthentications/{azureADOnlyAuthenticationName}
  • Operation Id: AzureADOnlyAuthentications_Get
public virtual System.Threading.Tasks.Task<Azure.NullableResponse<Azure.ResourceManager.Synapse.SynapseAadOnlyAuthenticationResource>> GetIfExistsAsync (Azure.ResourceManager.Synapse.Models.SynapseAadOnlyAuthenticationName azureADOnlyAuthenticationName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetIfExistsAsync : Azure.ResourceManager.Synapse.Models.SynapseAadOnlyAuthenticationName * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.NullableResponse<Azure.ResourceManager.Synapse.SynapseAadOnlyAuthenticationResource>>
override this.GetIfExistsAsync : Azure.ResourceManager.Synapse.Models.SynapseAadOnlyAuthenticationName * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.NullableResponse<Azure.ResourceManager.Synapse.SynapseAadOnlyAuthenticationResource>>
Public Overridable Function GetIfExistsAsync (azureADOnlyAuthenticationName As SynapseAadOnlyAuthenticationName, Optional cancellationToken As CancellationToken = Nothing) As Task(Of NullableResponse(Of SynapseAadOnlyAuthenticationResource))

Parameters

azureADOnlyAuthenticationName
SynapseAadOnlyAuthenticationName

name of the property.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to