Show / Hide Table of Contents

Class ProjectsResource.ZonesResource.ClustersResource.NodePoolsResource

The "nodePools" collection of methods.

Inheritance
object
ProjectsResource.ZonesResource.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.ZonesResource.ClustersResource.NodePoolsResource

Constructors

NodePoolsResource(IClientService)

Constructs a new resource.

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

Methods

Autoscaling(SetNodePoolAutoscalingRequest, string, string, string, string)

Sets the autoscaling settings for the specified node pool.

Declaration
public virtual ProjectsResource.ZonesResource.ClustersResource.NodePoolsResource.AutoscalingRequest Autoscaling(SetNodePoolAutoscalingRequest body, string projectId, string zone, string clusterId, string nodePoolId)
Parameters
Type Name Description
SetNodePoolAutoscalingRequest body

The body of the request.

string projectId

Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the name field.

string zone

Deprecated. The name of the Google Compute Engine zone in which the cluster resides. This field has been deprecated and replaced by the name field.

string clusterId

Deprecated. The name of the cluster to upgrade. This field has been deprecated and replaced by the name field.

string nodePoolId

Deprecated. The name of the node pool to upgrade. This field has been deprecated and replaced by the name field.

Returns
Type Description
ProjectsResource.ZonesResource.ClustersResource.NodePoolsResource.AutoscalingRequest

Create(CreateNodePoolRequest, string, string, string)

Creates a node pool for a cluster.

Declaration
public virtual ProjectsResource.ZonesResource.ClustersResource.NodePoolsResource.CreateRequest Create(CreateNodePoolRequest body, string projectId, string zone, string clusterId)
Parameters
Type Name Description
CreateNodePoolRequest body

The body of the request.

string projectId

Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the parent field.

string zone

Deprecated. The name of the Google Compute Engine zone in which the cluster resides. This field has been deprecated and replaced by the parent field.

string clusterId

Deprecated. The name of the cluster. This field has been deprecated and replaced by the parent field.

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

Delete(string, string, string, string)

Deletes a node pool from a cluster.

Declaration
public virtual ProjectsResource.ZonesResource.ClustersResource.NodePoolsResource.DeleteRequest Delete(string projectId, string zone, string clusterId, string nodePoolId)
Parameters
Type Name Description
string projectId

Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the name field.

string zone

Deprecated. The name of the Google Compute Engine zone in which the cluster resides. This field has been deprecated and replaced by the name field.

string clusterId

Deprecated. The name of the cluster. This field has been deprecated and replaced by the name field.

string nodePoolId

Deprecated. The name of the node pool to delete. This field has been deprecated and replaced by the name field.

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

FetchNodePoolUpgradeInfo(string)

Fetch upgrade information of a specific nodepool.

Declaration
public virtual ProjectsResource.ZonesResource.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.ZonesResource.ClustersResource.NodePoolsResource.FetchNodePoolUpgradeInfoRequest

Get(string, string, string, string)

Retrieves the requested node pool.

Declaration
public virtual ProjectsResource.ZonesResource.ClustersResource.NodePoolsResource.GetRequest Get(string projectId, string zone, string clusterId, string nodePoolId)
Parameters
Type Name Description
string projectId

Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the name field.

string zone

Deprecated. The name of the Google Compute Engine zone in which the cluster resides. This field has been deprecated and replaced by the name field.

string clusterId

Deprecated. The name of the cluster. This field has been deprecated and replaced by the name field.

string nodePoolId

Deprecated. The name of the node pool. This field has been deprecated and replaced by the name field.

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

List(string, string, string)

Lists the node pools for a cluster.

Declaration
public virtual ProjectsResource.ZonesResource.ClustersResource.NodePoolsResource.ListRequest List(string projectId, string zone, string clusterId)
Parameters
Type Name Description
string projectId

Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the parent field.

string zone

Deprecated. The name of the Google Compute Engine zone in which the cluster resides. This field has been deprecated and replaced by the parent field.

string clusterId

Deprecated. The name of the cluster. This field has been deprecated and replaced by the parent field.

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

Rollback(RollbackNodePoolUpgradeRequest, string, string, string, string)

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

Declaration
public virtual ProjectsResource.ZonesResource.ClustersResource.NodePoolsResource.RollbackRequest Rollback(RollbackNodePoolUpgradeRequest body, string projectId, string zone, string clusterId, string nodePoolId)
Parameters
Type Name Description
RollbackNodePoolUpgradeRequest body

The body of the request.

string projectId

Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the name field.

string zone

Deprecated. The name of the Google Compute Engine zone in which the cluster resides. This field has been deprecated and replaced by the name field.

string clusterId

Deprecated. The name of the cluster to rollback. This field has been deprecated and replaced by the name field.

string nodePoolId

Deprecated. The name of the node pool to rollback. This field has been deprecated and replaced by the name field.

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

SetManagement(SetNodePoolManagementRequest, string, string, string, string)

Sets the NodeManagement options for a node pool.

Declaration
public virtual ProjectsResource.ZonesResource.ClustersResource.NodePoolsResource.SetManagementRequest SetManagement(SetNodePoolManagementRequest body, string projectId, string zone, string clusterId, string nodePoolId)
Parameters
Type Name Description
SetNodePoolManagementRequest body

The body of the request.

string projectId

Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the name field.

string zone

Deprecated. The name of the Google Compute Engine zone in which the cluster resides. This field has been deprecated and replaced by the name field.

string clusterId

Deprecated. The name of the cluster to update. This field has been deprecated and replaced by the name field.

string nodePoolId

Deprecated. The name of the node pool to update. This field has been deprecated and replaced by the name field.

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

SetSize(SetNodePoolSizeRequest, string, string, string, 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.ZonesResource.ClustersResource.NodePoolsResource.SetSizeRequest SetSize(SetNodePoolSizeRequest body, string projectId, string zone, string clusterId, string nodePoolId)
Parameters
Type Name Description
SetNodePoolSizeRequest body

The body of the request.

string projectId

Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the name field.

string zone

Deprecated. The name of the Google Compute Engine zone in which the cluster resides. This field has been deprecated and replaced by the name field.

string clusterId

Deprecated. The name of the cluster to update. This field has been deprecated and replaced by the name field.

string nodePoolId

Deprecated. The name of the node pool to update. This field has been deprecated and replaced by the name field.

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

Update(UpdateNodePoolRequest, string, string, string, string)

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

Declaration
public virtual ProjectsResource.ZonesResource.ClustersResource.NodePoolsResource.UpdateRequest Update(UpdateNodePoolRequest body, string projectId, string zone, string clusterId, string nodePoolId)
Parameters
Type Name Description
UpdateNodePoolRequest body

The body of the request.

string projectId

Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the name field.

string zone

Deprecated. The name of the Google Compute Engine zone in which the cluster resides. This field has been deprecated and replaced by the name field.

string clusterId

Deprecated. The name of the cluster to upgrade. This field has been deprecated and replaced by the name field.

string nodePoolId

Deprecated. The name of the node pool to upgrade. This field has been deprecated and replaced by the name field.

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