Class BareMetalSolutionGrpc.BareMetalSolutionFutureStub (0.18.0)

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

Methods

build(Channel channel, CallOptions callOptions)

protected BareMetalSolutionGrpc.BareMetalSolutionFutureStub build(Channel channel, CallOptions callOptions)
Parameters
NameDescription
channelio.grpc.Channel
callOptionsio.grpc.CallOptions
Returns
TypeDescription
BareMetalSolutionGrpc.BareMetalSolutionFutureStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

detachLun(DetachLunRequest request)

public ListenableFuture<Operation> detachLun(DetachLunRequest request)

Detach LUN from Instance.

Parameter
NameDescription
requestDetachLunRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

getInstance(GetInstanceRequest request)

public ListenableFuture<Instance> getInstance(GetInstanceRequest request)

Get details about a single server.

Parameter
NameDescription
requestGetInstanceRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Instance>

getLun(GetLunRequest request)

public ListenableFuture<Lun> getLun(GetLunRequest request)

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

Parameter
NameDescription
requestGetLunRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Lun>

getNetwork(GetNetworkRequest request)

public ListenableFuture<Network> getNetwork(GetNetworkRequest request)

Get details of a single network.

Parameter
NameDescription
requestGetNetworkRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Network>

getNfsShare(GetNfsShareRequest request)

public ListenableFuture<NfsShare> getNfsShare(GetNfsShareRequest request)

Get details of a single NFS share.

Parameter
NameDescription
requestGetNfsShareRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<NfsShare>

getVolume(GetVolumeRequest request)

public ListenableFuture<Volume> getVolume(GetVolumeRequest request)

Get details of a single storage volume.

Parameter
NameDescription
requestGetVolumeRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Volume>

listInstances(ListInstancesRequest request)

public ListenableFuture<ListInstancesResponse> listInstances(ListInstancesRequest request)

List servers in a given project and location.

Parameter
NameDescription
requestListInstancesRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<ListInstancesResponse>

listLuns(ListLunsRequest request)

public ListenableFuture<ListLunsResponse> listLuns(ListLunsRequest request)

List storage volume luns for given storage volume.

Parameter
NameDescription
requestListLunsRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<ListLunsResponse>

listNetworkUsage(ListNetworkUsageRequest request)

public ListenableFuture<ListNetworkUsageResponse> listNetworkUsage(ListNetworkUsageRequest request)

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

Parameter
NameDescription
requestListNetworkUsageRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<ListNetworkUsageResponse>

listNetworks(ListNetworksRequest request)

public ListenableFuture<ListNetworksResponse> listNetworks(ListNetworksRequest request)

List network in a given project and location.

Parameter
NameDescription
requestListNetworksRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<ListNetworksResponse>

listNfsShares(ListNfsSharesRequest request)

public ListenableFuture<ListNfsSharesResponse> listNfsShares(ListNfsSharesRequest request)

List NFS shares.

Parameter
NameDescription
requestListNfsSharesRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<ListNfsSharesResponse>

listVolumes(ListVolumesRequest request)

public ListenableFuture<ListVolumesResponse> listVolumes(ListVolumesRequest request)

List storage volumes in a given project and location.

Parameter
NameDescription
requestListVolumesRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<ListVolumesResponse>

resetInstance(ResetInstanceRequest request)

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.

Parameter
NameDescription
requestResetInstanceRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

resizeVolume(ResizeVolumeRequest request)

public ListenableFuture<Operation> resizeVolume(ResizeVolumeRequest request)

Emergency Volume resize.

Parameter
NameDescription
requestResizeVolumeRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

startInstance(StartInstanceRequest request)

public ListenableFuture<Operation> startInstance(StartInstanceRequest request)

Starts a server that was shutdown.

Parameter
NameDescription
requestStartInstanceRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

stopInstance(StopInstanceRequest request)

public ListenableFuture<Operation> stopInstance(StopInstanceRequest request)

Stop a running server.

Parameter
NameDescription
requestStopInstanceRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

updateInstance(UpdateInstanceRequest request)

public ListenableFuture<Operation> updateInstance(UpdateInstanceRequest request)

Update details of a single server.

Parameter
NameDescription
requestUpdateInstanceRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

updateNetwork(UpdateNetworkRequest request)

public ListenableFuture<Operation> updateNetwork(UpdateNetworkRequest request)

Update details of a single network.

Parameter
NameDescription
requestUpdateNetworkRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

updateNfsShare(UpdateNfsShareRequest request)

public ListenableFuture<Operation> updateNfsShare(UpdateNfsShareRequest request)

Update details of a single NFS share.

Parameter
NameDescription
requestUpdateNfsShareRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

updateVolume(UpdateVolumeRequest request)

public ListenableFuture<Operation> updateVolume(UpdateVolumeRequest request)

Update details of a single storage volume.

Parameter
NameDescription
requestUpdateVolumeRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>