Class ProjectsResource.ZonesResource.ClustersResource.NodePoolsResource
The "nodePools" collection of methods.
Inherited Members
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 |
---|---|---|
IClient |
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 |
---|---|---|
Set |
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 |
---|---|
Projects |
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 |
---|---|---|
Create |
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 |
---|---|
Projects |
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 |
---|---|
Projects |
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 |
Returns
Type | Description |
---|---|
Projects |
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 |
---|---|
Projects |
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 |
---|---|
Projects |
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 |
---|---|---|
Rollback |
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 |
---|---|
Projects |
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 |
---|---|---|
Set |
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 |
---|---|
Projects |
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 |
---|---|---|
Set |
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 |
---|---|
Projects |
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 |
---|---|---|
Update |
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 |
---|---|
Projects |