KeyVaultClientExtensions.SetCertificateContactsAsync 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 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.