public class Container.Projects.Zones.Clusters extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
Container.Projects.Zones.Clusters.Create |
class |
Container.Projects.Zones.Clusters.Delete |
class |
Container.Projects.Zones.Clusters.Get |
class |
Container.Projects.Zones.Clusters.List |
| Constructor and Description |
|---|
Container.Projects.Zones.Clusters() |
| Modifier and Type | Method and Description |
|---|---|
Container.Projects.Zones.Clusters.Create |
create(String projectId,
String zoneId,
CreateClusterRequest content)
Creates a cluster, consisting of the specified number and type of Google Compute Engine
instances, plus a Kubernetes master instance.
|
Container.Projects.Zones.Clusters.Delete |
delete(String projectId,
String zoneId,
String clusterId)
Deletes the cluster, including the Kubernetes master and all worker nodes.
|
Container.Projects.Zones.Clusters.Get |
get(String projectId,
String zoneId,
String clusterId)
Gets a specific cluster.
|
Container.Projects.Zones.Clusters.List |
list(String projectId,
String zoneId)
Lists all clusters owned by a project in the specified zone.
|
public Container.Projects.Zones.Clusters.Create create(String projectId, String zoneId, CreateClusterRequest content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.projectId - The Google Developers Console project ID or project number.zoneId - The name of the Google Compute Engine zone in which the cluster resides.content - the CreateClusterRequestIOExceptionpublic Container.Projects.Zones.Clusters.Delete delete(String projectId, String zoneId, String clusterId) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.projectId - The Google Developers Console project ID or project number.zoneId - The name of the Google Compute Engine zone in which the cluster resides.clusterId - The name of the cluster to delete.IOExceptionpublic Container.Projects.Zones.Clusters.Get get(String projectId, String zoneId, String clusterId) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.projectId - The Google Developers Console project ID or project number.zoneId - The name of the Google Compute Engine zone in which the cluster resides.clusterId - The name of the cluster to retrieve.IOExceptionpublic Container.Projects.Zones.Clusters.List list(String projectId, String zoneId) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.projectId - The Google Developers Console project ID or project number.zoneId - The name of the Google Compute Engine zone in which the cluster resides.IOException