Share via


ResourcesExtensions.GetArmApplicationAsync Method

Definition

Gets the managed application.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Solutions/applications/{applicationName}
  • Operation Id: Applications_Get
  • Default Api Version: 2019-07-01
  • Resource: ArmApplicationResource
public static System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Resources.ArmApplicationResource>> GetArmApplicationAsync (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource, string applicationName, System.Threading.CancellationToken cancellationToken = default);
static member GetArmApplicationAsync : Azure.ResourceManager.Resources.ResourceGroupResource * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Resources.ArmApplicationResource>>
<Extension()>
Public Function GetArmApplicationAsync (resourceGroupResource As ResourceGroupResource, applicationName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of ArmApplicationResource))

Parameters

resourceGroupResource
ResourceGroupResource

The ResourceGroupResource instance the method will execute against.

applicationName
String

The name of the managed application.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

resourceGroupResource or applicationName is null.

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

Applies to