Share via


ContainerAppCollection.Get(String, CancellationToken) 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> Get (string containerAppName, System.Threading.CancellationToken cancellationToken = default);
abstract member Get : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.AppContainers.ContainerAppResource>
override this.Get : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.AppContainers.ContainerAppResource>
Public Overridable Function Get (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 an empty string, and was expected to be non-empty.

containerAppName is null.

Applies to