Class BareMetalSolutionGrpc.BareMetalSolutionBlockingStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractBlockingStub<BareMetalSolutionGrpc.BareMetalSolutionBlockingStub>
com.google.cloud.baremetalsolution.v2.BareMetalSolutionGrpc.BareMetalSolutionBlockingStub
- Enclosing class:
- BareMetalSolutionGrpc
public static final class BareMetalSolutionGrpc.BareMetalSolutionBlockingStub
extends io.grpc.stub.AbstractBlockingStub<BareMetalSolutionGrpc.BareMetalSolutionBlockingStub>
A stub to allow clients to do limited synchronous 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.
-
Nested Class Summary
Nested classes/interfaces inherited from class io.grpc.stub.AbstractStub
io.grpc.stub.AbstractStub.StubFactory<T extends io.grpc.stub.AbstractStub<T>> -
Method Summary
Modifier and TypeMethodDescriptionbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) createNfsShare(CreateNfsShareRequest request) Create an NFS share.Create new ProvisioningConfig.createSSHKey(CreateSSHKeyRequest request) Register a public SSH key in the specified project for use with the interactive serial console feature.Takes a snapshot of a boot volume.deleteNfsShare(DeleteNfsShareRequest request) Delete an NFS share.com.google.protobuf.EmptydeleteSSHKey(DeleteSSHKeyRequest request) Deletes a public SSH key registered in the specified project.com.google.protobuf.EmptyDeletes a volume snapshot.detachLun(DetachLunRequest request) Detach LUN from Instance.Disable the interactive serial console feature on an instance.Enable the interactive serial console feature on an instance.evictLun(EvictLunRequest request) Skips lun's cooloff and deletes it now.evictVolume(EvictVolumeRequest request) Skips volume's cooloff and deletes it now.getInstance(GetInstanceRequest request) Get details about a single server.getLun(GetLunRequest request) Get details of a single storage logical unit number(LUN).getNetwork(GetNetworkRequest request) Get details of a single network.getNfsShare(GetNfsShareRequest request) Get details of a single NFS share.Get ProvisioningConfig by name.getVolume(GetVolumeRequest request) Get details of a single storage volume.Returns the specified snapshot resource.listInstances(ListInstancesRequest request) List servers in a given project and location.listLuns(ListLunsRequest request) List storage volume luns for given storage volume.listNetworks(ListNetworksRequest request) List network in a given project and location.listNetworkUsage(ListNetworkUsageRequest request) List all Networks (and used IPs for each Network) in the vendor account associated with the specified project.listNfsShares(ListNfsSharesRequest request) List NFS shares.listOSImages(ListOSImagesRequest request) Retrieves the list of OS images which are currently approved.List the budget details to provision resources on a given project.listSSHKeys(ListSSHKeysRequest request) Lists the public SSH keys registered for the specified project.listVolumes(ListVolumesRequest request) List storage volumes in a given project and location.Retrieves the list of snapshots for the specified volume.renameInstance(RenameInstanceRequest request) RenameInstance sets a new name for an instance.renameNetwork(RenameNetworkRequest request) RenameNetwork sets a new name for a network.renameNfsShare(RenameNfsShareRequest request) RenameNfsShare sets a new name for an nfsshare.renameVolume(RenameVolumeRequest request) RenameVolume sets a new name for a volume.resetInstance(ResetInstanceRequest request) Perform an ungraceful, hard reset on a server.resizeVolume(ResizeVolumeRequest request) Emergency Volume resize.Uses the specified snapshot to restore its parent volume.startInstance(StartInstanceRequest request) Starts a server that was shutdown.stopInstance(StopInstanceRequest request) Stop a running server.Submit a provisiong configuration for a given project.updateInstance(UpdateInstanceRequest request) Update details of a single server.updateNetwork(UpdateNetworkRequest request) Update details of a single network.updateNfsShare(UpdateNfsShareRequest request) Update details of a single NFS share.Update existing ProvisioningConfig.updateVolume(UpdateVolumeRequest request) Update details of a single storage volume.Methods inherited from class io.grpc.stub.AbstractBlockingStub
newStub, newStubMethods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady
-
Method Details
-
build
protected BareMetalSolutionGrpc.BareMetalSolutionBlockingStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<BareMetalSolutionGrpc.BareMetalSolutionBlockingStub>
-
listInstances
List servers in a given project and location.
-
getInstance
Get details about a single server.
-
updateInstance
Update details of a single server.
-
renameInstance
RenameInstance sets a new name for an instance. Use with caution, previous names become immediately invalidated.
-
resetInstance
Perform an ungraceful, hard reset on a server. Equivalent to shutting the power off and then turning it back on.
-
startInstance
Starts a server that was shutdown.
-
stopInstance
Stop a running server.
-
enableInteractiveSerialConsole
Enable the interactive serial console feature on an instance.
-
disableInteractiveSerialConsole
Disable the interactive serial console feature on an instance.
-
detachLun
Detach LUN from Instance.
-
listSSHKeys
Lists the public SSH keys registered for the specified project. These SSH keys are used only for the interactive serial console feature.
-
createSSHKey
Register a public SSH key in the specified project for use with the interactive serial console feature.
-
deleteSSHKey
Deletes a public SSH key registered in the specified project.
-
listVolumes
List storage volumes in a given project and location.
-
getVolume
Get details of a single storage volume.
-
updateVolume
Update details of a single storage volume.
-
renameVolume
RenameVolume sets a new name for a volume. Use with caution, previous names become immediately invalidated.
-
evictVolume
Skips volume's cooloff and deletes it now. Volume must be in cooloff state.
-
resizeVolume
Emergency Volume resize.
-
listNetworks
List network in a given project and location.
-
listNetworkUsage
List all Networks (and used IPs for each Network) in the vendor account associated with the specified project.
-
getNetwork
Get details of a single network.
-
updateNetwork
Update details of a single network.
-
createVolumeSnapshot
Takes a snapshot of a boot volume. Returns INVALID_ARGUMENT if called for a non-boot volume.
-
restoreVolumeSnapshot
Uses the specified snapshot to restore its parent volume. Returns INVALID_ARGUMENT if called for a non-boot volume.
-
deleteVolumeSnapshot
Deletes a volume snapshot. Returns INVALID_ARGUMENT if called for a non-boot volume.
-
getVolumeSnapshot
Returns the specified snapshot resource. Returns INVALID_ARGUMENT if called for a non-boot volume.
-
listVolumeSnapshots
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
Get details of a single storage logical unit number(LUN).
-
listLuns
List storage volume luns for given storage volume.
-
evictLun
Skips lun's cooloff and deletes it now. Lun must be in cooloff state.
-
listProvisioningQuotas
List the budget details to provision resources on a given project.
-
submitProvisioningConfig
public SubmitProvisioningConfigResponse submitProvisioningConfig(SubmitProvisioningConfigRequest request) Submit a provisiong configuration for a given project.
-
getProvisioningConfig
Get ProvisioningConfig by name.
-
createProvisioningConfig
Create new ProvisioningConfig.
-
updateProvisioningConfig
Update existing ProvisioningConfig.
-
renameNetwork
RenameNetwork sets a new name for a network. Use with caution, previous names become immediately invalidated.
-
listOSImages
Retrieves the list of OS images which are currently approved.
-