Condividi tramite


IApplicationOperations.ListWithHttpMessagesAsync Metodo

Definizione

Elenca tutte le applicazioni nell'account specificato.

public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Batch.Models.Application>>> ListWithHttpMessagesAsync(string resourceGroupName, string accountName, int? maxresults = default, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member ListWithHttpMessagesAsync : string * string * Nullable<int> * 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.Management.Batch.Models.Application>>>
Public Function ListWithHttpMessagesAsync (resourceGroupName As String, accountName As String, Optional maxresults As Nullable(Of Integer) = Nothing, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AzureOperationResponse(Of IPage(Of Application)))

Parametri

resourceGroupName
String

Nome del gruppo di risorse che contiene l'account Batch.

accountName
String

Nome dell'account Batch.

maxresults
Nullable<Int32>

Numero massimo di elementi da restituire nella risposta.

customHeaders
Dictionary<String,List<String>>

Intestazioni che verranno aggiunte alla richiesta.

cancellationToken
CancellationToken

Token di annullamento.

Restituisce

Eccezioni

Generata quando l'operazione ha restituito un codice di stato non valido

Generata quando non è possibile deserializzare la risposta

Generata quando un parametro obbligatorio è Null

Si applica a