Class ProjectsResource.LocationsResource.NodesResource
The "nodes" collection of methods.
Inherited Members
Namespace: Google.Apis.TPU.v1
Assembly: Google.Apis.TPU.v1.dll
Syntax
public class ProjectsResource.LocationsResource.NodesResource
Constructors
NodesResource(IClientService)
Constructs a new resource.
Declaration
public NodesResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
Create(Node, string)
Creates a node.
Declaration
public virtual ProjectsResource.LocationsResource.NodesResource.CreateRequest Create(Node body, string parent)
Parameters
Type | Name | Description |
---|---|---|
Node | body | The body of the request. |
string | parent | Required. The parent resource name. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.NodesResource.CreateRequest |
Delete(string)
Deletes a node.
Declaration
public virtual ProjectsResource.LocationsResource.NodesResource.DeleteRequest Delete(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The resource name. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.NodesResource.DeleteRequest |
Get(string)
Gets the details of a node.
Declaration
public virtual ProjectsResource.LocationsResource.NodesResource.GetRequest Get(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The resource name. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.NodesResource.GetRequest |
List(string)
Lists nodes.
Declaration
public virtual ProjectsResource.LocationsResource.NodesResource.ListRequest List(string parent)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. The parent resource name. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.NodesResource.ListRequest |
Reimage(ReimageNodeRequest, string)
Reimages a node's OS.
Declaration
public virtual ProjectsResource.LocationsResource.NodesResource.ReimageRequest Reimage(ReimageNodeRequest body, string name)
Parameters
Type | Name | Description |
---|---|---|
ReimageNodeRequest | body | The body of the request. |
string | name | The resource name. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.NodesResource.ReimageRequest |
Start(StartNodeRequest, string)
Starts a node.
Declaration
public virtual ProjectsResource.LocationsResource.NodesResource.StartRequest Start(StartNodeRequest body, string name)
Parameters
Type | Name | Description |
---|---|---|
StartNodeRequest | body | The body of the request. |
string | name | The resource name. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.NodesResource.StartRequest |
Stop(StopNodeRequest, string)
Stops a node, this operation is only available with single TPU nodes.
Declaration
public virtual ProjectsResource.LocationsResource.NodesResource.StopRequest Stop(StopNodeRequest body, string name)
Parameters
Type | Name | Description |
---|---|---|
StopNodeRequest | body | The body of the request. |
string | name | The resource name. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.NodesResource.StopRequest |