/// <inheritdoc cref="ComputeService.ImportKeyPairAsync" />
 public static KeyPairSummary ImportKeyPair(this ComputeService service, KeyPairDefinition keyPair)
 {
     return(service.ImportKeyPairAsync(keyPair).ForceSynchronous());
 }
Ejemplo n.º 2
0
 /// <summary />
 public virtual Task<KeyPair> ImportKeyPairAsync(KeyPairDefinition keypair, CancellationToken cancellationToken = default(CancellationToken))
 {
     return _computeApi.CreateKeyPairAsync<KeyPair>(keypair, cancellationToken);
 }