MockableAppContainersResourceGroupResource.GetContainerApp Method

Definition

Get the properties of a Container App.

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

Parameters

containerAppName
String

Name of the Container App.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

containerAppName is null.

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

Applies to