Compartilhar via


ContainerAppJobDetectorPropertyCollection.GetIfExists Method

Definition

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/jobs/{jobName}/detectorProperties/{apiName}
  • Operation Id: Jobs_ProxyGet
  • Default Api Version: 2024-03-01
  • Resource: ContainerAppJobDetectorPropertyResource
public virtual Azure.NullableResponse<Azure.ResourceManager.AppContainers.ContainerAppJobDetectorPropertyResource> GetIfExists (string apiName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetIfExists : string * System.Threading.CancellationToken -> Azure.NullableResponse<Azure.ResourceManager.AppContainers.ContainerAppJobDetectorPropertyResource>
override this.GetIfExists : string * System.Threading.CancellationToken -> Azure.NullableResponse<Azure.ResourceManager.AppContainers.ContainerAppJobDetectorPropertyResource>
Public Overridable Function GetIfExists (apiName As String, Optional cancellationToken As CancellationToken = Nothing) As NullableResponse(Of ContainerAppJobDetectorPropertyResource)

Parameters

apiName
String

Proxy API Name for Container App Job.

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