CertificateClient.GetPropertiesOfCertificateVersions Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Lists the properties of all enabled and disabled versions of the specified certificate in the specified vault. You can use the returned Name in subsequent calls to GetCertificateVersion(String, String, CancellationToken). This operation requires the certificates/list permission.
public virtual Azure.Pageable<Azure.Security.KeyVault.Certificates.CertificateProperties> GetPropertiesOfCertificateVersions (string certificateName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetPropertiesOfCertificateVersions : string * System.Threading.CancellationToken -> Azure.Pageable<Azure.Security.KeyVault.Certificates.CertificateProperties>
override this.GetPropertiesOfCertificateVersions : string * System.Threading.CancellationToken -> Azure.Pageable<Azure.Security.KeyVault.Certificates.CertificateProperties>
Public Overridable Function GetPropertiesOfCertificateVersions (certificateName As String, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of CertificateProperties)
Parameters
- certificateName
- String
The name of the certificate whose versions should be retrieved.
- cancellationToken
- CancellationToken
A CancellationToken controlling the request lifetime.
Returns
An enumerable collection of the certificate's versions.
Exceptions
certificateName
is empty.
certificateName
is null.
Applies to
Azure SDK for .NET