CertificateClient.GetCertificatePolicy(String, CancellationToken) 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.
Retrieves the CertificatePolicy of the specified certificate. This operation requires the certificate/get permission.
public virtual Azure.Response<Azure.Security.KeyVault.Certificates.CertificatePolicy> GetCertificatePolicy (string certificateName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetCertificatePolicy : string * System.Threading.CancellationToken -> Azure.Response<Azure.Security.KeyVault.Certificates.CertificatePolicy>
override this.GetCertificatePolicy : string * System.Threading.CancellationToken -> Azure.Response<Azure.Security.KeyVault.Certificates.CertificatePolicy>
Public Overridable Function GetCertificatePolicy (certificateName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of CertificatePolicy)
Parameters
- certificateName
- String
The name of the certificate whose policy should be retrieved.
- cancellationToken
- CancellationToken
A CancellationToken controlling the request lifetime.
Returns
The CertificatePolicy of the specified certificate.
Exceptions
certificateName
is empty.
certificateName
is null.
Applies to
GitHub'da bizimle işbirliği yapın
Bu içeriğin kaynağı GitHub'da bulunabilir; burada ayrıca sorunları ve çekme isteklerini oluşturup gözden geçirebilirsiniz. Daha fazla bilgi için katkıda bulunan kılavuzumuzu inceleyin.
Azure SDK for .NET