Dela 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

public virtual Azure.Response<Azure.ResourceManager.Applications.Containers.ContainerAppResource> Get (string containerAppName, System.Threading.CancellationToken cancellationToken = default);
abstract member Get : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Applications.Containers.ContainerAppResource>
override this.Get : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Applications.Containers.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