共用方式為


KeyVaultClientExtensions.SetCertificateContactsAsync Method

Definition

Sets the certificate contacts for the specified key vault.

public static System.Threading.Tasks.Task<Microsoft.Azure.KeyVault.Models.Contacts> SetCertificateContactsAsync (this Microsoft.Azure.KeyVault.IKeyVaultClient operations, string vaultBaseUrl, Microsoft.Azure.KeyVault.Models.Contacts contacts, System.Threading.CancellationToken cancellationToken = default);
static member SetCertificateContactsAsync : Microsoft.Azure.KeyVault.IKeyVaultClient * string * Microsoft.Azure.KeyVault.Models.Contacts * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.KeyVault.Models.Contacts>
<Extension()>
Public Function SetCertificateContactsAsync (operations As IKeyVaultClient, vaultBaseUrl As String, contacts As Contacts, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Contacts)

Parameters

operations
IKeyVaultClient

The operations group for this extension method.

vaultBaseUrl
String

The vault name, for example https://myvault.vault.azure.net.

contacts
Contacts

The contacts for the key vault certificate.

cancellationToken
CancellationToken

The cancellation token.

Returns

Remarks

Sets the certificate contacts for the specified key vault. This operation requires the certificates/managecontacts permission.

Applies to