Class BareMetalSolutionGrpc.BareMetalSolutionFutureStub
- java.lang.Object
-
- io.grpc.stub.AbstractStub<S>
-
- io.grpc.stub.AbstractFutureStub<BareMetalSolutionGrpc.BareMetalSolutionFutureStub>
-
- com.google.cloud.baremetalsolution.v2.BareMetalSolutionGrpc.BareMetalSolutionFutureStub
-
- Enclosing class:
- BareMetalSolutionGrpc
public static final class BareMetalSolutionGrpc.BareMetalSolutionFutureStub extends io.grpc.stub.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.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected BareMetalSolutionGrpc.BareMetalSolutionFutureStub
build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation>
createNfsShare(CreateNfsShareRequest request)
Create an NFS share.com.google.common.util.concurrent.ListenableFuture<ProvisioningConfig>
createProvisioningConfig(CreateProvisioningConfigRequest request)
Create new ProvisioningConfig.com.google.common.util.concurrent.ListenableFuture<SSHKey>
createSSHKey(CreateSSHKeyRequest request)
Register a public SSH key in the specified project for use with the interactive serial console feature.com.google.common.util.concurrent.ListenableFuture<VolumeSnapshot>
createVolumeSnapshot(CreateVolumeSnapshotRequest request)
Takes a snapshot of a boot volume.com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation>
deleteNfsShare(DeleteNfsShareRequest request)
Delete an NFS share.com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty>
deleteSSHKey(DeleteSSHKeyRequest request)
Deletes a public SSH key registered in the specified project.com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty>
deleteVolumeSnapshot(DeleteVolumeSnapshotRequest request)
Deletes a volume snapshot.com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation>
detachLun(DetachLunRequest request)
Detach LUN from Instance.com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation>
disableInteractiveSerialConsole(DisableInteractiveSerialConsoleRequest request)
Disable the interactive serial console feature on an instance.com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation>
enableInteractiveSerialConsole(EnableInteractiveSerialConsoleRequest request)
Enable the interactive serial console feature on an instance.com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation>
evictLun(EvictLunRequest request)
Skips lun's cooloff and deletes it now.com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation>
evictVolume(EvictVolumeRequest request)
Skips volume's cooloff and deletes it now.com.google.common.util.concurrent.ListenableFuture<Instance>
getInstance(GetInstanceRequest request)
Get details about a single server.com.google.common.util.concurrent.ListenableFuture<Lun>
getLun(GetLunRequest request)
Get details of a single storage logical unit number(LUN).com.google.common.util.concurrent.ListenableFuture<Network>
getNetwork(GetNetworkRequest request)
Get details of a single network.com.google.common.util.concurrent.ListenableFuture<NfsShare>
getNfsShare(GetNfsShareRequest request)
Get details of a single NFS share.com.google.common.util.concurrent.ListenableFuture<ProvisioningConfig>
getProvisioningConfig(GetProvisioningConfigRequest request)
Get ProvisioningConfig by name.com.google.common.util.concurrent.ListenableFuture<Volume>
getVolume(GetVolumeRequest request)
Get details of a single storage volume.com.google.common.util.concurrent.ListenableFuture<VolumeSnapshot>
getVolumeSnapshot(GetVolumeSnapshotRequest request)
Returns the specified snapshot resource.com.google.common.util.concurrent.ListenableFuture<ListInstancesResponse>
listInstances(ListInstancesRequest request)
List servers in a given project and location.com.google.common.util.concurrent.ListenableFuture<ListLunsResponse>
listLuns(ListLunsRequest request)
List storage volume luns for given storage volume.com.google.common.util.concurrent.ListenableFuture<ListNetworksResponse>
listNetworks(ListNetworksRequest request)
List network in a given project and location.com.google.common.util.concurrent.ListenableFuture<ListNetworkUsageResponse>
listNetworkUsage(ListNetworkUsageRequest request)
List all Networks (and used IPs for each Network) in the vendor account associated with the specified project.com.google.common.util.concurrent.ListenableFuture<ListNfsSharesResponse>
listNfsShares(ListNfsSharesRequest request)
List NFS shares.com.google.common.util.concurrent.ListenableFuture<ListOSImagesResponse>
listOSImages(ListOSImagesRequest request)
Retrieves the list of OS images which are currently approved.com.google.common.util.concurrent.ListenableFuture<ListProvisioningQuotasResponse>
listProvisioningQuotas(ListProvisioningQuotasRequest request)
List the budget details to provision resources on a given project.com.google.common.util.concurrent.ListenableFuture<ListSSHKeysResponse>
listSSHKeys(ListSSHKeysRequest request)
Lists the public SSH keys registered for the specified project.com.google.common.util.concurrent.ListenableFuture<ListVolumesResponse>
listVolumes(ListVolumesRequest request)
List storage volumes in a given project and location.com.google.common.util.concurrent.ListenableFuture<ListVolumeSnapshotsResponse>
listVolumeSnapshots(ListVolumeSnapshotsRequest request)
Retrieves the list of snapshots for the specified volume.com.google.common.util.concurrent.ListenableFuture<Instance>
renameInstance(RenameInstanceRequest request)
RenameInstance sets a new name for an instance.com.google.common.util.concurrent.ListenableFuture<Network>
renameNetwork(RenameNetworkRequest request)
RenameNetwork sets a new name for a network.com.google.common.util.concurrent.ListenableFuture<NfsShare>
renameNfsShare(RenameNfsShareRequest request)
RenameNfsShare sets a new name for an nfsshare.com.google.common.util.concurrent.ListenableFuture<Volume>
renameVolume(RenameVolumeRequest request)
RenameVolume sets a new name for a volume.com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation>
resetInstance(ResetInstanceRequest request)
Perform an ungraceful, hard reset on a server.com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation>
resizeVolume(ResizeVolumeRequest request)
Emergency Volume resize.com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation>
restoreVolumeSnapshot(RestoreVolumeSnapshotRequest request)
Uses the specified snapshot to restore its parent volume.com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation>
startInstance(StartInstanceRequest request)
Starts a server that was shutdown.com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation>
stopInstance(StopInstanceRequest request)
Stop a running server.com.google.common.util.concurrent.ListenableFuture<SubmitProvisioningConfigResponse>
submitProvisioningConfig(SubmitProvisioningConfigRequest request)
Submit a provisiong configuration for a given project.com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation>
updateInstance(UpdateInstanceRequest request)
Update details of a single server.com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation>
updateNetwork(UpdateNetworkRequest request)
Update details of a single network.com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation>
updateNfsShare(UpdateNfsShareRequest request)
Update details of a single NFS share.com.google.common.util.concurrent.ListenableFuture<ProvisioningConfig>
updateProvisioningConfig(UpdateProvisioningConfigRequest request)
Update existing ProvisioningConfig.com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation>
updateVolume(UpdateVolumeRequest request)
Update details of a single storage volume.
-
-
-
Method Detail
-
build
protected BareMetalSolutionGrpc.BareMetalSolutionFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
- Specified by:
build
in classio.grpc.stub.AbstractStub<BareMetalSolutionGrpc.BareMetalSolutionFutureStub>
-
listInstances
public com.google.common.util.concurrent.ListenableFuture<ListInstancesResponse> listInstances(ListInstancesRequest request)
List servers in a given project and location.
-
getInstance
public com.google.common.util.concurrent.ListenableFuture<Instance> getInstance(GetInstanceRequest request)
Get details about a single server.
-
updateInstance
public com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> updateInstance(UpdateInstanceRequest request)
Update details of a single server.
-
renameInstance
public com.google.common.util.concurrent.ListenableFuture<Instance> renameInstance(RenameInstanceRequest request)
RenameInstance sets a new name for an instance. Use with caution, previous names become immediately invalidated.
-
resetInstance
public com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> resetInstance(ResetInstanceRequest request)
Perform an ungraceful, hard reset on a server. Equivalent to shutting the power off and then turning it back on.
-
startInstance
public com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> startInstance(StartInstanceRequest request)
Starts a server that was shutdown.
-
stopInstance
public com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> stopInstance(StopInstanceRequest request)
Stop a running server.
-
enableInteractiveSerialConsole
public com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> enableInteractiveSerialConsole(EnableInteractiveSerialConsoleRequest request)
Enable the interactive serial console feature on an instance.
-
disableInteractiveSerialConsole
public com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> disableInteractiveSerialConsole(DisableInteractiveSerialConsoleRequest request)
Disable the interactive serial console feature on an instance.
-
detachLun
public com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> detachLun(DetachLunRequest request)
Detach LUN from Instance.
-
listSSHKeys
public com.google.common.util.concurrent.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.
-
createSSHKey
public com.google.common.util.concurrent.ListenableFuture<SSHKey> createSSHKey(CreateSSHKeyRequest request)
Register a public SSH key in the specified project for use with the interactive serial console feature.
-
deleteSSHKey
public com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty> deleteSSHKey(DeleteSSHKeyRequest request)
Deletes a public SSH key registered in the specified project.
-
listVolumes
public com.google.common.util.concurrent.ListenableFuture<ListVolumesResponse> listVolumes(ListVolumesRequest request)
List storage volumes in a given project and location.
-
getVolume
public com.google.common.util.concurrent.ListenableFuture<Volume> getVolume(GetVolumeRequest request)
Get details of a single storage volume.
-
updateVolume
public com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> updateVolume(UpdateVolumeRequest request)
Update details of a single storage volume.
-
renameVolume
public com.google.common.util.concurrent.ListenableFuture<Volume> renameVolume(RenameVolumeRequest request)
RenameVolume sets a new name for a volume. Use with caution, previous names become immediately invalidated.
-
evictVolume
public com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> evictVolume(EvictVolumeRequest request)
Skips volume's cooloff and deletes it now. Volume must be in cooloff state.
-
resizeVolume
public com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> resizeVolume(ResizeVolumeRequest request)
Emergency Volume resize.
-
listNetworks
public com.google.common.util.concurrent.ListenableFuture<ListNetworksResponse> listNetworks(ListNetworksRequest request)
List network in a given project and location.
-
listNetworkUsage
public com.google.common.util.concurrent.ListenableFuture<ListNetworkUsageResponse> listNetworkUsage(ListNetworkUsageRequest request)
List all Networks (and used IPs for each Network) in the vendor account associated with the specified project.
-
getNetwork
public com.google.common.util.concurrent.ListenableFuture<Network> getNetwork(GetNetworkRequest request)
Get details of a single network.
-
updateNetwork
public com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> updateNetwork(UpdateNetworkRequest request)
Update details of a single network.
-
createVolumeSnapshot
public com.google.common.util.concurrent.ListenableFuture<VolumeSnapshot> createVolumeSnapshot(CreateVolumeSnapshotRequest request)
Takes a snapshot of a boot volume. Returns INVALID_ARGUMENT if called for a non-boot volume.
-
restoreVolumeSnapshot
public com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> restoreVolumeSnapshot(RestoreVolumeSnapshotRequest request)
Uses the specified snapshot to restore its parent volume. Returns INVALID_ARGUMENT if called for a non-boot volume.
-
deleteVolumeSnapshot
public com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty> deleteVolumeSnapshot(DeleteVolumeSnapshotRequest request)
Deletes a volume snapshot. Returns INVALID_ARGUMENT if called for a non-boot volume.
-
getVolumeSnapshot
public com.google.common.util.concurrent.ListenableFuture<VolumeSnapshot> getVolumeSnapshot(GetVolumeSnapshotRequest request)
Returns the specified snapshot resource. Returns INVALID_ARGUMENT if called for a non-boot volume.
-
listVolumeSnapshots
public com.google.common.util.concurrent.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.
-
getLun
public com.google.common.util.concurrent.ListenableFuture<Lun> getLun(GetLunRequest request)
Get details of a single storage logical unit number(LUN).
-
listLuns
public com.google.common.util.concurrent.ListenableFuture<ListLunsResponse> listLuns(ListLunsRequest request)
List storage volume luns for given storage volume.
-
evictLun
public com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> evictLun(EvictLunRequest request)
Skips lun's cooloff and deletes it now. Lun must be in cooloff state.
-
getNfsShare
public com.google.common.util.concurrent.ListenableFuture<NfsShare> getNfsShare(GetNfsShareRequest request)
Get details of a single NFS share.
-
listNfsShares
public com.google.common.util.concurrent.ListenableFuture<ListNfsSharesResponse> listNfsShares(ListNfsSharesRequest request)
List NFS shares.
-
updateNfsShare
public com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> updateNfsShare(UpdateNfsShareRequest request)
Update details of a single NFS share.
-
createNfsShare
public com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> createNfsShare(CreateNfsShareRequest request)
Create an NFS share.
-
renameNfsShare
public com.google.common.util.concurrent.ListenableFuture<NfsShare> renameNfsShare(RenameNfsShareRequest request)
RenameNfsShare sets a new name for an nfsshare. Use with caution, previous names become immediately invalidated.
-
deleteNfsShare
public com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> deleteNfsShare(DeleteNfsShareRequest request)
Delete an NFS share. The underlying volume is automatically deleted.
-
listProvisioningQuotas
public com.google.common.util.concurrent.ListenableFuture<ListProvisioningQuotasResponse> listProvisioningQuotas(ListProvisioningQuotasRequest request)
List the budget details to provision resources on a given project.
-
submitProvisioningConfig
public com.google.common.util.concurrent.ListenableFuture<SubmitProvisioningConfigResponse> submitProvisioningConfig(SubmitProvisioningConfigRequest request)
Submit a provisiong configuration for a given project.
-
getProvisioningConfig
public com.google.common.util.concurrent.ListenableFuture<ProvisioningConfig> getProvisioningConfig(GetProvisioningConfigRequest request)
Get ProvisioningConfig by name.
-
createProvisioningConfig
public com.google.common.util.concurrent.ListenableFuture<ProvisioningConfig> createProvisioningConfig(CreateProvisioningConfigRequest request)
Create new ProvisioningConfig.
-
updateProvisioningConfig
public com.google.common.util.concurrent.ListenableFuture<ProvisioningConfig> updateProvisioningConfig(UpdateProvisioningConfigRequest request)
Update existing ProvisioningConfig.
-
renameNetwork
public com.google.common.util.concurrent.ListenableFuture<Network> renameNetwork(RenameNetworkRequest request)
RenameNetwork sets a new name for a network. Use with caution, previous names become immediately invalidated.
-
listOSImages
public com.google.common.util.concurrent.ListenableFuture<ListOSImagesResponse> listOSImages(ListOSImagesRequest request)
Retrieves the list of OS images which are currently approved.
-
-