CertificateOperations.ListCertificates Method

Definition

Caution

This operation is deprecated and will be removed after February, 2024. Please use the Azure KeyVault Extension instead.

Warning: This operation is deprecated and will be removed after February, 2024. Please use the Azure KeyVault Extension instead. Enumerates the certificates in the Batch account.

[System.Obsolete("This operation is deprecated and will be removed after February, 2024. Please use the Azure KeyVault Extension instead.", false)]
public Microsoft.Azure.Batch.IPagedEnumerable<Microsoft.Azure.Batch.Certificate> ListCertificates (Microsoft.Azure.Batch.DetailLevel detailLevel = default, System.Collections.Generic.IEnumerable<Microsoft.Azure.Batch.BatchClientBehavior> additionalBehaviors = default);
[<System.Obsolete("This operation is deprecated and will be removed after February, 2024. Please use the Azure KeyVault Extension instead.", false)>]
member this.ListCertificates : Microsoft.Azure.Batch.DetailLevel * seq<Microsoft.Azure.Batch.BatchClientBehavior> -> Microsoft.Azure.Batch.IPagedEnumerable<Microsoft.Azure.Batch.Certificate>
Public Function ListCertificates (Optional detailLevel As DetailLevel = Nothing, Optional additionalBehaviors As IEnumerable(Of BatchClientBehavior) = Nothing) As IPagedEnumerable(Of Certificate)

Parameters

detailLevel
DetailLevel

A DetailLevel used for filtering the list and for controlling which properties are retrieved from the service.

additionalBehaviors
IEnumerable<BatchClientBehavior>

A collection of BatchClientBehavior instances that are applied to the Batch service request after the CustomBehaviors and detailLevel.

Returns

An IPagedEnumerable<T> that can be used to enumerate certificates asynchronously or synchronously.

Attributes

Remarks

This method returns immediately; the certificates are retrieved from the Batch service only when the collection is enumerated. Retrieval is non-atomic; certificates are retrieved in pages during enumeration of the collection.

Applies to