Share via


IntegrationServiceEnvironmentManagedApiCollection.GetIfExists 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 Azure.NullableResponse<Azure.ResourceManager.Logic.IntegrationServiceEnvironmentManagedApiResource> GetIfExists (string apiName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetIfExists : string * System.Threading.CancellationToken -> Azure.NullableResponse<Azure.ResourceManager.Logic.IntegrationServiceEnvironmentManagedApiResource>
override this.GetIfExists : string * System.Threading.CancellationToken -> Azure.NullableResponse<Azure.ResourceManager.Logic.IntegrationServiceEnvironmentManagedApiResource>
Public Overridable Function GetIfExists (apiName As String, Optional cancellationToken As CancellationToken = Nothing) As 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