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.BareMetalSolutionClientNamespace
Google.Cloud.BareMetalSolution.V2Assembly
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 |
---|