public class Container.Projects.Locations.Clusters.NodePools
extends java.lang.Object
| Constructor and Description |
|---|
NodePools() |
| Modifier and Type | Method and Description |
|---|---|
Container.Projects.Locations.Clusters.NodePools.Create |
create(java.lang.String parent,
CreateNodePoolRequest content)
Creates a node pool for a cluster.
|
Container.Projects.Locations.Clusters.NodePools.Delete |
delete(java.lang.String name)
Deletes a node pool from a cluster.
|
Container.Projects.Locations.Clusters.NodePools.Get |
get(java.lang.String name)
Retrieves the node pool requested.
|
Container.Projects.Locations.Clusters.NodePools.List |
list(java.lang.String parent)
Lists the node pools for a cluster.
|
Container.Projects.Locations.Clusters.NodePools.Rollback |
rollback(java.lang.String name,
RollbackNodePoolUpgradeRequest content)
Roll back the previously Aborted or Failed NodePool upgrade.
|
Container.Projects.Locations.Clusters.NodePools.SetAutoscaling |
setAutoscaling(java.lang.String name,
SetNodePoolAutoscalingRequest content)
Sets the autoscaling settings for a specific node pool.
|
Container.Projects.Locations.Clusters.NodePools.SetManagement |
setManagement(java.lang.String name,
SetNodePoolManagementRequest content)
Sets the NodeManagement options for a node pool.
|
Container.Projects.Locations.Clusters.NodePools.SetSize |
setSize(java.lang.String name,
SetNodePoolSizeRequest content)
Sets the size for a specific node pool.
|
Container.Projects.Locations.Clusters.NodePools.Update |
update(java.lang.String name,
UpdateNodePoolRequest content)
Updates the version and/or image type for a specific node pool.
|
public Container.Projects.Locations.Clusters.NodePools.Create create(java.lang.String parent, CreateNodePoolRequest content) throws java.io.IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.parent - The parent (project, location, cluster id) where the node pool will be
created. Specified in the
format
'projects/locations/clusters/nodePools'.content - the CreateNodePoolRequestjava.io.IOExceptionpublic Container.Projects.Locations.Clusters.NodePools.Delete delete(java.lang.String name) throws java.io.IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.name - The name (project, location, cluster, node pool id) of the node pool to
delete. Specified in the
format
'projects/locations/clusters/nodePools'.java.io.IOExceptionpublic Container.Projects.Locations.Clusters.NodePools.Get get(java.lang.String name) throws java.io.IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.name - The name (project, location, cluster, node pool id) of the node pool to
get. Specified in the format
'projects/locations/clusters/nodePools'.java.io.IOExceptionpublic Container.Projects.Locations.Clusters.NodePools.List list(java.lang.String parent) throws java.io.IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.parent - The parent (project, location, cluster id) where the node pools will be
listed. Specified in the
format 'projects/locations/clusters'.java.io.IOExceptionpublic Container.Projects.Locations.Clusters.NodePools.Rollback rollback(java.lang.String name, RollbackNodePoolUpgradeRequest content) throws java.io.IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.name - The name (project, location, cluster, node pool id) of the node poll to
rollback upgrade.
Specified
in the format 'projects/locations/clusters/nodePools'.content - the RollbackNodePoolUpgradeRequestjava.io.IOExceptionpublic Container.Projects.Locations.Clusters.NodePools.SetAutoscaling setAutoscaling(java.lang.String name, SetNodePoolAutoscalingRequest content) throws java.io.IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.name - The name (project, location, cluster, node pool) of the node pool to set
autoscaler settings.
Specified in the format
'projects/locations/clusters/nodePools'.content - the SetNodePoolAutoscalingRequestjava.io.IOExceptionpublic Container.Projects.Locations.Clusters.NodePools.SetManagement setManagement(java.lang.String name, SetNodePoolManagementRequest content) throws java.io.IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.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'.content - the SetNodePoolManagementRequestjava.io.IOExceptionpublic Container.Projects.Locations.Clusters.NodePools.SetSize setSize(java.lang.String name, SetNodePoolSizeRequest content) throws java.io.IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.name - The name (project, location, cluster, node pool id) of the node pool to set
size.
Specified in the
format 'projects/locations/clusters/nodePools'.content - the SetNodePoolSizeRequestjava.io.IOExceptionpublic Container.Projects.Locations.Clusters.NodePools.Update update(java.lang.String name, UpdateNodePoolRequest content) throws java.io.IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.name - The name (project, location, cluster, node pool) of the node pool to
update. Specified in the format
'projects/locations/clusters/nodePools'.content - the UpdateNodePoolRequestjava.io.IOException