Bare Metal Solution v2 API - Class BareMetalSolution.BareMetalSolutionClient (1.3.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
NameDescription
callInvokerCallInvoker

The callInvoker to use to make remote calls.

BareMetalSolutionClient(ChannelBase)

public BareMetalSolutionClient(ChannelBase channel)

Creates a new client for BareMetalSolution

Parameter
NameDescription
channelChannelBase

The channel to use to make remote calls.

BareMetalSolutionClient(ClientBaseConfiguration)

protected BareMetalSolutionClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
NameDescription
configurationClientBaseClientBaseConfiguration

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
TypeDescription
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
TypeDescription
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
NameDescription
requestCreateNfsShareRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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
NameDescription
requestCreateNfsShareRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
Operation

The response received from the server.

CreateNfsShareAsync(CreateNfsShareRequest, CallOptions)

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

Create an NFS share.

Parameters
NameDescription
requestCreateNfsShareRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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
NameDescription
requestCreateNfsShareRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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
TypeDescription
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
NameDescription
requestCreateProvisioningConfigRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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
NameDescription
requestCreateProvisioningConfigRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
ProvisioningConfig

The response received from the server.

CreateProvisioningConfigAsync(CreateProvisioningConfigRequest, CallOptions)

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

Create new ProvisioningConfig.

Parameters
NameDescription
requestCreateProvisioningConfigRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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
NameDescription
requestCreateProvisioningConfigRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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
NameDescription
requestCreateSSHKeyRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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
NameDescription
requestCreateSSHKeyRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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
NameDescription
requestCreateSSHKeyRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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
NameDescription
requestCreateSSHKeyRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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
NameDescription
requestCreateVolumeSnapshotRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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
NameDescription
requestCreateVolumeSnapshotRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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
NameDescription
requestCreateVolumeSnapshotRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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
NameDescription
requestCreateVolumeSnapshotRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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
NameDescription
requestDeleteNfsShareRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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
NameDescription
requestDeleteNfsShareRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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
NameDescription
requestDeleteNfsShareRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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
NameDescription
requestDeleteNfsShareRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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
NameDescription
requestDeleteSSHKeyRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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
NameDescription
requestDeleteSSHKeyRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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
NameDescription
requestDeleteSSHKeyRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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
NameDescription
requestDeleteSSHKeyRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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
NameDescription
requestDeleteVolumeSnapshotRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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
NameDescription
requestDeleteVolumeSnapshotRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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
NameDescription
requestDeleteVolumeSnapshotRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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
NameDescription
requestDeleteVolumeSnapshotRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallEmpty

The call object.

DetachLun(DetachLunRequest, CallOptions)

public virtual Operation DetachLun(DetachLunRequest request, CallOptions options)

Detach LUN from Instance.

Parameters
NameDescription
requestDetachLunRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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
NameDescription
requestDetachLunRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
Operation

The response received from the server.

DetachLunAsync(DetachLunRequest, CallOptions)

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

Detach LUN from Instance.

Parameters
NameDescription
requestDetachLunRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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
NameDescription
requestDetachLunRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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
NameDescription
requestDisableInteractiveSerialConsoleRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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
NameDescription
requestDisableInteractiveSerialConsoleRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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
NameDescription
requestDisableInteractiveSerialConsoleRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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
NameDescription
requestDisableInteractiveSerialConsoleRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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
NameDescription
requestEnableInteractiveSerialConsoleRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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
NameDescription
requestEnableInteractiveSerialConsoleRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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
NameDescription
requestEnableInteractiveSerialConsoleRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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
NameDescription
requestEnableInteractiveSerialConsoleRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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
NameDescription
requestEvictLunRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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
NameDescription
requestEvictLunRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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