コード例 #1
0
 /// <summary>
 /// This endpoint changes the primary gossip encryption key. The key must already be installed before this operation can succeed.
 /// </summary>
 /// <param name="addNewGossipEncryptionKeyParmeter">Add New Gossip Encryption Key Parmeter</param>
 /// <returns></returns>
 public async Task <(bool result, string backResult)> ChangePrimaryGossipEncryptionKey(AddNewGossipEncryptionKeyParmeter addNewGossipEncryptionKeyParmeter)
 {
     return(await Put <AddNewGossipEncryptionKeyParmeter, string>(addNewGossipEncryptionKeyParmeter, "	/operator/keyring"));
 }
コード例 #2
0
 /// <summary>
 /// This endpoint removes a gossip encryption key from the cluster. This operation may only be performed on keys which are not currently the primary key.
 /// </summary>
 /// <param name="addNewGossipEncryptionKeyParmeter">Add New Gossip Encryption Key Parmeter</param>
 /// <returns></returns>
 public async Task <(bool result, string backResult)> DeleteGossipEncryptionKey(AddNewGossipEncryptionKeyParmeter addNewGossipEncryptionKeyParmeter)
 {
     return(await Delete <AddNewGossipEncryptionKeyParmeter, string>(addNewGossipEncryptionKeyParmeter, "	/operator/keyring"));
 }
コード例 #3
0
 /// <summary>
 /// This endpoint installs a new gossip encryption key into the cluster.
 /// </summary>
 /// <param name="addNewGossipEncryptionKeyParmeter">Add New Gossip Encryption Key Parmeter</param>
 /// <returns></returns>
 public async Task <(bool result, ListGossipEncryptionKeysResult[] listGossipEncryptionKeysResults)> AddNewGossipEncryptionKey(AddNewGossipEncryptionKeyParmeter addNewGossipEncryptionKeyParmeter)
 {
     return(await Post <AddNewGossipEncryptionKeyParmeter, ListGossipEncryptionKeysResult[]>(addNewGossipEncryptionKeyParmeter, "/operator/keyring"));
 }