Bare Metal Solution v2 API - Class BareMetalSolution.BareMetalSolutionClient (1.5.0)

public class BareMetalSolution.BareMetalSolutionClient : ClientBase<BareMetalSolution.BareMetalSolutionClient>

Reference documentation and code samples for the Bare Metal Solution v2 API class BareMetalSolution.BareMetalSolutionClient.

Client for BareMetalSolution

Inheritance

object > ClientBase > ClientBaseBareMetalSolutionBareMetalSolutionClient > BareMetalSolution.BareMetalSolutionClient

Namespace

Google.Cloud.BareMetalSolution.V2

Assembly

Google.Cloud.BareMetalSolution.V2.dll

Constructors

BareMetalSolutionClient()

protected BareMetalSolutionClient()

Protected parameterless constructor to allow creation of test doubles.

BareMetalSolutionClient(CallInvoker)

public BareMetalSolutionClient(CallInvoker callInvoker)

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

Parameter
Name Description
callInvoker CallInvoker

The callInvoker to use to make remote calls.

BareMetalSolutionClient(ChannelBase)

public BareMetalSolutionClient(ChannelBase channel)

Creates a new client for BareMetalSolution

Parameter
Name Description
channel ChannelBase

The channel to use to make remote calls.

BareMetalSolutionClient(ClientBaseConfiguration)

protected BareMetalSolutionClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
Name Description
configuration ClientBaseClientBaseConfiguration

The client configuration.

Methods

CreateIAMPolicyClient()

public virtual IAMPolicy.IAMPolicyClient CreateIAMPolicyClient()

Creates a new instance of IAMPolicy.IAMPolicyClient using the same call invoker as this client.

Returns
Type Description
IAMPolicyIAMPolicyClient

A new IAMPolicy.IAMPolicyClient for the same target as this client.

CreateLocationsClient()

public virtual Locations.LocationsClient CreateLocationsClient()

Creates a new instance of Locations.LocationsClient using the same call invoker as this client.

Returns
Type Description
LocationsLocationsClient

A new Locations.LocationsClient for the same target as this client.

CreateNfsShare(CreateNfsShareRequest, CallOptions)

public virtual Operation CreateNfsShare(CreateNfsShareRequest request, CallOptions options)

Create an NFS share.

Parameters
Name Description
request CreateNfsShareRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
Operation

The response received from the server.

CreateNfsShare(CreateNfsShareRequest, Metadata, DateTime?, CancellationToken)

public virtual Operation CreateNfsShare(CreateNfsShareRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Create an NFS share.

Parameters
Name Description
request CreateNfsShareRequest

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
Type Description
Operation

The response received from the server.

CreateNfsShareAsync(CreateNfsShareRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> CreateNfsShareAsync(CreateNfsShareRequest request, CallOptions options)

Create an NFS share.

Parameters
Name Description
request CreateNfsShareRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallOperation

The call object.

CreateNfsShareAsync(CreateNfsShareRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Operation> CreateNfsShareAsync(CreateNfsShareRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Create an NFS share.

Parameters
Name Description
request CreateNfsShareRequest

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
Type Description
AsyncUnaryCallOperation

The call object.

CreateOperationsClient()

public virtual Operations.OperationsClient CreateOperationsClient()

Creates a new instance of Operations.OperationsClient using the same call invoker as this client.

Returns
Type Description
OperationsOperationsClient

A new Operations client for the same target as this client.

CreateProvisioningConfig(CreateProvisioningConfigRequest, CallOptions)

public virtual ProvisioningConfig CreateProvisioningConfig(CreateProvisioningConfigRequest request, CallOptions options)

Create new ProvisioningConfig.

Parameters
Name Description
request CreateProvisioningConfigRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
ProvisioningConfig

The response received from the server.

CreateProvisioningConfig(CreateProvisioningConfigRequest, Metadata, DateTime?, CancellationToken)

public virtual ProvisioningConfig CreateProvisioningConfig(CreateProvisioningConfigRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Create new ProvisioningConfig.

Parameters
Name Description
request CreateProvisioningConfigRequest

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
Type Description
ProvisioningConfig

The response received from the server.

CreateProvisioningConfigAsync(CreateProvisioningConfigRequest, CallOptions)

public virtual AsyncUnaryCall<ProvisioningConfig> CreateProvisioningConfigAsync(CreateProvisioningConfigRequest request, CallOptions options)

Create new ProvisioningConfig.

Parameters
Name Description
request CreateProvisioningConfigRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallProvisioningConfig

The call object.

CreateProvisioningConfigAsync(CreateProvisioningConfigRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<ProvisioningConfig> CreateProvisioningConfigAsync(CreateProvisioningConfigRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Create new ProvisioningConfig.

Parameters
Name Description
request CreateProvisioningConfigRequest

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
Type Description
AsyncUnaryCallProvisioningConfig

The call object.

CreateSSHKey(CreateSSHKeyRequest, CallOptions)

public virtual SSHKey CreateSSHKey(CreateSSHKeyRequest request, CallOptions options)

Register a public SSH key in the specified project for use with the interactive serial console feature.

Parameters
Name Description
request CreateSSHKeyRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
SSHKey

The response received from the server.

CreateSSHKey(CreateSSHKeyRequest, Metadata, DateTime?, CancellationToken)

public virtual SSHKey CreateSSHKey(CreateSSHKeyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Register a public SSH key in the specified project for use with the interactive serial console feature.

Parameters
Name Description
request CreateSSHKeyRequest

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
Type Description
SSHKey

The response received from the server.

CreateSSHKeyAsync(CreateSSHKeyRequest, CallOptions)

public virtual AsyncUnaryCall<SSHKey> CreateSSHKeyAsync(CreateSSHKeyRequest request, CallOptions options)

Register a public SSH key in the specified project for use with the interactive serial console feature.

Parameters
Name Description
request CreateSSHKeyRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallSSHKey

The call object.

CreateSSHKeyAsync(CreateSSHKeyRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<SSHKey> CreateSSHKeyAsync(CreateSSHKeyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Register a public SSH key in the specified project for use with the interactive serial console feature.

Parameters
Name Description
request CreateSSHKeyRequest

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
Type Description
AsyncUnaryCallSSHKey

The call object.

CreateVolumeSnapshot(CreateVolumeSnapshotRequest, CallOptions)

public virtual VolumeSnapshot CreateVolumeSnapshot(CreateVolumeSnapshotRequest request, CallOptions options)

Takes a snapshot of a boot volume. Returns INVALID_ARGUMENT if called for a non-boot volume.

Parameters
Name Description
request CreateVolumeSnapshotRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
VolumeSnapshot

The response received from the server.

CreateVolumeSnapshot(CreateVolumeSnapshotRequest, Metadata, DateTime?, CancellationToken)

public virtual VolumeSnapshot CreateVolumeSnapshot(CreateVolumeSnapshotRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Takes a snapshot of a boot volume. Returns INVALID_ARGUMENT if called for a non-boot volume.

Parameters
Name Description
request CreateVolumeSnapshotRequest

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
Type Description
VolumeSnapshot

The response received from the server.

CreateVolumeSnapshotAsync(CreateVolumeSnapshotRequest, CallOptions)

public virtual AsyncUnaryCall<VolumeSnapshot> CreateVolumeSnapshotAsync(CreateVolumeSnapshotRequest request, CallOptions options)

Takes a snapshot of a boot volume. Returns INVALID_ARGUMENT if called for a non-boot volume.

Parameters
Name Description
request CreateVolumeSnapshotRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallVolumeSnapshot

The call object.

CreateVolumeSnapshotAsync(CreateVolumeSnapshotRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<VolumeSnapshot> CreateVolumeSnapshotAsync(CreateVolumeSnapshotRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Takes a snapshot of a boot volume. Returns INVALID_ARGUMENT if called for a non-boot volume.

Parameters
Name Description
request CreateVolumeSnapshotRequest

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
Type Description
AsyncUnaryCallVolumeSnapshot

The call object.

DeleteNfsShare(DeleteNfsShareRequest, CallOptions)

public virtual Operation DeleteNfsShare(DeleteNfsShareRequest request, CallOptions options)

Delete an NFS share. The underlying volume is automatically deleted.

Parameters
Name Description
request DeleteNfsShareRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
Operation

The response received from the server.

DeleteNfsShare(DeleteNfsShareRequest, Metadata, DateTime?, CancellationToken)

public virtual Operation DeleteNfsShare(DeleteNfsShareRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Delete an NFS share. The underlying volume is automatically deleted.

Parameters
Name Description
request DeleteNfsShareRequest

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
Type Description
Operation

The response received from the server.

DeleteNfsShareAsync(DeleteNfsShareRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> DeleteNfsShareAsync(DeleteNfsShareRequest request, CallOptions options)

Delete an NFS share. The underlying volume is automatically deleted.

Parameters
Name Description
request DeleteNfsShareRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallOperation

The call object.

DeleteNfsShareAsync(DeleteNfsShareRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Operation> DeleteNfsShareAsync(DeleteNfsShareRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Delete an NFS share. The underlying volume is automatically deleted.

Parameters
Name Description
request DeleteNfsShareRequest

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
Type Description
AsyncUnaryCallOperation

The call object.

DeleteSSHKey(DeleteSSHKeyRequest, CallOptions)

public virtual Empty DeleteSSHKey(DeleteSSHKeyRequest request, CallOptions options)

Deletes a public SSH key registered in the specified project.

Parameters
Name Description
request DeleteSSHKeyRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
Empty

The response received from the server.

DeleteSSHKey(DeleteSSHKeyRequest, Metadata, DateTime?, CancellationToken)

public virtual Empty DeleteSSHKey(DeleteSSHKeyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Deletes a public SSH key registered in the specified project.

Parameters
Name Description
request DeleteSSHKeyRequest

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
Type Description
Empty

The response received from the server.

DeleteSSHKeyAsync(DeleteSSHKeyRequest, CallOptions)

public virtual AsyncUnaryCall<Empty> DeleteSSHKeyAsync(DeleteSSHKeyRequest request, CallOptions options)

Deletes a public SSH key registered in the specified project.

Parameters
Name Description
request DeleteSSHKeyRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallEmpty

The call object.

DeleteSSHKeyAsync(DeleteSSHKeyRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Empty> DeleteSSHKeyAsync(DeleteSSHKeyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Deletes a public SSH key registered in the specified project.

Parameters
Name Description
request DeleteSSHKeyRequest

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
Type Description
AsyncUnaryCallEmpty

The call object.

DeleteVolumeSnapshot(DeleteVolumeSnapshotRequest, CallOptions)

public virtual Empty DeleteVolumeSnapshot(DeleteVolumeSnapshotRequest request, CallOptions options)

Deletes a volume snapshot. Returns INVALID_ARGUMENT if called for a non-boot volume.

Parameters
Name Description
request DeleteVolumeSnapshotRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
Empty

The response received from the server.

DeleteVolumeSnapshot(DeleteVolumeSnapshotRequest, Metadata, DateTime?, CancellationToken)

public virtual Empty DeleteVolumeSnapshot(DeleteVolumeSnapshotRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Deletes a volume snapshot. Returns INVALID_ARGUMENT if called for a non-boot volume.

Parameters
Name Description
request DeleteVolumeSnapshotRequest

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
Type Description
Empty

The response received from the server.

DeleteVolumeSnapshotAsync(DeleteVolumeSnapshotRequest, CallOptions)

public virtual AsyncUnaryCall<Empty> DeleteVolumeSnapshotAsync(DeleteVolumeSnapshotRequest request, CallOptions options)

Deletes a volume snapshot. Returns INVALID_ARGUMENT if called for a non-boot volume.

Parameters
Name Description
request DeleteVolumeSnapshotRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallEmpty

The call object.

DeleteVolumeSnapshotAsync(DeleteVolumeSnapshotRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Empty> DeleteVolumeSnapshotAsync(DeleteVolumeSnapshotRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Deletes a volume snapshot. Returns INVALID_ARGUMENT if called for a non-boot volume.

Parameters
Name Description
request DeleteVolumeSnapshotRequest

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
Type Description
AsyncUnaryCallEmpty

The call object.

DetachLun(DetachLunRequest, CallOptions)

public virtual Operation DetachLun(DetachLunRequest request, CallOptions options)

Detach LUN from Instance.

Parameters
Name Description
request DetachLunRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
Operation

The response received from the server.

DetachLun(DetachLunRequest, Metadata, DateTime?, CancellationToken)

public virtual Operation DetachLun(DetachLunRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Detach LUN from Instance.

Parameters
Name Description
request DetachLunRequest

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
Type Description
Operation

The response received from the server.

DetachLunAsync(DetachLunRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> DetachLunAsync(DetachLunRequest request, CallOptions options)

Detach LUN from Instance.

Parameters
Name Description
request DetachLunRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallOperation

The call object.

DetachLunAsync(DetachLunRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Operation> DetachLunAsync(DetachLunRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Detach LUN from Instance.

Parameters
Name Description
request DetachLunRequest

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
Type Description
AsyncUnaryCallOperation

The call object.

DisableInteractiveSerialConsole(DisableInteractiveSerialConsoleRequest, CallOptions)

public virtual Operation DisableInteractiveSerialConsole(DisableInteractiveSerialConsoleRequest request, CallOptions options)

Disable the interactive serial console feature on an instance.

Parameters
Name Description
request DisableInteractiveSerialConsoleRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
Operation

The response received from the server.

DisableInteractiveSerialConsole(DisableInteractiveSerialConsoleRequest, Metadata, DateTime?, CancellationToken)

public virtual Operation DisableInteractiveSerialConsole(DisableInteractiveSerialConsoleRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Disable the interactive serial console feature on an instance.

Parameters
Name Description
request DisableInteractiveSerialConsoleRequest

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
Type Description
Operation

The response received from the server.

DisableInteractiveSerialConsoleAsync(DisableInteractiveSerialConsoleRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> DisableInteractiveSerialConsoleAsync(DisableInteractiveSerialConsoleRequest request, CallOptions options)

Disable the interactive serial console feature on an instance.

Parameters
Name Description
request DisableInteractiveSerialConsoleRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallOperation

The call object.

DisableInteractiveSerialConsoleAsync(DisableInteractiveSerialConsoleRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Operation> DisableInteractiveSerialConsoleAsync(DisableInteractiveSerialConsoleRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Disable the interactive serial console feature on an instance.

Parameters
Name Description
request DisableInteractiveSerialConsoleRequest

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
Type Description
AsyncUnaryCallOperation

The call object.

EnableInteractiveSerialConsole(EnableInteractiveSerialConsoleRequest, CallOptions)

public virtual Operation EnableInteractiveSerialConsole(EnableInteractiveSerialConsoleRequest request, CallOptions options)

Enable the interactive serial console feature on an instance.

Parameters
Name Description
request EnableInteractiveSerialConsoleRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
Operation

The response received from the server.

EnableInteractiveSerialConsole(EnableInteractiveSerialConsoleRequest, Metadata, DateTime?, CancellationToken)

public virtual Operation EnableInteractiveSerialConsole(EnableInteractiveSerialConsoleRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Enable the interactive serial console feature on an instance.

Parameters
Name Description
request EnableInteractiveSerialConsoleRequest

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
Type Description
Operation

The response received from the server.

EnableInteractiveSerialConsoleAsync(EnableInteractiveSerialConsoleRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> EnableInteractiveSerialConsoleAsync(EnableInteractiveSerialConsoleRequest request, CallOptions options)

Enable the interactive serial console feature on an instance.

Parameters
Name Description
request EnableInteractiveSerialConsoleRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallOperation

The call object.

EnableInteractiveSerialConsoleAsync(EnableInteractiveSerialConsoleRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Operation> EnableInteractiveSerialConsoleAsync(EnableInteractiveSerialConsoleRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Enable the interactive serial console feature on an instance.

Parameters
Name Description
request EnableInteractiveSerialConsoleRequest

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
Type Description
AsyncUnaryCallOperation

The call object.

EvictLun(EvictLunRequest, CallOptions)

public virtual Operation EvictLun(EvictLunRequest request, CallOptions options)

Skips lun's cooloff and deletes it now. Lun must be in cooloff state.

Parameters
Name Description
request EvictLunRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
Operation

The response received from the server.

EvictLun(EvictLunRequest, Metadata, DateTime?, CancellationToken)

public virtual Operation EvictLun(EvictLunRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Skips lun's cooloff and deletes it now. Lun must be in cooloff state.

Parameters
Name Description
request EvictLunRequest

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
Type Description
Operation

The response received from the server.

EvictLunAsync(EvictLunRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> EvictLunAsync(EvictLunRequest request, CallOptions options)

Skips lun's cooloff and deletes it now. Lun must be in cooloff state.

Parameters
Name Description
request EvictLunRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallOperation

The call object.

EvictLunAsync(EvictLunRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Operation> EvictLunAsync(EvictLunRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Skips lun's cooloff and deletes it now. Lun must be in cooloff state.

Parameters
Name Description
request EvictLunRequest

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
Type Description
AsyncUnaryCallOperation

The call object.

EvictVolume(EvictVolumeRequest, CallOptions)

public virtual Operation EvictVolume(EvictVolumeRequest request, CallOptions options)

Skips volume's cooloff and deletes it now. Volume must be in cooloff state.

Parameters
Name Description
request EvictVolumeRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
Operation

The response received from the server.

EvictVolume(EvictVolumeRequest, Metadata, DateTime?, CancellationToken)

public virtual Operation EvictVolume(EvictVolumeRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Skips volume's cooloff and deletes it now. Volume must be in cooloff state.

Parameters
Name Description
request EvictVolumeRequest

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
Type Description
Operation

The response received from the server.

EvictVolumeAsync(EvictVolumeRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> EvictVolumeAsync(EvictVolumeRequest request, CallOptions options)

Skips volume's cooloff and deletes it now. Volume must be in cooloff state.

Parameters
Name Description
request EvictVolumeRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallOperation

The call object.

EvictVolumeAsync(EvictVolumeRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Operation> EvictVolumeAsync(EvictVolumeRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Skips volume's cooloff and deletes it now. Volume must be in cooloff state.

Parameters
Name Description
request EvictVolumeRequest

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
Type Description
AsyncUnaryCallOperation

The call object.

GetInstance(GetInstanceRequest, CallOptions)

public virtual Instance GetInstance(GetInstanceRequest request, CallOptions options)

Get details about a single server.

Parameters
Name Description
request GetInstanceRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
Instance

The response received from the server.

GetInstance(GetInstanceRequest, Metadata, DateTime?, CancellationToken)

public virtual Instance GetInstance(GetInstanceRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Get details about a single server.

Parameters
Name Description
request GetInstanceRequest

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
Type Description
Instance

The response received from the server.

GetInstanceAsync(GetInstanceRequest, CallOptions)

public virtual AsyncUnaryCall<Instance> GetInstanceAsync(GetInstanceRequest request, CallOptions options)

Get details about a single server.

Parameters
Name Description
request GetInstanceRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallInstance

The call object.

GetInstanceAsync(GetInstanceRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Instance> GetInstanceAsync(GetInstanceRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Get details about a single server.

Parameters
Name Description
request GetInstanceRequest

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
Type Description
AsyncUnaryCallInstance

The call object.

GetLun(GetLunRequest, CallOptions)

public virtual Lun GetLun(GetLunRequest request, CallOptions options)

Get details of a single storage logical unit number(LUN).

Parameters
Name Description
request GetLunRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
Lun

The response received from the server.

GetLun(GetLunRequest, Metadata, DateTime?, CancellationToken)

public virtual Lun GetLun(GetLunRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Get details of a single storage logical unit number(LUN).

Parameters
Name Description
request GetLunRequest

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
Type Description
Lun

The response received from the server.

GetLunAsync(GetLunRequest, CallOptions)

public virtual AsyncUnaryCall<Lun> GetLunAsync(GetLunRequest request, CallOptions options)

Get details of a single storage logical unit number(LUN).

Parameters
Name Description
request GetLunRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallLun

The call object.

GetLunAsync(GetLunRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Lun> GetLunAsync(GetLunRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Get details of a single storage logical unit number(LUN).

Parameters
Name Description
request GetLunRequest

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
Type Description
AsyncUnaryCallLun

The call object.

GetNetwork(GetNetworkRequest, CallOptions)

public virtual Network GetNetwork(GetNetworkRequest request, CallOptions options)

Get details of a single network.

Parameters
Name Description
request GetNetworkRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
Network

The response received from the server.

GetNetwork(GetNetworkRequest, Metadata, DateTime?, CancellationToken)

public virtual Network GetNetwork(GetNetworkRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Get details of a single network.

Parameters
Name Description
request GetNetworkRequest

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
Type Description
Network

The response received from the server.

GetNetworkAsync(GetNetworkRequest, CallOptions)

public virtual AsyncUnaryCall<Network> GetNetworkAsync(GetNetworkRequest request, CallOptions options)

Get details of a single network.

Parameters
Name Description
request GetNetworkRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallNetwork

The call object.

GetNetworkAsync(GetNetworkRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Network> GetNetworkAsync(GetNetworkRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Get details of a single network.

Parameters
Name Description
request GetNetworkRequest

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
Type Description
AsyncUnaryCallNetwork

The call object.

GetNfsShare(GetNfsShareRequest, CallOptions)

public virtual NfsShare GetNfsShare(GetNfsShareRequest request, CallOptions options)

Get details of a single NFS share.

Parameters
Name Description
request GetNfsShareRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
NfsShare

The response received from the server.

GetNfsShare(GetNfsShareRequest, Metadata, DateTime?, CancellationToken)

public virtual NfsShare GetNfsShare(GetNfsShareRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Get details of a single NFS share.

Parameters
Name Description
request GetNfsShareRequest

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
Type Description
NfsShare

The response received from the server.

GetNfsShareAsync(GetNfsShareRequest, CallOptions)

public virtual AsyncUnaryCall<NfsShare> GetNfsShareAsync(GetNfsShareRequest request, CallOptions options)

Get details of a single NFS share.

Parameters
Name Description
request GetNfsShareRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallNfsShare

The call object.

GetNfsShareAsync(GetNfsShareRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<NfsShare> GetNfsShareAsync(GetNfsShareRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Get details of a single NFS share.

Parameters
Name Description
request GetNfsShareRequest

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
Type Description
AsyncUnaryCallNfsShare

The call object.

GetProvisioningConfig(GetProvisioningConfigRequest, CallOptions)

public virtual ProvisioningConfig GetProvisioningConfig(GetProvisioningConfigRequest request, CallOptions options)

Get ProvisioningConfig by name.

Parameters
Name Description
request GetProvisioningConfigRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
ProvisioningConfig

The response received from the server.

GetProvisioningConfig(GetProvisioningConfigRequest, Metadata, DateTime?, CancellationToken)

public virtual ProvisioningConfig GetProvisioningConfig(GetProvisioningConfigRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Get ProvisioningConfig by name.

Parameters
Name Description
request GetProvisioningConfigRequest

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
Type Description
ProvisioningConfig

The response received from the server.

GetProvisioningConfigAsync(GetProvisioningConfigRequest, CallOptions)

public virtual AsyncUnaryCall<ProvisioningConfig> GetProvisioningConfigAsync(GetProvisioningConfigRequest request, CallOptions options)

Get ProvisioningConfig by name.

Parameters
Name Description
request GetProvisioningConfigRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallProvisioningConfig

The call object.

GetProvisioningConfigAsync(GetProvisioningConfigRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<ProvisioningConfig> GetProvisioningConfigAsync(GetProvisioningConfigRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Get ProvisioningConfig by name.

Parameters
Name Description
request GetProvisioningConfigRequest

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
Type Description
AsyncUnaryCallProvisioningConfig

The call object.

GetVolume(GetVolumeRequest, CallOptions)

public virtual Volume GetVolume(GetVolumeRequest request, CallOptions options)

Get details of a single storage volume.

Parameters
Name Description
request GetVolumeRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
Volume

The response received from the server.

GetVolume(GetVolumeRequest, Metadata, DateTime?, CancellationToken)

public virtual Volume GetVolume(GetVolumeRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Get details of a single storage volume.

Parameters
Name Description
request GetVolumeRequest

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
Type Description
Volume

The response received from the server.

GetVolumeAsync(GetVolumeRequest, CallOptions)

public virtual AsyncUnaryCall<Volume> GetVolumeAsync(GetVolumeRequest request, CallOptions options)

Get details of a single storage volume.

Parameters
Name Description
request GetVolumeRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallVolume

The call object.

GetVolumeAsync(GetVolumeRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Volume> GetVolumeAsync(GetVolumeRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Get details of a single storage volume.

Parameters
Name Description
request GetVolumeRequest

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
Type Description
AsyncUnaryCallVolume

The call object.

GetVolumeSnapshot(GetVolumeSnapshotRequest, CallOptions)

public virtual VolumeSnapshot GetVolumeSnapshot(GetVolumeSnapshotRequest request, CallOptions options)

Returns the specified snapshot resource. Returns INVALID_ARGUMENT if called for a non-boot volume.

Parameters
Name Description
request GetVolumeSnapshotRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
VolumeSnapshot

The response received from the server.

GetVolumeSnapshot(GetVolumeSnapshotRequest, Metadata, DateTime?, CancellationToken)

public virtual VolumeSnapshot GetVolumeSnapshot(GetVolumeSnapshotRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Returns the specified snapshot resource. Returns INVALID_ARGUMENT if called for a non-boot volume.

Parameters
Name Description
request GetVolumeSnapshotRequest

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
Type Description
VolumeSnapshot

The response received from the server.

GetVolumeSnapshotAsync(GetVolumeSnapshotRequest, CallOptions)

public virtual AsyncUnaryCall<VolumeSnapshot> GetVolumeSnapshotAsync(GetVolumeSnapshotRequest request, CallOptions options)

Returns the specified snapshot resource. Returns INVALID_ARGUMENT if called for a non-boot volume.

Parameters
Name Description
request GetVolumeSnapshotRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallVolumeSnapshot

The call object.

GetVolumeSnapshotAsync(GetVolumeSnapshotRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<VolumeSnapshot> GetVolumeSnapshotAsync(GetVolumeSnapshotRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Returns the specified snapshot resource. Returns INVALID_ARGUMENT if called for a non-boot volume.

Parameters
Name Description
request GetVolumeSnapshotRequest

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
Type Description
AsyncUnaryCallVolumeSnapshot

The call object.

ListInstances(ListInstancesRequest, CallOptions)

public virtual ListInstancesResponse ListInstances(ListInstancesRequest request, CallOptions options)

List servers in a given project and location.

Parameters
Name Description
request ListInstancesRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
ListInstancesResponse

The response received from the server.

ListInstances(ListInstancesRequest, Metadata, DateTime?, CancellationToken)

public virtual ListInstancesResponse ListInstances(ListInstancesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

List servers in a given project and location.

Parameters
Name Description
request ListInstancesRequest

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
Type Description
ListInstancesResponse

The response received from the server.

ListInstancesAsync(ListInstancesRequest, CallOptions)

public virtual AsyncUnaryCall<ListInstancesResponse> ListInstancesAsync(ListInstancesRequest request, CallOptions options)

List servers in a given project and location.

Parameters
Name Description
request ListInstancesRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallListInstancesResponse

The call object.

ListInstancesAsync(ListInstancesRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<ListInstancesResponse> ListInstancesAsync(ListInstancesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

List servers in a given project and location.

Parameters
Name Description
request ListInstancesRequest

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
Type Description
AsyncUnaryCallListInstancesResponse

The call object.

ListLuns(ListLunsRequest, CallOptions)

public virtual ListLunsResponse ListLuns(ListLunsRequest request, CallOptions options)

List storage volume luns for given storage volume.

Parameters
Name Description
request ListLunsRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
ListLunsResponse

The response received from the server.

ListLuns(ListLunsRequest, Metadata, DateTime?, CancellationToken)

public virtual ListLunsResponse ListLuns(ListLunsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

List storage volume luns for given storage volume.

Parameters
Name Description
request ListLunsRequest

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
Type Description
ListLunsResponse

The response received from the server.

ListLunsAsync(ListLunsRequest, CallOptions)

public virtual AsyncUnaryCall<ListLunsResponse> ListLunsAsync(ListLunsRequest request, CallOptions options)

List storage volume luns for given storage volume.

Parameters
Name Description
request ListLunsRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallListLunsResponse

The call object.

ListLunsAsync(ListLunsRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<ListLunsResponse> ListLunsAsync(ListLunsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

List storage volume luns for given storage volume.

Parameters
Name Description
request ListLunsRequest

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
Type Description
AsyncUnaryCallListLunsResponse

The call object.

ListNetworkUsage(ListNetworkUsageRequest, CallOptions)

public virtual ListNetworkUsageResponse ListNetworkUsage(ListNetworkUsageRequest request, CallOptions options)

List all Networks (and used IPs for each Network) in the vendor account associated with the specified project.

Parameters
Name Description
request ListNetworkUsageRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
ListNetworkUsageResponse

The response received from the server.

ListNetworkUsage(ListNetworkUsageRequest, Metadata, DateTime?, CancellationToken)

public virtual ListNetworkUsageResponse ListNetworkUsage(ListNetworkUsageRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

List all Networks (and used IPs for each Network) in the vendor account associated with the specified project.

Parameters
Name Description
request ListNetworkUsageRequest

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
Type Description
ListNetworkUsageResponse

The response received from the server.

ListNetworkUsageAsync(ListNetworkUsageRequest, CallOptions)

public virtual AsyncUnaryCall<ListNetworkUsageResponse> ListNetworkUsageAsync(ListNetworkUsageRequest request, CallOptions options)

List all Networks (and used IPs for each Network) in the vendor account associated with the specified project.

Parameters
Name Description
request ListNetworkUsageRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallListNetworkUsageResponse

The call object.

ListNetworkUsageAsync(ListNetworkUsageRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<ListNetworkUsageResponse> ListNetworkUsageAsync(ListNetworkUsageRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

List all Networks (and used IPs for each Network) in the vendor account associated with the specified project.

Parameters
Name Description
request ListNetworkUsageRequest

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
Type Description
AsyncUnaryCallListNetworkUsageResponse

The call object.

ListNetworks(ListNetworksRequest, CallOptions)

public virtual ListNetworksResponse ListNetworks(ListNetworksRequest request, CallOptions options)

List network in a given project and location.

Parameters
Name Description
request ListNetworksRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
ListNetworksResponse

The response received from the server.

ListNetworks(ListNetworksRequest, Metadata, DateTime?, CancellationToken)

public virtual ListNetworksResponse ListNetworks(ListNetworksRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

List network in a given project and location.

Parameters
Name Description
request ListNetworksRequest

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
Type Description
ListNetworksResponse

The response received from the server.

ListNetworksAsync(ListNetworksRequest, CallOptions)

public virtual AsyncUnaryCall<ListNetworksResponse> ListNetworksAsync(ListNetworksRequest request, CallOptions options)

List network in a given project and location.

Parameters
Name Description
request ListNetworksRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallListNetworksResponse

The call object.

ListNetworksAsync(ListNetworksRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<ListNetworksResponse> ListNetworksAsync(ListNetworksRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

List network in a given project and location.

Parameters
Name Description
request ListNetworksRequest

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
Type Description
AsyncUnaryCallListNetworksResponse

The call object.

ListNfsShares(ListNfsSharesRequest, CallOptions)

public virtual ListNfsSharesResponse ListNfsShares(ListNfsSharesRequest request, CallOptions options)

List NFS shares.

Parameters
Name Description
request ListNfsSharesRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
ListNfsSharesResponse

The response received from the server.

ListNfsShares(ListNfsSharesRequest, Metadata, DateTime?, CancellationToken)

public virtual ListNfsSharesResponse ListNfsShares(ListNfsSharesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

List NFS shares.

Parameters
Name Description
request ListNfsSharesRequest

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
Type Description
ListNfsSharesResponse

The response received from the server.

ListNfsSharesAsync(ListNfsSharesRequest, CallOptions)

public virtual AsyncUnaryCall<ListNfsSharesResponse> ListNfsSharesAsync(ListNfsSharesRequest request, CallOptions options)

List NFS shares.

Parameters
Name Description
request ListNfsSharesRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallListNfsSharesResponse

The call object.

ListNfsSharesAsync(ListNfsSharesRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<ListNfsSharesResponse> ListNfsSharesAsync(ListNfsSharesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

List NFS shares.

Parameters
Name Description
request ListNfsSharesRequest

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
Type Description
AsyncUnaryCallListNfsSharesResponse

The call object.

ListOSImages(ListOSImagesRequest, CallOptions)

public virtual ListOSImagesResponse ListOSImages(ListOSImagesRequest request, CallOptions options)

Retrieves the list of OS images which are currently approved.

Parameters
Name Description
request ListOSImagesRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
ListOSImagesResponse

The response received from the server.

ListOSImages(ListOSImagesRequest, Metadata, DateTime?, CancellationToken)

public virtual ListOSImagesResponse ListOSImages(ListOSImagesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Retrieves the list of OS images which are currently approved.

Parameters
Name Description
request ListOSImagesRequest

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
Type Description
ListOSImagesResponse

The response received from the server.

ListOSImagesAsync(ListOSImagesRequest, CallOptions)

public virtual AsyncUnaryCall<ListOSImagesResponse> ListOSImagesAsync(ListOSImagesRequest request, CallOptions options)

Retrieves the list of OS images which are currently approved.

Parameters
Name Description
request ListOSImagesRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallListOSImagesResponse

The call object.

ListOSImagesAsync(ListOSImagesRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<ListOSImagesResponse> ListOSImagesAsync(ListOSImagesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Retrieves the list of OS images which are currently approved.

Parameters
Name Description
request ListOSImagesRequest

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
Type Description
AsyncUnaryCallListOSImagesResponse

The call object.

ListProvisioningQuotas(ListProvisioningQuotasRequest, CallOptions)

public virtual ListProvisioningQuotasResponse ListProvisioningQuotas(ListProvisioningQuotasRequest request, CallOptions options)

List the budget details to provision resources on a given project.

Parameters
Name Description
request ListProvisioningQuotasRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
ListProvisioningQuotasResponse

The response received from the server.

ListProvisioningQuotas(ListProvisioningQuotasRequest, Metadata, DateTime?, CancellationToken)

public virtual ListProvisioningQuotasResponse ListProvisioningQuotas(ListProvisioningQuotasRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

List the budget details to provision resources on a given project.

Parameters
Name Description
request ListProvisioningQuotasRequest

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
Type Description
ListProvisioningQuotasResponse

The response received from the server.

ListProvisioningQuotasAsync(ListProvisioningQuotasRequest, CallOptions)

public virtual AsyncUnaryCall<ListProvisioningQuotasResponse> ListProvisioningQuotasAsync(ListProvisioningQuotasRequest request, CallOptions options)

List the budget details to provision resources on a given project.

Parameters
Name Description
request ListProvisioningQuotasRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallListProvisioningQuotasResponse

The call object.

ListProvisioningQuotasAsync(ListProvisioningQuotasRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<ListProvisioningQuotasResponse> ListProvisioningQuotasAsync(ListProvisioningQuotasRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

List the budget details to provision resources on a given project.

Parameters
Name Description
request ListProvisioningQuotasRequest

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
Type Description
AsyncUnaryCallListProvisioningQuotasResponse

The call object.

ListSSHKeys(ListSSHKeysRequest, CallOptions)

public virtual ListSSHKeysResponse ListSSHKeys(ListSSHKeysRequest request, CallOptions options)

Lists the public SSH keys registered for the specified project. These SSH keys are used only for the interactive serial console feature.

Parameters
Name Description
request ListSSHKeysRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
ListSSHKeysResponse

The response received from the server.

ListSSHKeys(ListSSHKeysRequest, Metadata, DateTime?, CancellationToken)

public virtual ListSSHKeysResponse ListSSHKeys(ListSSHKeysRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists the public SSH keys registered for the specified project. These SSH keys are used only for the interactive serial console feature.

Parameters
Name Description
request ListSSHKeysRequest

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
Type Description
ListSSHKeysResponse

The response received from the server.

ListSSHKeysAsync(ListSSHKeysRequest, CallOptions)

public virtual AsyncUnaryCall<ListSSHKeysResponse> ListSSHKeysAsync(ListSSHKeysRequest request, CallOptions options)

Lists the public SSH keys registered for the specified project. These SSH keys are used only for the interactive serial console feature.

Parameters
Name Description
request ListSSHKeysRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallListSSHKeysResponse

The call object.

ListSSHKeysAsync(ListSSHKeysRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<ListSSHKeysResponse> ListSSHKeysAsync(ListSSHKeysRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists the public SSH keys registered for the specified project. These SSH keys are used only for the interactive serial console feature.

Parameters
Name Description
request ListSSHKeysRequest

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
Type Description
AsyncUnaryCallListSSHKeysResponse

The call object.

ListVolumeSnapshots(ListVolumeSnapshotsRequest, CallOptions)

public virtual ListVolumeSnapshotsResponse ListVolumeSnapshots(ListVolumeSnapshotsRequest request, CallOptions options)

Retrieves the list of snapshots for the specified volume. Returns a response with an empty list of snapshots if called for a non-boot volume.

Parameters
Name Description
request ListVolumeSnapshotsRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
ListVolumeSnapshotsResponse

The response received from the server.

ListVolumeSnapshots(ListVolumeSnapshotsRequest, Metadata, DateTime?, CancellationToken)

public virtual ListVolumeSnapshotsResponse ListVolumeSnapshots(ListVolumeSnapshotsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Retrieves the list of snapshots for the specified volume. Returns a response with an empty list of snapshots if called for a non-boot volume.

Parameters
Name Description
request ListVolumeSnapshotsRequest

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
Type Description
ListVolumeSnapshotsResponse

The response received from the server.

ListVolumeSnapshotsAsync(ListVolumeSnapshotsRequest, CallOptions)

public virtual AsyncUnaryCall<ListVolumeSnapshotsResponse> ListVolumeSnapshotsAsync(ListVolumeSnapshotsRequest request, CallOptions options)

Retrieves the list of snapshots for the specified volume. Returns a response with an empty list of snapshots if called for a non-boot volume.

Parameters
Name Description
request ListVolumeSnapshotsRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallListVolumeSnapshotsResponse

The call object.

ListVolumeSnapshotsAsync(ListVolumeSnapshotsRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<ListVolumeSnapshotsResponse> ListVolumeSnapshotsAsync(ListVolumeSnapshotsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Retrieves the list of snapshots for the specified volume. Returns a response with an empty list of snapshots if called for a non-boot volume.

Parameters
Name Description
request ListVolumeSnapshotsRequest

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
Type Description
AsyncUnaryCallListVolumeSnapshotsResponse

The call object.

ListVolumes(ListVolumesRequest, CallOptions)

public virtual ListVolumesResponse ListVolumes(ListVolumesRequest request, CallOptions options)

List storage volumes in a given project and location.

Parameters
Name Description
request ListVolumesRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
ListVolumesResponse

The response received from the server.

ListVolumes(ListVolumesRequest, Metadata, DateTime?, CancellationToken)

public virtual ListVolumesResponse ListVolumes(ListVolumesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

List storage volumes in a given project and location.

Parameters
Name Description
request ListVolumesRequest

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
Type Description
ListVolumesResponse

The response received from the server.

ListVolumesAsync(ListVolumesRequest, CallOptions)

public virtual AsyncUnaryCall<ListVolumesResponse> ListVolumesAsync(ListVolumesRequest request, CallOptions options)

List storage volumes in a given project and location.

Parameters
Name Description
request ListVolumesRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallListVolumesResponse

The call object.

ListVolumesAsync(ListVolumesRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<ListVolumesResponse> ListVolumesAsync(ListVolumesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

List storage volumes in a given project and location.

Parameters
Name Description
request ListVolumesRequest

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
Type Description
AsyncUnaryCallListVolumesResponse

The call object.

NewInstance(ClientBaseConfiguration)

protected override BareMetalSolution.BareMetalSolutionClient NewInstance(ClientBase.ClientBaseConfiguration configuration)

Creates a new instance of client from given ClientBaseConfiguration.

Parameter
Name Description
configuration ClientBaseClientBaseConfiguration
Returns
Type Description
BareMetalSolutionBareMetalSolutionClient
Overrides

RenameInstance(RenameInstanceRequest, CallOptions)

public virtual Instance RenameInstance(RenameInstanceRequest request, CallOptions options)

RenameInstance sets a new name for an instance. Use with caution, previous names become immediately invalidated.

Parameters
Name Description
request RenameInstanceRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
Instance

The response received from the server.

RenameInstance(RenameInstanceRequest, Metadata, DateTime?, CancellationToken)

public virtual Instance RenameInstance(RenameInstanceRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

RenameInstance sets a new name for an instance. Use with caution, previous names become immediately invalidated.

Parameters
Name Description
request RenameInstanceRequest

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
Type Description
Instance

The response received from the server.

RenameInstanceAsync(RenameInstanceRequest, CallOptions)

public virtual AsyncUnaryCall<Instance> RenameInstanceAsync(RenameInstanceRequest request, CallOptions options)

RenameInstance sets a new name for an instance. Use with caution, previous names become immediately invalidated.

Parameters
Name Description
request RenameInstanceRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallInstance

The call object.

RenameInstanceAsync(RenameInstanceRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Instance> RenameInstanceAsync(RenameInstanceRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

RenameInstance sets a new name for an instance. Use with caution, previous names become immediately invalidated.

Parameters
Name Description
request RenameInstanceRequest

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
Type Description
AsyncUnaryCallInstance

The call object.

RenameNetwork(RenameNetworkRequest, CallOptions)

public virtual Network RenameNetwork(RenameNetworkRequest request, CallOptions options)

RenameNetwork sets a new name for a network. Use with caution, previous names become immediately invalidated.

Parameters
Name Description
request RenameNetworkRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
Network

The response received from the server.

RenameNetwork(RenameNetworkRequest, Metadata, DateTime?, CancellationToken)

public virtual Network RenameNetwork(RenameNetworkRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

RenameNetwork sets a new name for a network. Use with caution, previous names become immediately invalidated.

Parameters
Name Description
request RenameNetworkRequest

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
Type Description
Network

The response received from the server.

RenameNetworkAsync(RenameNetworkRequest, CallOptions)

public virtual AsyncUnaryCall<Network> RenameNetworkAsync(RenameNetworkRequest request, CallOptions options)

RenameNetwork sets a new name for a network. Use with caution, previous names become immediately invalidated.

Parameters
Name Description
request RenameNetworkRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallNetwork

The call object.

RenameNetworkAsync(RenameNetworkRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Network> RenameNetworkAsync(RenameNetworkRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

RenameNetwork sets a new name for a network. Use with caution, previous names become immediately invalidated.

Parameters
Name Description
request RenameNetworkRequest

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
Type Description
AsyncUnaryCallNetwork

The call object.

RenameNfsShare(RenameNfsShareRequest, CallOptions)

public virtual NfsShare RenameNfsShare(RenameNfsShareRequest request, CallOptions options)

RenameNfsShare sets a new name for an nfsshare. Use with caution, previous names become immediately invalidated.

Parameters
Name Description
request RenameNfsShareRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
NfsShare

The response received from the server.

RenameNfsShare(RenameNfsShareRequest, Metadata, DateTime?, CancellationToken)

public virtual NfsShare RenameNfsShare(RenameNfsShareRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

RenameNfsShare sets a new name for an nfsshare. Use with caution, previous names become immediately invalidated.

Parameters
Name Description
request RenameNfsShareRequest

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
Type Description
NfsShare

The response received from the server.

RenameNfsShareAsync(RenameNfsShareRequest, CallOptions)

public virtual AsyncUnaryCall<NfsShare> RenameNfsShareAsync(RenameNfsShareRequest request, CallOptions options)

RenameNfsShare sets a new name for an nfsshare. Use with caution, previous names become immediately invalidated.

Parameters
Name Description
request RenameNfsShareRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallNfsShare

The call object.

RenameNfsShareAsync(RenameNfsShareRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<NfsShare> RenameNfsShareAsync(RenameNfsShareRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

RenameNfsShare sets a new name for an nfsshare. Use with caution, previous names become immediately invalidated.

Parameters
Name Description
request RenameNfsShareRequest

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
Type Description
AsyncUnaryCallNfsShare

The call object.

RenameVolume(RenameVolumeRequest, CallOptions)

public virtual Volume RenameVolume(RenameVolumeRequest request, CallOptions options)

RenameVolume sets a new name for a volume. Use with caution, previous names become immediately invalidated.

Parameters
Name Description
request RenameVolumeRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
Volume

The response received from the server.

RenameVolume(RenameVolumeRequest, Metadata, DateTime?, CancellationToken)

public virtual Volume RenameVolume(RenameVolumeRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

RenameVolume sets a new name for a volume. Use with caution, previous names become immediately invalidated.

Parameters
Name Description
request RenameVolumeRequest

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
Type Description
Volume

The response received from the server.

RenameVolumeAsync(RenameVolumeRequest, CallOptions)

public virtual AsyncUnaryCall<Volume> RenameVolumeAsync(RenameVolumeRequest request, CallOptions options)

RenameVolume sets a new name for a volume. Use with caution, previous names become immediately invalidated.

Parameters
Name Description
request RenameVolumeRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallVolume

The call object.

RenameVolumeAsync(RenameVolumeRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Volume> RenameVolumeAsync(RenameVolumeRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

RenameVolume sets a new name for a volume. Use with caution, previous names become immediately invalidated.

Parameters
Name Description
request RenameVolumeRequest

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
Type Description
AsyncUnaryCallVolume

The call object.

ResetInstance(ResetInstanceRequest, CallOptions)

public virtual Operation ResetInstance(ResetInstanceRequest request, CallOptions options)

Perform an ungraceful, hard reset on a server. Equivalent to shutting the power off and then turning it back on.

Parameters
Name Description
request ResetInstanceRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
Operation

The response received from the server.

ResetInstance(ResetInstanceRequest, Metadata, DateTime?, CancellationToken)

public virtual Operation ResetInstance(ResetInstanceRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Perform an ungraceful, hard reset on a server. Equivalent to shutting the power off and then turning it back on.

Parameters
Name Description
request ResetInstanceRequest

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
Type Description
Operation

The response received from the server.

ResetInstanceAsync(ResetInstanceRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> ResetInstanceAsync(ResetInstanceRequest request, CallOptions options)

Perform an ungraceful, hard reset on a server. Equivalent to shutting the power off and then turning it back on.

Parameters
Name Description
request ResetInstanceRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallOperation

The call object.

ResetInstanceAsync(ResetInstanceRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Operation> ResetInstanceAsync(ResetInstanceRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Perform an ungraceful, hard reset on a server. Equivalent to shutting the power off and then turning it back on.

Parameters
Name Description
request ResetInstanceRequest

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
Type Description
AsyncUnaryCallOperation

The call object.

ResizeVolume(ResizeVolumeRequest, CallOptions)

public virtual Operation ResizeVolume(ResizeVolumeRequest request, CallOptions options)

Emergency Volume resize.

Parameters
Name Description
request ResizeVolumeRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
Operation

The response received from the server.

ResizeVolume(ResizeVolumeRequest, Metadata, DateTime?, CancellationToken)

public virtual Operation ResizeVolume(ResizeVolumeRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Emergency Volume resize.

Parameters
Name Description
request ResizeVolumeRequest

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
Type Description
Operation

The response received from the server.

ResizeVolumeAsync(ResizeVolumeRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> ResizeVolumeAsync(ResizeVolumeRequest request, CallOptions options)

Emergency Volume resize.

Parameters
Name Description
request ResizeVolumeRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallOperation

The call object.

ResizeVolumeAsync(ResizeVolumeRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Operation> ResizeVolumeAsync(ResizeVolumeRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Emergency Volume resize.

Parameters
Name Description
request ResizeVolumeRequest

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
Type Description
AsyncUnaryCallOperation

The call object.

RestoreVolumeSnapshot(RestoreVolumeSnapshotRequest, CallOptions)

public virtual Operation RestoreVolumeSnapshot(RestoreVolumeSnapshotRequest request, CallOptions options)

Uses the specified snapshot to restore its parent volume. Returns INVALID_ARGUMENT if called for a non-boot volume.

Parameters
Name Description
request RestoreVolumeSnapshotRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
Operation

The response received from the server.

RestoreVolumeSnapshot(RestoreVolumeSnapshotRequest, Metadata, DateTime?, CancellationToken)

public virtual Operation RestoreVolumeSnapshot(RestoreVolumeSnapshotRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Uses the specified snapshot to restore its parent volume. Returns INVALID_ARGUMENT if called for a non-boot volume.

Parameters
Name Description
request RestoreVolumeSnapshotRequest

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
Type Description
Operation

The response received from the server.

RestoreVolumeSnapshotAsync(RestoreVolumeSnapshotRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> RestoreVolumeSnapshotAsync(RestoreVolumeSnapshotRequest request, CallOptions options)

Uses the specified snapshot to restore its parent volume. Returns INVALID_ARGUMENT if called for a non-boot volume.

Parameters
Name Description
request RestoreVolumeSnapshotRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallOperation

The call object.

RestoreVolumeSnapshotAsync(RestoreVolumeSnapshotRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Operation> RestoreVolumeSnapshotAsync(RestoreVolumeSnapshotRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Uses the specified snapshot to restore its parent volume. Returns INVALID_ARGUMENT if called for a non-boot volume.

Parameters
Name Description
request RestoreVolumeSnapshotRequest

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
Type Description
AsyncUnaryCallOperation

The call object.

StartInstance(StartInstanceRequest, CallOptions)

public virtual Operation StartInstance(StartInstanceRequest request, CallOptions options)

Starts a server that was shutdown.

Parameters
Name Description
request StartInstanceRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
Operation

The response received from the server.

StartInstance(StartInstanceRequest, Metadata, DateTime?, CancellationToken)

public virtual Operation StartInstance(StartInstanceRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Starts a server that was shutdown.

Parameters
Name Description
request StartInstanceRequest

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
Type Description
Operation

The response received from the server.

StartInstanceAsync(StartInstanceRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> StartInstanceAsync(StartInstanceRequest request, CallOptions options)

Starts a server that was shutdown.

Parameters
Name Description
request StartInstanceRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallOperation

The call object.

StartInstanceAsync(StartInstanceRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Operation> StartInstanceAsync(StartInstanceRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Starts a server that was shutdown.

Parameters
Name Description
request StartInstanceRequest

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
Type Description
AsyncUnaryCallOperation

The call object.

StopInstance(StopInstanceRequest, CallOptions)

public virtual Operation StopInstance(StopInstanceRequest request, CallOptions options)

Stop a running server.

Parameters
Name Description
request StopInstanceRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
Operation

The response received from the server.

StopInstance(StopInstanceRequest, Metadata, DateTime?, CancellationToken)

public virtual Operation StopInstance(StopInstanceRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Stop a running server.

Parameters
Name Description
request StopInstanceRequest

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
Type Description
Operation

The response received from the server.

StopInstanceAsync(StopInstanceRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> StopInstanceAsync(StopInstanceRequest request, CallOptions options)

Stop a running server.

Parameters
Name Description
request StopInstanceRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallOperation

The call object.

StopInstanceAsync(StopInstanceRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Operation> StopInstanceAsync(StopInstanceRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Stop a running server.

Parameters
Name Description
request StopInstanceRequest

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
Type Description
AsyncUnaryCallOperation

The call object.

SubmitProvisioningConfig(SubmitProvisioningConfigRequest, CallOptions)

public virtual SubmitProvisioningConfigResponse SubmitProvisioningConfig(SubmitProvisioningConfigRequest request, CallOptions options)

Submit a provisiong configuration for a given project.

Parameters
Name Description
request SubmitProvisioningConfigRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
SubmitProvisioningConfigResponse

The response received from the server.

SubmitProvisioningConfig(SubmitProvisioningConfigRequest, Metadata, DateTime?, CancellationToken)

public virtual SubmitProvisioningConfigResponse SubmitProvisioningConfig(SubmitProvisioningConfigRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Submit a provisiong configuration for a given project.

Parameters
Name Description
request SubmitProvisioningConfigRequest

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
Type Description
SubmitProvisioningConfigResponse

The response received from the server.

SubmitProvisioningConfigAsync(SubmitProvisioningConfigRequest, CallOptions)

public virtual AsyncUnaryCall<SubmitProvisioningConfigResponse> SubmitProvisioningConfigAsync(SubmitProvisioningConfigRequest request, CallOptions options)

Submit a provisiong configuration for a given project.

Parameters
Name Description
request SubmitProvisioningConfigRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallSubmitProvisioningConfigResponse

The call object.

SubmitProvisioningConfigAsync(SubmitProvisioningConfigRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<SubmitProvisioningConfigResponse> SubmitProvisioningConfigAsync(SubmitProvisioningConfigRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Submit a provisiong configuration for a given project.

Parameters
Name Description
request SubmitProvisioningConfigRequest

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
Type Description
AsyncUnaryCallSubmitProvisioningConfigResponse

The call object.

UpdateInstance(UpdateInstanceRequest, CallOptions)

public virtual Operation UpdateInstance(UpdateInstanceRequest request, CallOptions options)

Update details of a single server.

Parameters
Name Description
request UpdateInstanceRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
Operation

The response received from the server.

UpdateInstance(UpdateInstanceRequest, Metadata, DateTime?, CancellationToken)

public virtual Operation UpdateInstance(UpdateInstanceRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Update details of a single server.

Parameters
Name Description
request UpdateInstanceRequest

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
Type Description
Operation

The response received from the server.

UpdateInstanceAsync(UpdateInstanceRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> UpdateInstanceAsync(UpdateInstanceRequest request, CallOptions options)

Update details of a single server.

Parameters
Name Description
request UpdateInstanceRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallOperation

The call object.

UpdateInstanceAsync(UpdateInstanceRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Operation> UpdateInstanceAsync(UpdateInstanceRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Update details of a single server.

Parameters
Name Description
request UpdateInstanceRequest

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
Type Description
AsyncUnaryCallOperation

The call object.

UpdateNetwork(UpdateNetworkRequest, CallOptions)

public virtual Operation UpdateNetwork(UpdateNetworkRequest request, CallOptions options)

Update details of a single network.

Parameters
Name Description
request UpdateNetworkRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
Operation

The response received from the server.

UpdateNetwork(UpdateNetworkRequest, Metadata, DateTime?, CancellationToken)

public virtual Operation UpdateNetwork(UpdateNetworkRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Update details of a single network.

Parameters
Name Description
request UpdateNetworkRequest

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
Type Description
Operation

The response received from the server.

UpdateNetworkAsync(UpdateNetworkRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> UpdateNetworkAsync(UpdateNetworkRequest request, CallOptions options)

Update details of a single network.

Parameters
Name Description
request UpdateNetworkRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallOperation

The call object.

UpdateNetworkAsync(UpdateNetworkRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Operation> UpdateNetworkAsync(UpdateNetworkRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Update details of a single network.

Parameters
Name Description
request UpdateNetworkRequest

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
Type Description
AsyncUnaryCallOperation

The call object.

UpdateNfsShare(UpdateNfsShareRequest, CallOptions)

public virtual Operation UpdateNfsShare(UpdateNfsShareRequest request, CallOptions options)

Update details of a single NFS share.

Parameters
Name Description
request UpdateNfsShareRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
Operation

The response received from the server.

UpdateNfsShare(UpdateNfsShareRequest, Metadata, DateTime?, CancellationToken)

public virtual Operation UpdateNfsShare(UpdateNfsShareRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Update details of a single NFS share.

Parameters
Name Description
request UpdateNfsShareRequest

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
Type Description
Operation

The response received from the server.

UpdateNfsShareAsync(UpdateNfsShareRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> UpdateNfsShareAsync(UpdateNfsShareRequest request, CallOptions options)

Update details of a single NFS share.

Parameters
Name Description
request UpdateNfsShareRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallOperation

The call object.

UpdateNfsShareAsync(UpdateNfsShareRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Operation> UpdateNfsShareAsync(UpdateNfsShareRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Update details of a single NFS share.

Parameters
Name Description
request UpdateNfsShareRequest

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
Type Description
AsyncUnaryCallOperation

The call object.

UpdateProvisioningConfig(UpdateProvisioningConfigRequest, CallOptions)

public virtual ProvisioningConfig UpdateProvisioningConfig(UpdateProvisioningConfigRequest request, CallOptions options)

Update existing ProvisioningConfig.

Parameters
Name Description
request UpdateProvisioningConfigRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
ProvisioningConfig

The response received from the server.

UpdateProvisioningConfig(UpdateProvisioningConfigRequest, Metadata, DateTime?, CancellationToken)

public virtual ProvisioningConfig UpdateProvisioningConfig(UpdateProvisioningConfigRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Update existing ProvisioningConfig.

Parameters
Name Description
request UpdateProvisioningConfigRequest

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
Type Description
ProvisioningConfig

The response received from the server.

UpdateProvisioningConfigAsync(UpdateProvisioningConfigRequest, CallOptions)

public virtual AsyncUnaryCall<ProvisioningConfig> UpdateProvisioningConfigAsync(UpdateProvisioningConfigRequest request, CallOptions options)

Update existing ProvisioningConfig.

Parameters
Name Description
request UpdateProvisioningConfigRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallProvisioningConfig

The call object.

UpdateProvisioningConfigAsync(UpdateProvisioningConfigRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<ProvisioningConfig> UpdateProvisioningConfigAsync(UpdateProvisioningConfigRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Update existing ProvisioningConfig.

Parameters
Name Description
request UpdateProvisioningConfigRequest

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
Type Description
AsyncUnaryCallProvisioningConfig

The call object.

UpdateVolume(UpdateVolumeRequest, CallOptions)

public virtual Operation UpdateVolume(UpdateVolumeRequest request, CallOptions options)

Update details of a single storage volume.

Parameters
Name Description
request UpdateVolumeRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
Operation

The response received from the server.

UpdateVolume(UpdateVolumeRequest, Metadata, DateTime?, CancellationToken)

public virtual Operation UpdateVolume(UpdateVolumeRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Update details of a single storage volume.

Parameters
Name Description
request UpdateVolumeRequest

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
Type Description
Operation

The response received from the server.

UpdateVolumeAsync(UpdateVolumeRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> UpdateVolumeAsync(UpdateVolumeRequest request, CallOptions options)

Update details of a single storage volume.

Parameters
Name Description
request UpdateVolumeRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallOperation

The call object.

UpdateVolumeAsync(UpdateVolumeRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Operation> UpdateVolumeAsync(UpdateVolumeRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Update details of a single storage volume.

Parameters
Name Description
request UpdateVolumeRequest

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
Type Description
AsyncUnaryCallOperation

The call object.