Table of Contents

Class SandboxUpdates.SandboxUpdatesClient

Namespace
Openshell.V1
Assembly
OpenShell.Sdk.dll

Client for SandboxUpdates

public class SandboxUpdates.SandboxUpdatesClient : ClientBase<SandboxUpdates.SandboxUpdatesClient>
Inheritance
SandboxUpdates.SandboxUpdatesClient
Inherited Members

Constructors

SandboxUpdatesClient()

Protected parameterless constructor to allow creation of test doubles.

protected SandboxUpdatesClient()

SandboxUpdatesClient(CallInvoker)

Creates a new client for SandboxUpdates that uses a custom CallInvoker.

public SandboxUpdatesClient(CallInvoker callInvoker)

Parameters

callInvoker CallInvoker

The callInvoker to use to make remote calls.

SandboxUpdatesClient(ChannelBase)

Creates a new client for SandboxUpdates

public SandboxUpdatesClient(ChannelBase channel)

Parameters

channel ChannelBase

The channel to use to make remote calls.

SandboxUpdatesClient(ClientBaseConfiguration)

Protected constructor to allow creation of configured clients.

protected SandboxUpdatesClient(ClientBase.ClientBaseConfiguration configuration)

Parameters

configuration ClientBase.ClientBaseConfiguration

The client configuration.

Methods

NewInstance(ClientBaseConfiguration)

Creates a new instance of client from given ClientBaseConfiguration.

protected override SandboxUpdates.SandboxUpdatesClient NewInstance(ClientBase.ClientBaseConfiguration configuration)

Parameters

configuration ClientBase.ClientBaseConfiguration

Returns

SandboxUpdates.SandboxUpdatesClient

UpdateSandbox(UpdateSandboxRequest, CallOptions)

Update the workload image, command, environment, labels, or annotations of a stopped sandbox while preserving its identity and retained storage. Requires compute-driver support for the selected changes and explicit gateway activation of sandbox updates.

public virtual SandboxResponse UpdateSandbox(UpdateSandboxRequest request, CallOptions options)

Parameters

request UpdateSandboxRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns

SandboxResponse

The response received from the server.

UpdateSandbox(UpdateSandboxRequest, Metadata, DateTime?, CancellationToken)

Update the workload image, command, environment, labels, or annotations of a stopped sandbox while preserving its identity and retained storage. Requires compute-driver support for the selected changes and explicit gateway activation of sandbox updates.

public virtual SandboxResponse UpdateSandbox(UpdateSandboxRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Parameters

request UpdateSandboxRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime?

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns

SandboxResponse

The response received from the server.

UpdateSandboxAsync(UpdateSandboxRequest, CallOptions)

Update the workload image, command, environment, labels, or annotations of a stopped sandbox while preserving its identity and retained storage. Requires compute-driver support for the selected changes and explicit gateway activation of sandbox updates.

public virtual AsyncUnaryCall<SandboxResponse> UpdateSandboxAsync(UpdateSandboxRequest request, CallOptions options)

Parameters

request UpdateSandboxRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns

AsyncUnaryCall<SandboxResponse>

The call object.

UpdateSandboxAsync(UpdateSandboxRequest, Metadata, DateTime?, CancellationToken)

Update the workload image, command, environment, labels, or annotations of a stopped sandbox while preserving its identity and retained storage. Requires compute-driver support for the selected changes and explicit gateway activation of sandbox updates.

public virtual AsyncUnaryCall<SandboxResponse> UpdateSandboxAsync(UpdateSandboxRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Parameters

request UpdateSandboxRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime?

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns

AsyncUnaryCall<SandboxResponse>

The call object.