public class Container.Projects.Zones.Clusters extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
Container.Projects.Zones.Clusters.CompleteIpRotation |
class |
Container.Projects.Zones.Clusters.Create |
class |
Container.Projects.Zones.Clusters.Delete |
class |
Container.Projects.Zones.Clusters.Get |
class |
Container.Projects.Zones.Clusters.LegacyAbac |
class |
Container.Projects.Zones.Clusters.List |
class |
Container.Projects.Zones.Clusters.NodePools
The "nodePools" collection of methods.
|
class |
Container.Projects.Zones.Clusters.ResourceLabels |
class |
Container.Projects.Zones.Clusters.SetMasterAuth |
class |
Container.Projects.Zones.Clusters.StartIpRotation |
class |
Container.Projects.Zones.Clusters.Update |
| Constructor and Description |
|---|
Container.Projects.Zones.Clusters() |
| Modifier and Type | Method and Description |
|---|---|
Container.Projects.Zones.Clusters.CompleteIpRotation |
completeIpRotation(String projectId,
String zone,
String clusterId,
CompleteIPRotationRequest content)
Completes master IP rotation.
|
Container.Projects.Zones.Clusters.Create |
create(String projectId,
String zone,
CreateClusterRequest content)
Creates a cluster, consisting of the specified number and type of Google Compute Engine
instances.
|
Container.Projects.Zones.Clusters.Delete |
delete(String projectId,
String zone,
String clusterId)
Deletes the cluster, including the Kubernetes endpoint and all worker nodes.
|
Container.Projects.Zones.Clusters.Get |
get(String projectId,
String zone,
String clusterId)
Gets the details of a specific cluster.
|
Container.Projects.Zones.Clusters.LegacyAbac |
legacyAbac(String projectId,
String zone,
String clusterId,
SetLegacyAbacRequest content)
Enables or disables the ABAC authorization mechanism on a cluster.
|
Container.Projects.Zones.Clusters.List |
list(String projectId,
String zone)
Lists all clusters owned by a project in either the specified zone or all zones.
|
Container.Projects.Zones.Clusters.NodePools |
nodePools()
An accessor for creating requests from the NodePools collection.
|
Container.Projects.Zones.Clusters.ResourceLabels |
resourceLabels(String projectId,
String zone,
String clusterId,
SetLabelsRequest content)
Sets labels on a cluster.
|
Container.Projects.Zones.Clusters.SetMasterAuth |
setMasterAuth(String projectId,
String zone,
String clusterId,
SetMasterAuthRequest content)
Used to set master auth materials.
|
Container.Projects.Zones.Clusters.StartIpRotation |
startIpRotation(String projectId,
String zone,
String clusterId,
StartIPRotationRequest content)
Start master IP rotation.
|
Container.Projects.Zones.Clusters.Update |
update(String projectId,
String zone,
String clusterId,
UpdateClusterRequest content)
Updates the settings of a specific cluster.
|
public Container.Projects.Zones.Clusters.CompleteIpRotation completeIpRotation(String projectId, String zone, String clusterId, CompleteIPRotationRequest content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.projectId - The Google Developers Console [project ID or project
number](https://developers.google.com/console/help/new/#projectnumber).zone - The name of the Google Compute Engine
[zone](/compute/docs/zones#available) in which the cluster
resides.clusterId - The name of the cluster.content - the CompleteIPRotationRequestIOExceptionpublic Container.Projects.Zones.Clusters.Create create(String projectId, String zone, CreateClusterRequest content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.projectId - The Google Developers Console [project ID or project
number](https://support.google.com/cloud/answer/6158840).zone - The name of the Google Compute Engine
[zone](/compute/docs/zones#available) in which the cluster
resides.content - the CreateClusterRequestIOExceptionpublic Container.Projects.Zones.Clusters.Delete delete(String projectId, String zone, String clusterId) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.projectId - The Google Developers Console [project ID or project
number](https://support.google.com/cloud/answer/6158840).zone - The name of the Google Compute Engine
[zone](/compute/docs/zones#available) in which the cluster
resides.clusterId - The name of the cluster to delete.IOExceptionpublic Container.Projects.Zones.Clusters.Get get(String projectId, String zone, String clusterId) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.projectId - The Google Developers Console [project ID or project
number](https://support.google.com/cloud/answer/6158840).zone - The name of the Google Compute Engine
[zone](/compute/docs/zones#available) in which the cluster
resides.clusterId - The name of the cluster to retrieve.IOExceptionpublic Container.Projects.Zones.Clusters.LegacyAbac legacyAbac(String projectId, String zone, String clusterId, SetLegacyAbacRequest content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.projectId - The Google Developers Console [project ID or project
number](https://support.google.com/cloud/answer/6158840).zone - The name of the Google Compute Engine
[zone](/compute/docs/zones#available) in which the cluster
resides.clusterId - The name of the cluster to update.content - the SetLegacyAbacRequestIOExceptionpublic Container.Projects.Zones.Clusters.List list(String projectId, String zone) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.projectId - The Google Developers Console [project ID or project
number](https://support.google.com/cloud/answer/6158840).zone - The name of the Google Compute Engine
[zone](/compute/docs/zones#available) in which the cluster
resides, or "-" for all zones.IOExceptionpublic Container.Projects.Zones.Clusters.ResourceLabels resourceLabels(String projectId, String zone, String clusterId, SetLabelsRequest content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.projectId - The Google Developers Console [project ID or project
number](https://developers.google.com/console/help/new/#projectnumber).zone - The name of the Google Compute Engine
[zone](/compute/docs/zones#available) in which the cluster
resides.clusterId - The name of the cluster.content - the SetLabelsRequestIOExceptionpublic Container.Projects.Zones.Clusters.SetMasterAuth setMasterAuth(String projectId, String zone, String clusterId, SetMasterAuthRequest content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.projectId - The Google Developers Console [project ID or project
number](https://support.google.com/cloud/answer/6158840).zone - The name of the Google Compute Engine
[zone](/compute/docs/zones#available) in which the cluster
resides.clusterId - The name of the cluster to upgrade.content - the SetMasterAuthRequestIOExceptionpublic Container.Projects.Zones.Clusters.StartIpRotation startIpRotation(String projectId, String zone, String clusterId, StartIPRotationRequest content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.projectId - The Google Developers Console [project ID or project
number](https://developers.google.com/console/help/new/#projectnumber).zone - The name of the Google Compute Engine
[zone](/compute/docs/zones#available) in which the cluster
resides.clusterId - The name of the cluster.content - the StartIPRotationRequestIOExceptionpublic Container.Projects.Zones.Clusters.Update update(String projectId, String zone, String clusterId, UpdateClusterRequest content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.projectId - The Google Developers Console [project ID or project
number](https://support.google.com/cloud/answer/6158840).zone - The name of the Google Compute Engine
[zone](/compute/docs/zones#available) in which the cluster
resides.clusterId - The name of the cluster to upgrade.content - the UpdateClusterRequestIOExceptionpublic Container.Projects.Zones.Clusters.NodePools nodePools()
The typical use is:
Container container = new Container(...);Container.NodePools.List request = container.nodePools().list(parameters ...)