ICertificateOperations.ListByBatchAccountWithHttpMessagesAsync(String, String, Nullable<Int32>, String, String, Dictionary<String,List<String>>, CancellationToken) Method

Definition

Lists all of the certificates in the specified account.

public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Batch.Models.Certificate>>> ListByBatchAccountWithHttpMessagesAsync (string resourceGroupName, string accountName, Nullable<int> maxresults = null, string select = null, string filter = null, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = null, System.Threading.CancellationToken cancellationToken = null);
abstract member ListByBatchAccountWithHttpMessagesAsync : string * string * Nullable<int> * string * string * 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.Certificate>>>

Parameters

resourceGroupName
System.String

The name of the resource group that contains the Batch account.

accountName
System.String

The name of the Batch account.

maxresults
System.Nullable<System.Int32>

The maximum number of items to return in the response.

select
System.String

Comma separated list of properties that should be returned. e.g. "properties/provisioningState". Only top level properties under properties/ are valid for selection.

filter
System.String

OData filter expression. Valid properties for filtering are "properties/provisioningState", "properties/provisioningStateTransitionTime", "name".

customHeaders
System.Collections.Generic.Dictionary<System.String,System.Collections.Generic.List<System.String>>

The headers that will be added to request.

cancellationToken
System.Threading.CancellationToken

The cancellation token.

Returns

System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Rest.Azure.IPage<Certificate>>>

Exceptions

Microsoft.Rest.Azure.CloudException

Thrown when the operation returned an invalid status code

Thrown when unable to deserialize the response

Thrown when a required parameter is null

Applies to