Show / Hide Table of Contents

Class ProjectsResource.LocationsResource.NodesResource

The "nodes" collection of methods.

Inheritance
object
ProjectsResource.LocationsResource.NodesResource
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.TPU.v1alpha1
Assembly: Google.Apis.TPU.v1alpha1.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
In this article
Back to top Generated by DocFX