ContainerAppsRevisionFunctionCollection.GetIfExists Method

Definition

Tries to get details for this resource from the service.

  • Request Path. : /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/containerApps/{containerAppName}/revisions/{revisionName}/functions/{functionName}.
  • Operation Id. : ContainerAppsFunctions_Get.
  • Default Api Version. : 2025-10-02-preview.
public virtual Azure.NullableResponse<Azure.ResourceManager.AppContainers.ContainerAppsRevisionFunctionResource> GetIfExists(string functionName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetIfExists : string * System.Threading.CancellationToken -> Azure.NullableResponse<Azure.ResourceManager.AppContainers.ContainerAppsRevisionFunctionResource>
override this.GetIfExists : string * System.Threading.CancellationToken -> Azure.NullableResponse<Azure.ResourceManager.AppContainers.ContainerAppsRevisionFunctionResource>
Public Overridable Function GetIfExists (functionName As String, Optional cancellationToken As CancellationToken = Nothing) As NullableResponse(Of ContainerAppsRevisionFunctionResource)

Parameters

functionName
String

Name of the Function.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

functionName is null.

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

Applies to