Dela via


ApplicationsOperationsExtensions.GetAsync Method

Definition

Gets a Service Fabric application resource.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.ServiceFabric.Models.ApplicationResource> GetAsync (this Microsoft.Azure.Management.ServiceFabric.IApplicationsOperations operations, string resourceGroupName, string clusterName, string applicationName, System.Threading.CancellationToken cancellationToken = default);
static member GetAsync : Microsoft.Azure.Management.ServiceFabric.IApplicationsOperations * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.ServiceFabric.Models.ApplicationResource>
<Extension()>
Public Function GetAsync (operations As IApplicationsOperations, resourceGroupName As String, clusterName As String, applicationName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ApplicationResource)

Parameters

operations
IApplicationsOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group.

clusterName
String

The name of the cluster resource.

applicationName
String

The name of the application resource.

cancellationToken
CancellationToken

The cancellation token.

Returns

Remarks

Get a Service Fabric application resource created or in the process of being created in the Service Fabric cluster resource.

Applies to