/// <inheritdoc cref="ComputeApi.RebootServerAsync{TRequest}" />
 public Task RebootServerAsync(Identifier serverId, RebootServerRequest request = null, CancellationToken cancellationToken = default(CancellationToken))
 {
     return(_computeApi.RebootServerAsync(serverId, request, cancellationToken));
 }
 /// <inheritdoc cref="ServerReference.RebootAsync"/>
 public static void Reboot(this ServerReference server, RebootServerRequest request = null)
 {
     server.RebootAsync(request).ForceSynchronous();
 }
 /// <inheritdoc cref="ComputeApi.RebootServerAsync{T}" />
 /// <exception cref="InvalidOperationException">When this instance was not constructed by the <see cref="ComputeService"/>, as it is missing the appropriate internal state to execute service calls.</exception>
 public async Task RebootAsync(RebootServerRequest request = null, CancellationToken cancellationToken = default(CancellationToken))
 {
     var compute = this.GetOwnerOrThrow<ComputeApi>();
     await compute.RebootServerAsync(Id, request, cancellationToken).ConfigureAwait(false);
 }
 /// <inheritdoc cref="ComputeApi.RebootServerAsync{T}" />
 /// <exception cref="InvalidOperationException">When this instance was not constructed by the <see cref="ComputeService"/>, as it is missing the appropriate internal state to execute service calls.</exception>
 public async Task RebootAsync(RebootServerRequest request = null, CancellationToken cancellationToken = default(CancellationToken))
 {
     var compute = this.GetOwnerOrThrow <ComputeApi>();
     await compute.RebootServerAsync(Id, request, cancellationToken).ConfigureAwait(false);
 }
 /// <inheritdoc cref="ComputeService.RebootServerAsync" />
 public static void RebootServer(this ComputeService service, Identifier serverId, RebootServerRequest request = null)
 {
     service.RebootServerAsync(serverId, request).ForceSynchronous();
 }