Skip to content

Commit

Permalink
Fixed for Key Vault Certificate Sample issue #20244 by lihong 2021052…
Browse files Browse the repository at this point in the history
…61725 (#21848)
  • Loading branch information
v-hongli1 authored Jul 6, 2021
1 parent 28bfd0e commit a58c77b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ public static void main(String[] args) throws InterruptedException, IllegalArgum
Map<String, String> tags = new HashMap<>();
tags.put("foo", "bar");

SyncPoller<CertificateOperation, KeyVaultCertificateWithPolicy> certificatePoller = certificateClient.beginCreateCertificate("certificateName92", policy, true, tags);
SyncPoller<CertificateOperation, KeyVaultCertificateWithPolicy> certificatePoller = certificateClient.beginCreateCertificate("certificateName", policy, true, tags);
certificatePoller.waitUntil(LongRunningOperationStatus.SUCCESSFULLY_COMPLETED);

KeyVaultCertificate cert = certificatePoller.getFinalResult();
Expand Down

0 comments on commit a58c77b

Please sign in to comment.