Udostępnij za pośrednictwem


ApplicationOperationsExtensions.GetAsync Method

Definition

Gets information about the specified Application.

public static System.Threading.Tasks.Task<Microsoft.Azure.Batch.Protocol.Models.ApplicationSummary> GetAsync (this Microsoft.Azure.Batch.Protocol.IApplicationOperations operations, string applicationId, Microsoft.Azure.Batch.Protocol.Models.ApplicationGetOptions applicationGetOptions = default, System.Threading.CancellationToken cancellationToken = default);
static member GetAsync : Microsoft.Azure.Batch.Protocol.IApplicationOperations * string * Microsoft.Azure.Batch.Protocol.Models.ApplicationGetOptions * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Batch.Protocol.Models.ApplicationSummary>
<Extension()>
Public Function GetAsync (operations As IApplicationOperations, applicationId As String, Optional applicationGetOptions As ApplicationGetOptions = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ApplicationSummary)

Parameters

operations
IApplicationOperations

The operations group for this extension method.

applicationId
String

The ID of the Application.

applicationGetOptions
ApplicationGetOptions

Additional parameters for the operation

cancellationToken
CancellationToken

The cancellation token.

Returns

Remarks

This operation returns only Applications and versions that are available for use on Compute Nodes; that is, that can be used in an Package reference. For administrator information about Applications and versions that are not yet available to Compute Nodes, use the Azure portal or the Azure Resource Manager API.

Applies to