From a58c77b646339f95964552d91a3e46086c166971 Mon Sep 17 00:00:00 2001 From: "Hong Li(MSFT)" <74638143+hongli750210@users.noreply.github.com> Date: Wed, 7 Jul 2021 03:45:51 +0800 Subject: [PATCH] Fixed for Key Vault Certificate Sample issue #20244 by lihong 202105261725 (#21848) --- .../com/azure/security/keyvault/certificates/HelloWorld.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdk/keyvault/azure-security-keyvault-certificates/src/samples/java/com/azure/security/keyvault/certificates/HelloWorld.java b/sdk/keyvault/azure-security-keyvault-certificates/src/samples/java/com/azure/security/keyvault/certificates/HelloWorld.java index 185642f7774ac..1d32bbfe452bb 100644 --- a/sdk/keyvault/azure-security-keyvault-certificates/src/samples/java/com/azure/security/keyvault/certificates/HelloWorld.java +++ b/sdk/keyvault/azure-security-keyvault-certificates/src/samples/java/com/azure/security/keyvault/certificates/HelloWorld.java @@ -54,7 +54,7 @@ public static void main(String[] args) throws InterruptedException, IllegalArgum Map tags = new HashMap<>(); tags.put("foo", "bar"); - SyncPoller certificatePoller = certificateClient.beginCreateCertificate("certificateName92", policy, true, tags); + SyncPoller certificatePoller = certificateClient.beginCreateCertificate("certificateName", policy, true, tags); certificatePoller.waitUntil(LongRunningOperationStatus.SUCCESSFULLY_COMPLETED); KeyVaultCertificate cert = certificatePoller.getFinalResult();