你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

CertificateOperations.ListCertificates 方法

定义

注意

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

警告:此操作已弃用,将在 2024 年 2 月之后删除。 请改用 Azure KeyVault 扩展 。 枚举 Batch 帐户中的 证书

[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)

参数

detailLevel
DetailLevel

用于 DetailLevel 筛选列表和控制从服务检索哪些属性的 。

additionalBehaviors
IEnumerable<BatchClientBehavior>

在 和 detailLevel之后应用于 Batch 服务请求的CustomBehaviors实例集合BatchClientBehavior

返回

IPagedEnumerable<T>可用于异步或同步枚举证书的 。

属性

注解

此方法会立即返回;仅当枚举集合时,才会从 Batch 服务检索证书。 检索是非原子的;在枚举集合期间,在页中检索证书。

适用于