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