Share via


ApiManagementIdentityProviderCollection.GetIfExists 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: 2023-03-01-preview
  • Resource: ApiManagementIdentityProviderResource
public virtual Azure.NullableResponse<Azure.ResourceManager.ApiManagement.ApiManagementIdentityProviderResource> GetIfExists (Azure.ResourceManager.ApiManagement.Models.IdentityProviderType identityProviderName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetIfExists : Azure.ResourceManager.ApiManagement.Models.IdentityProviderType * System.Threading.CancellationToken -> Azure.NullableResponse<Azure.ResourceManager.ApiManagement.ApiManagementIdentityProviderResource>
override this.GetIfExists : Azure.ResourceManager.ApiManagement.Models.IdentityProviderType * System.Threading.CancellationToken -> Azure.NullableResponse<Azure.ResourceManager.ApiManagement.ApiManagementIdentityProviderResource>
Public Overridable Function GetIfExists (identityProviderName As IdentityProviderType, Optional cancellationToken As CancellationToken = Nothing) As NullableResponse(Of ApiManagementIdentityProviderResource)

Parameters

identityProviderName
IdentityProviderType

Identity Provider Type identifier.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to