KeyVaultClient.getCertificatePolicyAsync(String vaultBaseUrl, String certificateName, final ServiceCallback<CertificatePolicy> serviceCallback) 方法

定义

Gets the policy for a certificate.

public ServiceFuture<CertificatePolicy> getCertificatePolicyAsync(String vaultBaseUrl, String certificateName, final ServiceCallback<CertificatePolicy> serviceCallback)

参数

vaultBaseUrl
String

The vault name, e.g. https://myvault.vault.azure.net

certificateName
String

The name of the certificate in the given vault.

serviceCallback
final ServiceCallback<CertificatePolicy>

the async ServiceCallback to handle successful and failed responses.

返回

ServiceFuture<CertificatePolicy>

the ServiceFuture object

适用于