Delen via


IntegrationServiceEnvironmentManagedApiCollection.GetIfExistsAsync Method

Definition

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Logic/integrationServiceEnvironments/{integrationServiceEnvironmentName}/managedApis/{apiName}
  • Operation Id: IntegrationServiceEnvironmentManagedApis_Get
  • Default Api Version: 2019-05-01
  • Resource: IntegrationServiceEnvironmentManagedApiResource
public virtual System.Threading.Tasks.Task<Azure.NullableResponse<Azure.ResourceManager.Logic.IntegrationServiceEnvironmentManagedApiResource>> GetIfExistsAsync (string apiName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetIfExistsAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.NullableResponse<Azure.ResourceManager.Logic.IntegrationServiceEnvironmentManagedApiResource>>
override this.GetIfExistsAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.NullableResponse<Azure.ResourceManager.Logic.IntegrationServiceEnvironmentManagedApiResource>>
Public Overridable Function GetIfExistsAsync (apiName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of NullableResponse(Of IntegrationServiceEnvironmentManagedApiResource))

Parameters

apiName
String

The api name.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

apiName is an empty string, and was expected to be non-empty.

apiName is null.

Applies to