Class ProjectsResource.LocationsResource.InstancesResource
The "instances" collection of methods.
Inherited Members
Namespace: Google.Apis.Baremetalsolution.v2
Assembly: Google.Apis.Baremetalsolution.v2.dll
Syntax
public class ProjectsResource.LocationsResource.InstancesResource
Constructors
InstancesResource(IClientService)
Constructs a new resource.
Declaration
public InstancesResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
DetachLun(DetachLunRequest, string)
Detach LUN from Instance.
Declaration
public virtual ProjectsResource.LocationsResource.InstancesResource.DetachLunRequest DetachLun(DetachLunRequest body, string instance)
Parameters
Type | Name | Description |
---|---|---|
DetachLunRequest | body | The body of the request. |
string | instance | Required. Name of the instance. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.InstancesResource.DetachLunRequest |
DisableHyperthreading(DisableHyperthreadingRequest, string)
Perform disable hyperthreading operation on a single server.
Declaration
public virtual ProjectsResource.LocationsResource.InstancesResource.DisableHyperthreadingRequest DisableHyperthreading(DisableHyperthreadingRequest body, string name)
Parameters
Type | Name | Description |
---|---|---|
DisableHyperthreadingRequest | body | The body of the request. |
string | name | Required. The |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.InstancesResource.DisableHyperthreadingRequest |
DisableInteractiveSerialConsole(DisableInteractiveSerialConsoleRequest, string)
Disable the interactive serial console feature on an instance.
Declaration
public virtual ProjectsResource.LocationsResource.InstancesResource.DisableInteractiveSerialConsoleRequest DisableInteractiveSerialConsole(DisableInteractiveSerialConsoleRequest body, string name)
Parameters
Type | Name | Description |
---|---|---|
DisableInteractiveSerialConsoleRequest | body | The body of the request. |
string | name | Required. Name of the resource. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.InstancesResource.DisableInteractiveSerialConsoleRequest |
EnableHyperthreading(EnableHyperthreadingRequest, string)
Perform enable hyperthreading operation on a single server.
Declaration
public virtual ProjectsResource.LocationsResource.InstancesResource.EnableHyperthreadingRequest EnableHyperthreading(EnableHyperthreadingRequest body, string name)
Parameters
Type | Name | Description |
---|---|---|
EnableHyperthreadingRequest | body | The body of the request. |
string | name | Required. The |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.InstancesResource.EnableHyperthreadingRequest |
EnableInteractiveSerialConsole(EnableInteractiveSerialConsoleRequest, string)
Enable the interactive serial console feature on an instance.
Declaration
public virtual ProjectsResource.LocationsResource.InstancesResource.EnableInteractiveSerialConsoleRequest EnableInteractiveSerialConsole(EnableInteractiveSerialConsoleRequest body, string name)
Parameters
Type | Name | Description |
---|---|---|
EnableInteractiveSerialConsoleRequest | body | The body of the request. |
string | name | Required. Name of the resource. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.InstancesResource.EnableInteractiveSerialConsoleRequest |
Get(string)
Get details about a single server.
Declaration
public virtual ProjectsResource.LocationsResource.InstancesResource.GetRequest Get(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. Name of the resource. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.InstancesResource.GetRequest |
List(string)
List servers in a given project and location.
Declaration
public virtual ProjectsResource.LocationsResource.InstancesResource.ListRequest List(string parent)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. Parent value for ListInstancesRequest. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.InstancesResource.ListRequest |
LoadAuthInfo(string)
Load auth info for a server.
Declaration
public virtual ProjectsResource.LocationsResource.InstancesResource.LoadAuthInfoRequest LoadAuthInfo(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. Name of the server. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.InstancesResource.LoadAuthInfoRequest |
Patch(Instance, string)
Update details of a single server.
Declaration
public virtual ProjectsResource.LocationsResource.InstancesResource.PatchRequest Patch(Instance body, string name)
Parameters
Type | Name | Description |
---|---|---|
Instance | body | The body of the request. |
string | name | Immutable. The resource name of this |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.InstancesResource.PatchRequest |
Reimage(ReimageInstanceRequest, string)
Perform reimage operation on a single server.
Declaration
public virtual ProjectsResource.LocationsResource.InstancesResource.ReimageRequest Reimage(ReimageInstanceRequest body, string name)
Parameters
Type | Name | Description |
---|---|---|
ReimageInstanceRequest | body | The body of the request. |
string | name | Required. The |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.InstancesResource.ReimageRequest |
Rename(RenameInstanceRequest, string)
RenameInstance sets a new name for an instance. Use with caution, previous names become immediately invalidated.
Declaration
public virtual ProjectsResource.LocationsResource.InstancesResource.RenameRequest Rename(RenameInstanceRequest body, string name)
Parameters
Type | Name | Description |
---|---|---|
RenameInstanceRequest | body | The body of the request. |
string | name | Required. The |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.InstancesResource.RenameRequest |
Reset(ResetInstanceRequest, string)
Perform an ungraceful, hard reset on a server. Equivalent to shutting the power off and then turning it back on.
Declaration
public virtual ProjectsResource.LocationsResource.InstancesResource.ResetRequest Reset(ResetInstanceRequest body, string name)
Parameters
Type | Name | Description |
---|---|---|
ResetInstanceRequest | body | The body of the request. |
string | name | Required. Name of the resource. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.InstancesResource.ResetRequest |
Start(StartInstanceRequest, string)
Starts a server that was shutdown.
Declaration
public virtual ProjectsResource.LocationsResource.InstancesResource.StartRequest Start(StartInstanceRequest body, string name)
Parameters
Type | Name | Description |
---|---|---|
StartInstanceRequest | body | The body of the request. |
string | name | Required. Name of the resource. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.InstancesResource.StartRequest |
Stop(StopInstanceRequest, string)
Stop a running server.
Declaration
public virtual ProjectsResource.LocationsResource.InstancesResource.StopRequest Stop(StopInstanceRequest body, string name)
Parameters
Type | Name | Description |
---|---|---|
StopInstanceRequest | body | The body of the request. |
string | name | Required. Name of the resource. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.InstancesResource.StopRequest |