public static final class BareMetalSolutionGrpc.BareMetalSolutionFutureStub extends AbstractFutureStub<BareMetalSolutionGrpc.BareMetalSolutionFutureStub>
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(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.BareMetalSolutionFutureStub 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 ListenableFuture<SnapshotSchedulePolicy> createSnapshotSchedulePolicy(CreateSnapshotSchedulePolicyRequest request)
Create a snapshot schedule policy in the specified project.
Parameter
Returns
public ListenableFuture<VolumeSnapshot> createVolumeSnapshot(CreateVolumeSnapshotRequest request)
Create a storage volume snapshot in a containing volume.
Parameter
Returns
Type | Description |
com.google.common.util.concurrent.ListenableFuture<VolumeSnapshot> | |
public ListenableFuture<Empty> deleteSnapshotSchedulePolicy(DeleteSnapshotSchedulePolicyRequest request)
Delete a named snapshot schedule policy.
Parameter
Returns
Type | Description |
com.google.common.util.concurrent.ListenableFuture<Empty> | |
public ListenableFuture<Empty> deleteVolumeSnapshot(DeleteVolumeSnapshotRequest request)
Deletes a storage volume snapshot for a given volume.
Parameter
Returns
Type | Description |
com.google.common.util.concurrent.ListenableFuture<Empty> | |
public ListenableFuture<Instance> getInstance(GetInstanceRequest request)
Get details about a single server.
Parameter
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).
Parameter
Returns
Type | Description |
com.google.common.util.concurrent.ListenableFuture<Lun> | |
public ListenableFuture<Network> getNetwork(GetNetworkRequest request)
Get details of a single network.
Parameter
Returns
Type | Description |
com.google.common.util.concurrent.ListenableFuture<Network> | |
public ListenableFuture<SnapshotSchedulePolicy> getSnapshotSchedulePolicy(GetSnapshotSchedulePolicyRequest request)
Get details of a single snapshot schedule policy.
Parameter
Returns
public ListenableFuture<Volume> getVolume(GetVolumeRequest request)
Get details of a single storage volume.
Parameter
Returns
Type | Description |
com.google.common.util.concurrent.ListenableFuture<Volume> | |
public ListenableFuture<VolumeSnapshot> getVolumeSnapshot(GetVolumeSnapshotRequest request)
Get details of a single storage volume snapshot.
Parameter
Returns
Type | Description |
com.google.common.util.concurrent.ListenableFuture<VolumeSnapshot> | |
public ListenableFuture<ListInstancesResponse> listInstances(ListInstancesRequest request)
List servers in a given project and location.
Parameter
Returns
public ListenableFuture<ListLunsResponse> listLuns(ListLunsRequest request)
List storage volume luns for given storage volume.
Parameter
Returns
Type | Description |
com.google.common.util.concurrent.ListenableFuture<ListLunsResponse> | |
public ListenableFuture<ListNetworksResponse> listNetworks(ListNetworksRequest request)
List network in a given project and location.
Parameter
Returns
public ListenableFuture<ListSnapshotSchedulePoliciesResponse> listSnapshotSchedulePolicies(ListSnapshotSchedulePoliciesRequest request)
List snapshot schedule policies in a given project and location.
Parameter
Returns
public ListenableFuture<ListVolumeSnapshotsResponse> listVolumeSnapshots(ListVolumeSnapshotsRequest request)
List storage volume snapshots for given storage volume.
Parameter
Returns
public ListenableFuture<ListVolumesResponse> listVolumes(ListVolumesRequest request)
List storage volumes in a given project and location.
Parameter
Returns
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
Returns
Type | Description |
com.google.common.util.concurrent.ListenableFuture<Operation> | |
public ListenableFuture<Operation> restoreVolumeSnapshot(RestoreVolumeSnapshotRequest request)
Restore a storage volume snapshot to its containing volume.
Parameter
Returns
Type | Description |
com.google.common.util.concurrent.ListenableFuture<Operation> | |
public ListenableFuture<SnapshotSchedulePolicy> updateSnapshotSchedulePolicy(UpdateSnapshotSchedulePolicyRequest request)
Update a snapshot schedule policy in the specified project.
Parameter
Returns
public ListenableFuture<Operation> updateVolume(UpdateVolumeRequest request)
Update details of a single storage volume.
Parameter
Returns
Type | Description |
com.google.common.util.concurrent.ListenableFuture<Operation> | |