Compartir a través de


CertificateClient.SetContacts Método

Definición

Establece los certificados CertificateContactdel almacén de claves, reemplazando los contactos existentes. Esta operación requiere el permiso certificates/managecontacts.

public virtual Azure.Response<System.Collections.Generic.IList<Azure.Security.KeyVault.Certificates.CertificateContact>> SetContacts (System.Collections.Generic.IEnumerable<Azure.Security.KeyVault.Certificates.CertificateContact> contacts, System.Threading.CancellationToken cancellationToken = default);
abstract member SetContacts : seq<Azure.Security.KeyVault.Certificates.CertificateContact> * System.Threading.CancellationToken -> Azure.Response<System.Collections.Generic.IList<Azure.Security.KeyVault.Certificates.CertificateContact>>
override this.SetContacts : seq<Azure.Security.KeyVault.Certificates.CertificateContact> * System.Threading.CancellationToken -> Azure.Response<System.Collections.Generic.IList<Azure.Security.KeyVault.Certificates.CertificateContact>>
Public Overridable Function SetContacts (contacts As IEnumerable(Of CertificateContact), Optional cancellationToken As CancellationToken = Nothing) As Response(Of IList(Of CertificateContact))

Parámetros

contacts
IEnumerable<CertificateContact>

Contactos de certificado para el almacén.

cancellationToken
CancellationToken

Control CancellationToken de la duración de la solicitud.

Devoluciones

Los contactos de certificado actualizados del almacén.

Excepciones

contacts es null.

Se aplica a