Class BareMetalSolutionGrpc.BareMetalSolutionImplBase (0.11.0)

public abstract static class BareMetalSolutionGrpc.BareMetalSolutionImplBase implements BindableService

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 > BareMetalSolutionGrpc.BareMetalSolutionImplBase

Implements

io.grpc.BindableService

Constructors

BareMetalSolutionImplBase()

public BareMetalSolutionImplBase()

Methods

bindService()

public final ServerServiceDefinition bindService()
Returns
TypeDescription
io.grpc.ServerServiceDefinition

detachLun(DetachLunRequest request, StreamObserver<Operation> responseObserver)

public void detachLun(DetachLunRequest request, StreamObserver<Operation> responseObserver)

Detach LUN from Instance.

Parameters
NameDescription
requestDetachLunRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

getInstance(GetInstanceRequest request, StreamObserver<Instance> responseObserver)

public void getInstance(GetInstanceRequest request, StreamObserver<Instance> responseObserver)

Get details about a single server.

Parameters
NameDescription
requestGetInstanceRequest
responseObserverio.grpc.stub.StreamObserver<Instance>

getLun(GetLunRequest request, StreamObserver<Lun> responseObserver)

public void getLun(GetLunRequest request, StreamObserver<Lun> responseObserver)

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

Parameters
NameDescription
requestGetLunRequest
responseObserverio.grpc.stub.StreamObserver<Lun>

getNetwork(GetNetworkRequest request, StreamObserver<Network> responseObserver)

public void getNetwork(GetNetworkRequest request, StreamObserver<Network> responseObserver)

Get details of a single network.

Parameters
NameDescription
requestGetNetworkRequest
responseObserverio.grpc.stub.StreamObserver<Network>

getNfsShare(GetNfsShareRequest request, StreamObserver<NfsShare> responseObserver)

public void getNfsShare(GetNfsShareRequest request, StreamObserver<NfsShare> responseObserver)

Get details of a single NFS share.

Parameters
NameDescription
requestGetNfsShareRequest
responseObserverio.grpc.stub.StreamObserver<NfsShare>

getVolume(GetVolumeRequest request, StreamObserver<Volume> responseObserver)

public void getVolume(GetVolumeRequest request, StreamObserver<Volume> responseObserver)

Get details of a single storage volume.

Parameters
NameDescription
requestGetVolumeRequest
responseObserverio.grpc.stub.StreamObserver<Volume>

listInstances(ListInstancesRequest request, StreamObserver<ListInstancesResponse> responseObserver)

public void listInstances(ListInstancesRequest request, StreamObserver<ListInstancesResponse> responseObserver)

List servers in a given project and location.

Parameters
NameDescription
requestListInstancesRequest
responseObserverio.grpc.stub.StreamObserver<ListInstancesResponse>

listLuns(ListLunsRequest request, StreamObserver<ListLunsResponse> responseObserver)

public void listLuns(ListLunsRequest request, StreamObserver<ListLunsResponse> responseObserver)

List storage volume luns for given storage volume.

Parameters
NameDescription
requestListLunsRequest
responseObserverio.grpc.stub.StreamObserver<ListLunsResponse>

listNetworkUsage(ListNetworkUsageRequest request, StreamObserver<ListNetworkUsageResponse> responseObserver)

public void listNetworkUsage(ListNetworkUsageRequest request, StreamObserver<ListNetworkUsageResponse> responseObserver)

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

Parameters
NameDescription
requestListNetworkUsageRequest
responseObserverio.grpc.stub.StreamObserver<ListNetworkUsageResponse>

listNetworks(ListNetworksRequest request, StreamObserver<ListNetworksResponse> responseObserver)

public void listNetworks(ListNetworksRequest request, StreamObserver<ListNetworksResponse> responseObserver)

List network in a given project and location.

Parameters
NameDescription
requestListNetworksRequest
responseObserverio.grpc.stub.StreamObserver<ListNetworksResponse>

listNfsShares(ListNfsSharesRequest request, StreamObserver<ListNfsSharesResponse> responseObserver)

public void listNfsShares(ListNfsSharesRequest request, StreamObserver<ListNfsSharesResponse> responseObserver)

List NFS shares.

Parameters
NameDescription
requestListNfsSharesRequest
responseObserverio.grpc.stub.StreamObserver<ListNfsSharesResponse>

listVolumes(ListVolumesRequest request, StreamObserver<ListVolumesResponse> responseObserver)

public void listVolumes(ListVolumesRequest request, StreamObserver<ListVolumesResponse> responseObserver)

List storage volumes in a given project and location.

Parameters
NameDescription
requestListVolumesRequest
responseObserverio.grpc.stub.StreamObserver<ListVolumesResponse>

resetInstance(ResetInstanceRequest request, StreamObserver<Operation> responseObserver)

public void resetInstance(ResetInstanceRequest request, StreamObserver<Operation> responseObserver)

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

Parameters
NameDescription
requestResetInstanceRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

resizeVolume(ResizeVolumeRequest request, StreamObserver<Operation> responseObserver)

public void resizeVolume(ResizeVolumeRequest request, StreamObserver<Operation> responseObserver)

Emergency Volume resize.

Parameters
NameDescription
requestResizeVolumeRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

startInstance(StartInstanceRequest request, StreamObserver<Operation> responseObserver)

public void startInstance(StartInstanceRequest request, StreamObserver<Operation> responseObserver)

Starts a server that was shutdown.

Parameters
NameDescription
requestStartInstanceRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

stopInstance(StopInstanceRequest request, StreamObserver<Operation> responseObserver)

public void stopInstance(StopInstanceRequest request, StreamObserver<Operation> responseObserver)

Stop a running server.

Parameters
NameDescription
requestStopInstanceRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

updateInstance(UpdateInstanceRequest request, StreamObserver<Operation> responseObserver)

public void updateInstance(UpdateInstanceRequest request, StreamObserver<Operation> responseObserver)

Update details of a single server.

Parameters
NameDescription
requestUpdateInstanceRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

updateNetwork(UpdateNetworkRequest request, StreamObserver<Operation> responseObserver)

public void updateNetwork(UpdateNetworkRequest request, StreamObserver<Operation> responseObserver)

Update details of a single network.

Parameters
NameDescription
requestUpdateNetworkRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

updateNfsShare(UpdateNfsShareRequest request, StreamObserver<Operation> responseObserver)

public void updateNfsShare(UpdateNfsShareRequest request, StreamObserver<Operation> responseObserver)

Update details of a single NFS share.

Parameters
NameDescription
requestUpdateNfsShareRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

updateVolume(UpdateVolumeRequest request, StreamObserver<Operation> responseObserver)

public void updateVolume(UpdateVolumeRequest request, StreamObserver<Operation> responseObserver)

Update details of a single storage volume.

Parameters
NameDescription
requestUpdateVolumeRequest
responseObserverio.grpc.stub.StreamObserver<Operation>