Class 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 Detail

      • 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.
         
      • 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.
         
      • 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.
         
      • 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.