Show / Hide Table of Contents

Class ProjectsResource.LocationsResource.ClustersResource.NodePoolsResource

The "nodePools" collection of methods.

Inheritance
object
ProjectsResource.LocationsResource.ClustersResource.NodePoolsResource
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.Container.v1
Assembly: Google.Apis.Container.v1.dll
Syntax
public class ProjectsResource.LocationsResource.ClustersResource.NodePoolsResource

Constructors

NodePoolsResource(IClientService)

Constructs a new resource.

Declaration
public NodePoolsResource(IClientService service)
Parameters
Type Name Description
IClientService service

Methods

CompleteUpgrade(CompleteNodePoolUpgradeRequest, string)

CompleteNodePoolUpgrade will signal an on-going node pool upgrade to complete.

Declaration
public virtual ProjectsResource.LocationsResource.ClustersResource.NodePoolsResource.CompleteUpgradeRequest CompleteUpgrade(CompleteNodePoolUpgradeRequest body, string name)
Parameters
Type Name Description
CompleteNodePoolUpgradeRequest body

The body of the request.

string name

The name (project, location, cluster, node pool id) of the node pool to complete upgrade. Specified in the format projects/*/locations/*/clusters/*/nodePools/*.

Returns
Type Description
ProjectsResource.LocationsResource.ClustersResource.NodePoolsResource.CompleteUpgradeRequest

Create(CreateNodePoolRequest, string)

Creates a node pool for a cluster.

Declaration
public virtual ProjectsResource.LocationsResource.ClustersResource.NodePoolsResource.CreateRequest Create(CreateNodePoolRequest body, string parent)
Parameters
Type Name Description
CreateNodePoolRequest body

The body of the request.

string parent

The parent (project, location, cluster name) where the node pool will be created. Specified in the format projects/*/locations/*/clusters/*.

Returns
Type Description
ProjectsResource.LocationsResource.ClustersResource.NodePoolsResource.CreateRequest

Delete(string)

Deletes a node pool from a cluster.

Declaration
public virtual ProjectsResource.LocationsResource.ClustersResource.NodePoolsResource.DeleteRequest Delete(string name)
Parameters
Type Name Description
string name

The name (project, location, cluster, node pool id) of the node pool to delete. Specified in the format projects/*/locations/*/clusters/*/nodePools/*.

Returns
Type Description
ProjectsResource.LocationsResource.ClustersResource.NodePoolsResource.DeleteRequest

FetchNodePoolUpgradeInfo(string)

Fetch upgrade information of a specific nodepool.

Declaration
public virtual ProjectsResource.LocationsResource.ClustersResource.NodePoolsResource.FetchNodePoolUpgradeInfoRequest FetchNodePoolUpgradeInfo(string name)
Parameters
Type Name Description
string name

Required. The name (project, location, cluster, nodepool) of the nodepool to get. Specified in the format projects/*/locations/*/clusters/*/nodePools/* or projects/*/zones/*/clusters/*/nodePools/*.

Returns
Type Description
ProjectsResource.LocationsResource.ClustersResource.NodePoolsResource.FetchNodePoolUpgradeInfoRequest

Get(string)

Retrieves the requested node pool.

Declaration
public virtual ProjectsResource.LocationsResource.ClustersResource.NodePoolsResource.GetRequest Get(string name)
Parameters
Type Name Description
string name

The name (project, location, cluster, node pool id) of the node pool to get. Specified in the format projects/*/locations/*/clusters/*/nodePools/*.

Returns
Type Description
ProjectsResource.LocationsResource.ClustersResource.NodePoolsResource.GetRequest

List(string)

Lists the node pools for a cluster.

Declaration
public virtual ProjectsResource.LocationsResource.ClustersResource.NodePoolsResource.ListRequest List(string parent)
Parameters
Type Name Description
string parent

The parent (project, location, cluster name) where the node pools will be listed. Specified in the format projects/*/locations/*/clusters/*.

Returns
Type Description
ProjectsResource.LocationsResource.ClustersResource.NodePoolsResource.ListRequest

Rollback(RollbackNodePoolUpgradeRequest, string)

Rolls back a previously Aborted or Failed NodePool upgrade. This makes no changes if the last upgrade successfully completed.

Declaration
public virtual ProjectsResource.LocationsResource.ClustersResource.NodePoolsResource.RollbackRequest Rollback(RollbackNodePoolUpgradeRequest body, string name)
Parameters
Type Name Description
RollbackNodePoolUpgradeRequest body

The body of the request.

string name

The name (project, location, cluster, node pool id) of the node poll to rollback upgrade. Specified in the format projects/*/locations/*/clusters/*/nodePools/*.

Returns
Type Description
ProjectsResource.LocationsResource.ClustersResource.NodePoolsResource.RollbackRequest

SetAutoscaling(SetNodePoolAutoscalingRequest, string)

Sets the autoscaling settings for the specified node pool.

Declaration
public virtual ProjectsResource.LocationsResource.ClustersResource.NodePoolsResource.SetAutoscalingRequest SetAutoscaling(SetNodePoolAutoscalingRequest body, string name)
Parameters
Type Name Description
SetNodePoolAutoscalingRequest body

The body of the request.

string name

The name (project, location, cluster, node pool) of the node pool to set autoscaler settings. Specified in the format projects/*/locations/*/clusters/*/nodePools/*.

Returns
Type Description
ProjectsResource.LocationsResource.ClustersResource.NodePoolsResource.SetAutoscalingRequest

SetManagement(SetNodePoolManagementRequest, string)

Sets the NodeManagement options for a node pool.

Declaration
public virtual ProjectsResource.LocationsResource.ClustersResource.NodePoolsResource.SetManagementRequest SetManagement(SetNodePoolManagementRequest body, string name)
Parameters
Type Name Description
SetNodePoolManagementRequest body

The body of the request.

string name

The name (project, location, cluster, node pool id) of the node pool to set management properties. Specified in the format projects/*/locations/*/clusters/*/nodePools/*.

Returns
Type Description
ProjectsResource.LocationsResource.ClustersResource.NodePoolsResource.SetManagementRequest

SetSize(SetNodePoolSizeRequest, string)

Sets the size for a specific node pool. The new size will be used for all replicas, including future replicas created by modifying NodePool.locations.

Declaration
public virtual ProjectsResource.LocationsResource.ClustersResource.NodePoolsResource.SetSizeRequest SetSize(SetNodePoolSizeRequest body, string name)
Parameters
Type Name Description
SetNodePoolSizeRequest body

The body of the request.

string name

The name (project, location, cluster, node pool id) of the node pool to set size. Specified in the format projects/*/locations/*/clusters/*/nodePools/*.

Returns
Type Description
ProjectsResource.LocationsResource.ClustersResource.NodePoolsResource.SetSizeRequest

Update(UpdateNodePoolRequest, string)

Updates the version and/or image type for the specified node pool.

Declaration
public virtual ProjectsResource.LocationsResource.ClustersResource.NodePoolsResource.UpdateRequest Update(UpdateNodePoolRequest body, string name)
Parameters
Type Name Description
UpdateNodePoolRequest body

The body of the request.

string name

The name (project, location, cluster, node pool) of the node pool to update. Specified in the format projects/*/locations/*/clusters/*/nodePools/*.

Returns
Type Description
ProjectsResource.LocationsResource.ClustersResource.NodePoolsResource.UpdateRequest
In this article
Back to top Generated by DocFX