Udostępnij za pośrednictwem


IApplicationOperations.ListWithHttpMessagesAsync Method

Definition

Lists all of the applications available in the specified Account.

public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Batch.Protocol.Models.ApplicationSummary>,Microsoft.Azure.Batch.Protocol.Models.ApplicationListHeaders>> ListWithHttpMessagesAsync (Microsoft.Azure.Batch.Protocol.Models.ApplicationListOptions applicationListOptions = default, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member ListWithHttpMessagesAsync : Microsoft.Azure.Batch.Protocol.Models.ApplicationListOptions * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Batch.Protocol.Models.ApplicationSummary>, Microsoft.Azure.Batch.Protocol.Models.ApplicationListHeaders>>
Public Function ListWithHttpMessagesAsync (Optional applicationListOptions As ApplicationListOptions = Nothing, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AzureOperationResponse(Of IPage(Of ApplicationSummary), ApplicationListHeaders))

Parameters

applicationListOptions
ApplicationListOptions

Additional parameters for the operation

customHeaders
Dictionary<String,List<String>>

The headers that will be added to request.

cancellationToken
CancellationToken

The cancellation token.

Returns

Exceptions

Thrown when the operation returned an invalid status code

Thrown when unable to deserialize the response

Thrown when a required parameter is null

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