Share via


ApiManagementIdentityProviderCollection.GetIfExistsAsync Method

Definition

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/identityProviders/{identityProviderName}
  • Operation Id: IdentityProvider_Get
  • Default Api Version: 2021-08-01
  • Resource: ApiManagementIdentityProviderResource
public virtual System.Threading.Tasks.Task<Azure.NullableResponse<Azure.ResourceManager.ApiManagement.ApiManagementIdentityProviderResource>> GetIfExistsAsync (Azure.ResourceManager.ApiManagement.Models.IdentityProviderType identityProviderName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetIfExistsAsync : Azure.ResourceManager.ApiManagement.Models.IdentityProviderType * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.NullableResponse<Azure.ResourceManager.ApiManagement.ApiManagementIdentityProviderResource>>
override this.GetIfExistsAsync : Azure.ResourceManager.ApiManagement.Models.IdentityProviderType * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.NullableResponse<Azure.ResourceManager.ApiManagement.ApiManagementIdentityProviderResource>>
Public Overridable Function GetIfExistsAsync (identityProviderName As IdentityProviderType, Optional cancellationToken As CancellationToken = Nothing) As Task(Of NullableResponse(Of ApiManagementIdentityProviderResource))

Parameters

identityProviderName
IdentityProviderType

Identity Provider Type identifier.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to