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
callInvokerCallInvokerThe callInvoker to use to make remote calls.
SandboxUpdatesClient(ChannelBase)
Creates a new client for SandboxUpdates
public SandboxUpdatesClient(ChannelBase channel)
Parameters
channelChannelBaseThe channel to use to make remote calls.
SandboxUpdatesClient(ClientBaseConfiguration)
Protected constructor to allow creation of configured clients.
protected SandboxUpdatesClient(ClientBase.ClientBaseConfiguration configuration)
Parameters
configurationClientBase.ClientBaseConfigurationThe client configuration.
Methods
NewInstance(ClientBaseConfiguration)
Creates a new instance of client from given ClientBaseConfiguration.
protected override SandboxUpdates.SandboxUpdatesClient NewInstance(ClientBase.ClientBaseConfiguration configuration)
Parameters
configurationClientBase.ClientBaseConfiguration
Returns
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
requestUpdateSandboxRequestThe request to send to the server.
optionsCallOptionsThe 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
requestUpdateSandboxRequestThe request to send to the server.
headersMetadataThe initial metadata to send with the call. This parameter is optional.
deadlineDateTime?An optional deadline for the call. The call will be cancelled if deadline is hit.
cancellationTokenCancellationTokenAn 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
requestUpdateSandboxRequestThe request to send to the server.
optionsCallOptionsThe 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
requestUpdateSandboxRequestThe request to send to the server.
headersMetadataThe initial metadata to send with the call. This parameter is optional.
deadlineDateTime?An optional deadline for the call. The call will be cancelled if deadline is hit.
cancellationTokenCancellationTokenAn optional token for canceling the call.
Returns
- AsyncUnaryCall<SandboxResponse>
The call object.