CertificateClient.SetContactsAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sets the certificate CertificateContacts for the key vault, replacing any existing contacts. This operation requires the certificates/managecontacts permission.
public virtual System.Threading.Tasks.Task<Azure.Response<System.Collections.Generic.IList<Azure.Security.KeyVault.Certificates.CertificateContact>>> SetContactsAsync (System.Collections.Generic.IEnumerable<Azure.Security.KeyVault.Certificates.CertificateContact> contacts, System.Threading.CancellationToken cancellationToken = default);
abstract member SetContactsAsync : seq<Azure.Security.KeyVault.Certificates.CertificateContact> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<System.Collections.Generic.IList<Azure.Security.KeyVault.Certificates.CertificateContact>>>
override this.SetContactsAsync : seq<Azure.Security.KeyVault.Certificates.CertificateContact> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<System.Collections.Generic.IList<Azure.Security.KeyVault.Certificates.CertificateContact>>>
Public Overridable Function SetContactsAsync (contacts As IEnumerable(Of CertificateContact), Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of IList(Of CertificateContact)))
Parameters
- contacts
- IEnumerable<CertificateContact>
The certificate contacts for the vault.
- cancellationToken
- CancellationToken
A CancellationToken controlling the request lifetime.
Returns
The updated certificate contacts of the vault.
Exceptions
contacts
is null.
Applies to
GitHub'da bizimle işbirliği yapın
Bu içeriğin kaynağı GitHub'da bulunabilir; burada ayrıca sorunları ve çekme isteklerini oluşturup gözden geçirebilirsiniz. Daha fazla bilgi için katkıda bulunan kılavuzumuzu inceleyin.
Azure SDK for .NET