Esempio n. 1
0
 /// <summary />
 public virtual Task <KeyPair> ImportKeyPairAsync(KeyPairDefinition keypair, CancellationToken cancellationToken = default(CancellationToken))
 {
     return(_computeApi.CreateKeyPairAsync <KeyPair>(keypair, cancellationToken));
 }
 /// <inheritdoc cref="OpenStack.Compute.v2_1.ComputeService.ImportKeyPairAsync" />
 public static KeyPair ImportKeyPair(this ComputeService service, KeyPairDefinition keypair)
 {
     return service.ImportKeyPairAsync(keypair).ForceSynchronous();
 }