示例#1
0
 /// <summary>
 /// Creates a new key pair.
 /// </summary>
 /// <param name="request">The key pair request.</param>
 /// <param name="cancellationToken">A cancellation token that can be used by other objects or threads to receive notice of cancellation.</param>
 /// <returns>The response includes the generated private key.</returns>
 public virtual Task <KeyPairResponse> CreateKeyPairAsync(KeyPairRequest request, CancellationToken cancellationToken = default(CancellationToken))
 {
     return(_computeApi.CreateKeyPairAsync <KeyPairResponse>(request, cancellationToken));
 }