public static final class BareMetalSolutionGrpc.BareMetalSolutionFutureStub extends AbstractFutureStub<BareMetalSolutionGrpc.BareMetalSolutionFutureStub>
A stub to allow clients to do ListenableFuture-style rpc calls to service BareMetalSolution.
Performs management operations on Bare Metal Solution servers.
The baremetalsolution.googleapis.com
service provides management
capabilities for Bare Metal Solution servers. To access the API methods, you
must assign Bare Metal Solution IAM roles containing the desired permissions
to your staff in your Google Cloud project. You must also enable the Bare
Metal Solution API. Once enabled, the methods act
upon specific servers in your Bare Metal Solution environment.
Inheritance
java.lang.Object >
io.grpc.stub.AbstractStub >
io.grpc.stub.AbstractFutureStub >
BareMetalSolutionGrpc.BareMetalSolutionFutureStub
Inherited Members
io.grpc.stub.AbstractFutureStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel)
io.grpc.stub.AbstractFutureStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel,io.grpc.CallOptions)
io.grpc.stub.AbstractStub.<T>withOption(io.grpc.CallOptions.Key<T>,T)
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)
io.grpc.stub.AbstractStub.getCallOptions()
io.grpc.stub.AbstractStub.getChannel()
io.grpc.stub.AbstractStub.withCallCredentials(io.grpc.CallCredentials)
io.grpc.stub.AbstractStub.withChannel(io.grpc.Channel)
io.grpc.stub.AbstractStub.withCompression(java.lang.String)
io.grpc.stub.AbstractStub.withDeadline(io.grpc.Deadline)
io.grpc.stub.AbstractStub.withDeadlineAfter(java.time.Duration)
io.grpc.stub.AbstractStub.withDeadlineAfter(long,java.util.concurrent.TimeUnit)
io.grpc.stub.AbstractStub.withExecutor(java.util.concurrent.Executor)
io.grpc.stub.AbstractStub.withInterceptors(io.grpc.ClientInterceptor...)
io.grpc.stub.AbstractStub.withMaxInboundMessageSize(int)
io.grpc.stub.AbstractStub.withMaxOutboundMessageSize(int)
io.grpc.stub.AbstractStub.withOnReadyThreshold(int)
io.grpc.stub.AbstractStub.withWaitForReady()
Methods
protected BareMetalSolutionGrpc.BareMetalSolutionFutureStub build(Channel channel, CallOptions callOptions)
Parameters |
Name |
Description |
channel |
io.grpc.Channel
|
callOptions |
io.grpc.CallOptions
|
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)
public ListenableFuture<Operation> createNfsShare(CreateNfsShareRequest request)
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Operation> |
|
public ListenableFuture<ProvisioningConfig> createProvisioningConfig(CreateProvisioningConfigRequest request)
Create new ProvisioningConfig.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<ProvisioningConfig> |
|
public ListenableFuture<SSHKey> createSSHKey(CreateSSHKeyRequest request)
Register a public SSH key in the specified project for use with the
interactive serial console feature.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<SSHKey> |
|
public ListenableFuture<VolumeSnapshot> createVolumeSnapshot(CreateVolumeSnapshotRequest request)
Takes a snapshot of a boot volume.
Returns INVALID_ARGUMENT if called for a non-boot volume.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<VolumeSnapshot> |
|
public ListenableFuture<Operation> deleteNfsShare(DeleteNfsShareRequest request)
Delete an NFS share. The underlying volume is automatically deleted.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Operation> |
|
public ListenableFuture<Empty> deleteSSHKey(DeleteSSHKeyRequest request)
Deletes a public SSH key registered in the specified project.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Empty> |
|
public ListenableFuture<Empty> deleteVolumeSnapshot(DeleteVolumeSnapshotRequest request)
Deletes a volume snapshot.
Returns INVALID_ARGUMENT if called for a non-boot volume.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Empty> |
|
public ListenableFuture<Operation> detachLun(DetachLunRequest request)
Detach LUN from Instance.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Operation> |
|
public ListenableFuture<Operation> disableInteractiveSerialConsole(DisableInteractiveSerialConsoleRequest request)
Disable the interactive serial console feature on an instance.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Operation> |
|
public ListenableFuture<Operation> enableInteractiveSerialConsole(EnableInteractiveSerialConsoleRequest request)
Enable the interactive serial console feature on an instance.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Operation> |
|
public ListenableFuture<Operation> evictLun(EvictLunRequest request)
Skips lun's cooloff and deletes it now.
Lun must be in cooloff state.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Operation> |
|
public ListenableFuture<Operation> evictVolume(EvictVolumeRequest request)
Skips volume's cooloff and deletes it now.
Volume must be in cooloff state.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Operation> |
|
public ListenableFuture<Instance> getInstance(GetInstanceRequest request)
Get details about a single server.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Instance> |
|
public ListenableFuture<Lun> getLun(GetLunRequest request)
Get details of a single storage logical unit number(LUN).
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Lun> |
|
public ListenableFuture<Network> getNetwork(GetNetworkRequest request)
Get details of a single network.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Network> |
|
public ListenableFuture<NfsShare> getNfsShare(GetNfsShareRequest request)
Get details of a single NFS share.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<NfsShare> |
|
public ListenableFuture<ProvisioningConfig> getProvisioningConfig(GetProvisioningConfigRequest request)
Get ProvisioningConfig by name.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<ProvisioningConfig> |
|
public ListenableFuture<Volume> getVolume(GetVolumeRequest request)
Get details of a single storage volume.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Volume> |
|
public ListenableFuture<VolumeSnapshot> getVolumeSnapshot(GetVolumeSnapshotRequest request)
Returns the specified snapshot resource.
Returns INVALID_ARGUMENT if called for a non-boot volume.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<VolumeSnapshot> |
|
public ListenableFuture<ListInstancesResponse> listInstances(ListInstancesRequest request)
List servers in a given project and location.
public ListenableFuture<ListLunsResponse> listLuns(ListLunsRequest request)
List storage volume luns for given storage volume.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<ListLunsResponse> |
|
public ListenableFuture<ListNetworkUsageResponse> listNetworkUsage(ListNetworkUsageRequest request)
List all Networks (and used IPs for each Network) in the vendor account
associated with the specified project.
public ListenableFuture<ListNetworksResponse> listNetworks(ListNetworksRequest request)
List network in a given project and location.
public ListenableFuture<ListNfsSharesResponse> listNfsShares(ListNfsSharesRequest request)
public ListenableFuture<ListOSImagesResponse> listOSImages(ListOSImagesRequest request)
Retrieves the list of OS images which are currently approved.
public ListenableFuture<ListProvisioningQuotasResponse> listProvisioningQuotas(ListProvisioningQuotasRequest request)
List the budget details to provision resources on a given project.
public ListenableFuture<ListSSHKeysResponse> listSSHKeys(ListSSHKeysRequest request)
Lists the public SSH keys registered for the specified project.
These SSH keys are used only for the interactive serial console feature.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<ListSSHKeysResponse> |
|
public ListenableFuture<ListVolumeSnapshotsResponse> listVolumeSnapshots(ListVolumeSnapshotsRequest request)
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.
public ListenableFuture<ListVolumesResponse> listVolumes(ListVolumesRequest request)
List storage volumes in a given project and location.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<ListVolumesResponse> |
|
public ListenableFuture<Instance> renameInstance(RenameInstanceRequest request)
RenameInstance sets a new name for an instance.
Use with caution, previous names become immediately invalidated.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Instance> |
|
public ListenableFuture<Network> renameNetwork(RenameNetworkRequest request)
RenameNetwork sets a new name for a network.
Use with caution, previous names become immediately invalidated.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Network> |
|
public ListenableFuture<NfsShare> renameNfsShare(RenameNfsShareRequest request)
RenameNfsShare sets a new name for an nfsshare.
Use with caution, previous names become immediately invalidated.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<NfsShare> |
|
public ListenableFuture<Volume> renameVolume(RenameVolumeRequest request)
RenameVolume sets a new name for a volume.
Use with caution, previous names become immediately invalidated.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Volume> |
|
public ListenableFuture<Operation> resetInstance(ResetInstanceRequest request)
Perform an ungraceful, hard reset on a server. Equivalent to shutting the
power off and then turning it back on.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Operation> |
|
public ListenableFuture<Operation> resizeVolume(ResizeVolumeRequest request)
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Operation> |
|
public ListenableFuture<Operation> restoreVolumeSnapshot(RestoreVolumeSnapshotRequest request)
Uses the specified snapshot to restore its parent volume.
Returns INVALID_ARGUMENT if called for a non-boot volume.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Operation> |
|
public ListenableFuture<Operation> startInstance(StartInstanceRequest request)
Starts a server that was shutdown.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Operation> |
|
public ListenableFuture<Operation> stopInstance(StopInstanceRequest request)
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Operation> |
|
public ListenableFuture<SubmitProvisioningConfigResponse> submitProvisioningConfig(SubmitProvisioningConfigRequest request)
Submit a provisiong configuration for a given project.
public ListenableFuture<Operation> updateInstance(UpdateInstanceRequest request)
Update details of a single server.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Operation> |
|
public ListenableFuture<Operation> updateNetwork(UpdateNetworkRequest request)
Update details of a single network.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Operation> |
|
public ListenableFuture<Operation> updateNfsShare(UpdateNfsShareRequest request)
Update details of a single NFS share.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Operation> |
|
public ListenableFuture<ProvisioningConfig> updateProvisioningConfig(UpdateProvisioningConfigRequest request)
Update existing ProvisioningConfig.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<ProvisioningConfig> |
|
public ListenableFuture<Operation> updateVolume(UpdateVolumeRequest request)
Update details of a single storage volume.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Operation> |
|