public static final class BareMetalSolutionGrpc.BareMetalSolutionBlockingStub extends AbstractBlockingStub<BareMetalSolutionGrpc.BareMetalSolutionBlockingStub>
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.AbstractBlockingStub >
BareMetalSolutionGrpc.BareMetalSolutionBlockingStub
Inherited Members
io.grpc.stub.AbstractBlockingStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel)
io.grpc.stub.AbstractBlockingStub.<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(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.withWaitForReady()
Methods
protected BareMetalSolutionGrpc.BareMetalSolutionBlockingStub build(Channel channel, CallOptions callOptions)
Parameters
Name | Description |
channel | io.grpc.Channel
|
callOptions | io.grpc.CallOptions
|
Returns
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)
public Operation detachLun(DetachLunRequest request)
Detach LUN from Instance.
Parameter
Returns
public Instance getInstance(GetInstanceRequest request)
Get details about a single server.
Parameter
Returns
public Lun getLun(GetLunRequest request)
Get details of a single storage logical unit number(LUN).
Parameter
Returns
public Network getNetwork(GetNetworkRequest request)
Get details of a single network.
Parameter
Returns
public NfsShare getNfsShare(GetNfsShareRequest request)
Get details of a single NFS share.
Parameter
Returns
public Volume getVolume(GetVolumeRequest request)
Get details of a single storage volume.
Parameter
Returns
public ListInstancesResponse listInstances(ListInstancesRequest request)
List servers in a given project and location.
Parameter
Returns
public ListLunsResponse listLuns(ListLunsRequest request)
List storage volume luns for given storage volume.
Parameter
Returns
public ListNetworkUsageResponse listNetworkUsage(ListNetworkUsageRequest request)
List all Networks (and used IPs for each Network) in the vendor account
associated with the specified project.
Parameter
Returns
public ListNetworksResponse listNetworks(ListNetworksRequest request)
List network in a given project and location.
Parameter
Returns
public ListNfsSharesResponse listNfsShares(ListNfsSharesRequest request)
Parameter
Returns
public ListVolumesResponse listVolumes(ListVolumesRequest request)
List storage volumes in a given project and location.
Parameter
Returns
public 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
Returns
public Operation resizeVolume(ResizeVolumeRequest request)
Parameter
Returns
public Operation startInstance(StartInstanceRequest request)
Starts a server that was shutdown.
Parameter
Returns
public Operation stopInstance(StopInstanceRequest request)
Parameter
Returns
public Operation updateInstance(UpdateInstanceRequest request)
Update details of a single server.
Parameter
Returns
public Operation updateNetwork(UpdateNetworkRequest request)
Update details of a single network.
Parameter
Returns
public Operation updateNfsShare(UpdateNfsShareRequest request)
Update details of a single NFS share.
Parameter
Returns
public Operation updateVolume(UpdateVolumeRequest request)
Update details of a single storage volume.
Parameter
Returns