public class Container.Projects.Locations.Clusters
extends java.lang.Object
Constructor and Description |
---|
Clusters() |
Modifier and Type | Method and Description |
---|---|
Container.Projects.Locations.Clusters.CompleteIpRotation |
completeIpRotation(java.lang.String name,
CompleteIPRotationRequest content)
Completes master IP rotation.
|
Container.Projects.Locations.Clusters.Create |
create(java.lang.String parent,
CreateClusterRequest content)
Creates a cluster, consisting of the specified number and type of Google Compute Engine
instances.
|
Container.Projects.Locations.Clusters.Delete |
delete(java.lang.String name)
Deletes the cluster, including the Kubernetes endpoint and all worker nodes.
|
Container.Projects.Locations.Clusters.Get |
get(java.lang.String name)
Gets the details of a specific cluster.
|
Container.Projects.Locations.Clusters.GetJwks |
getJwks(java.lang.String parent)
Gets the public component of the cluster signing keys in JSON Web Key format.
|
Container.Projects.Locations.Clusters.List |
list(java.lang.String parent)
Lists all clusters owned by a project in either the specified zone or all zones.
|
Container.Projects.Locations.Clusters.NodePools |
nodePools()
An accessor for creating requests from the NodePools collection.
|
Container.Projects.Locations.Clusters.SetAddons |
setAddons(java.lang.String name,
SetAddonsConfigRequest content)
Sets the addons for a specific cluster.
|
Container.Projects.Locations.Clusters.SetLegacyAbac |
setLegacyAbac(java.lang.String name,
SetLegacyAbacRequest content)
Enables or disables the ABAC authorization mechanism on a cluster.
|
Container.Projects.Locations.Clusters.SetLocations |
setLocations(java.lang.String name,
SetLocationsRequest content)
Sets the locations for a specific cluster.
|
Container.Projects.Locations.Clusters.SetLogging |
setLogging(java.lang.String name,
SetLoggingServiceRequest content)
Sets the logging service for a specific cluster.
|
Container.Projects.Locations.Clusters.SetMaintenancePolicy |
setMaintenancePolicy(java.lang.String name,
SetMaintenancePolicyRequest content)
Sets the maintenance policy for a cluster.
|
Container.Projects.Locations.Clusters.SetMasterAuth |
setMasterAuth(java.lang.String name,
SetMasterAuthRequest content)
Sets master auth materials.
|
Container.Projects.Locations.Clusters.SetMonitoring |
setMonitoring(java.lang.String name,
SetMonitoringServiceRequest content)
Sets the monitoring service for a specific cluster.
|
Container.Projects.Locations.Clusters.SetNetworkPolicy |
setNetworkPolicy(java.lang.String name,
SetNetworkPolicyRequest content)
Enables or disables Network Policy for a cluster.
|
Container.Projects.Locations.Clusters.SetResourceLabels |
setResourceLabels(java.lang.String name,
SetLabelsRequest content)
Sets labels on a cluster.
|
Container.Projects.Locations.Clusters.StartIpRotation |
startIpRotation(java.lang.String name,
StartIPRotationRequest content)
Starts master IP rotation.
|
Container.Projects.Locations.Clusters.Update |
update(java.lang.String name,
UpdateClusterRequest content)
Updates the settings of a specific cluster.
|
Container.Projects.Locations.Clusters.UpdateMaster |
updateMaster(java.lang.String name,
UpdateMasterRequest content)
Updates the master for a specific cluster.
|
Container.Projects.Locations.Clusters.WellKnown |
wellKnown()
An accessor for creating requests from the WellKnown collection.
|
public Container.Projects.Locations.Clusters.CompleteIpRotation completeIpRotation(java.lang.String name, CompleteIPRotationRequest content) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.name
- The name (project, location, cluster id) of the cluster to complete IP
rotation. Specified in the
format 'projects/locations/clusters'.content
- the CompleteIPRotationRequest
java.io.IOException
public Container.Projects.Locations.Clusters.Create create(java.lang.String parent, CreateClusterRequest content) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.parent
- The parent (project and location) where the cluster will be created.
Specified in the format
'projects/locations'.content
- the CreateClusterRequest
java.io.IOException
public Container.Projects.Locations.Clusters.Delete delete(java.lang.String name) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.name
- The name (project, location, cluster) of the cluster to delete.
Specified in the format
'projects/locations/clusters'.java.io.IOException
public Container.Projects.Locations.Clusters.Get get(java.lang.String name) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.name
- The name (project, location, cluster) of the cluster to retrieve.
Specified in the format
'projects/locations/clusters'.java.io.IOException
public Container.Projects.Locations.Clusters.GetJwks getJwks(java.lang.String parent) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.parent
- The cluster (project, location, cluster id) to get keys for. Specified in
the format
'projects/locations/clusters'.java.io.IOException
public Container.Projects.Locations.Clusters.List list(java.lang.String parent) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.parent
- The parent (project and location) where the clusters will be listed.
Specified in the format
'projects/locations'.
Location "-" matches all zones and all regions.java.io.IOException
public Container.Projects.Locations.Clusters.SetAddons setAddons(java.lang.String name, SetAddonsConfigRequest content) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.name
- The name (project, location, cluster) of the cluster to set addons.
Specified in the format
'projects/locations/clusters'.content
- the SetAddonsConfigRequest
java.io.IOException
public Container.Projects.Locations.Clusters.SetLegacyAbac setLegacyAbac(java.lang.String name, SetLegacyAbacRequest content) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.name
- The name (project, location, cluster id) of the cluster to set legacy abac.
Specified in the format
'projects/locations/clusters'.content
- the SetLegacyAbacRequest
java.io.IOException
public Container.Projects.Locations.Clusters.SetLocations setLocations(java.lang.String name, SetLocationsRequest content) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.name
- The name (project, location, cluster) of the cluster to set locations.
Specified in the format
'projects/locations/clusters'.content
- the SetLocationsRequest
java.io.IOException
public Container.Projects.Locations.Clusters.SetLogging setLogging(java.lang.String name, SetLoggingServiceRequest content) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.name
- The name (project, location, cluster) of the cluster to set logging.
Specified in the format
'projects/locations/clusters'.content
- the SetLoggingServiceRequest
java.io.IOException
public Container.Projects.Locations.Clusters.SetMaintenancePolicy setMaintenancePolicy(java.lang.String name, SetMaintenancePolicyRequest content) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote
operation.name
- The name (project, location, cluster id) of the cluster to set maintenance
policy.
Specified in the
format 'projects/locations/clusters'.content
- the SetMaintenancePolicyRequest
java.io.IOException
public Container.Projects.Locations.Clusters.SetMasterAuth setMasterAuth(java.lang.String name, SetMasterAuthRequest content) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.name
- The name (project, location, cluster) of the cluster to set auth.
Specified in the format
'projects/locations/clusters'.content
- the SetMasterAuthRequest
java.io.IOException
public Container.Projects.Locations.Clusters.SetMonitoring setMonitoring(java.lang.String name, SetMonitoringServiceRequest content) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.name
- The name (project, location, cluster) of the cluster to set monitoring.
Specified in the format
'projects/locations/clusters'.content
- the SetMonitoringServiceRequest
java.io.IOException
public Container.Projects.Locations.Clusters.SetNetworkPolicy setNetworkPolicy(java.lang.String name, SetNetworkPolicyRequest content) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.name
- The name (project, location, cluster id) of the cluster to set networking
policy. Specified in the
format 'projects/locations/clusters'.content
- the SetNetworkPolicyRequest
java.io.IOException
public Container.Projects.Locations.Clusters.SetResourceLabels setResourceLabels(java.lang.String name, SetLabelsRequest content) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.name
- The name (project, location, cluster id) of the cluster to set labels.
Specified in the format
'projects/locations/clusters'.content
- the SetLabelsRequest
java.io.IOException
public Container.Projects.Locations.Clusters.StartIpRotation startIpRotation(java.lang.String name, StartIPRotationRequest content) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.name
- The name (project, location, cluster id) of the cluster to start IP
rotation. Specified in the
format 'projects/locations/clusters'.content
- the StartIPRotationRequest
java.io.IOException
public Container.Projects.Locations.Clusters.Update update(java.lang.String name, UpdateClusterRequest content) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.name
- The name (project, location, cluster) of the cluster to update.
Specified in the format
'projects/locations/clusters'.content
- the UpdateClusterRequest
java.io.IOException
public Container.Projects.Locations.Clusters.UpdateMaster updateMaster(java.lang.String name, UpdateMasterRequest content) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.name
- The name (project, location, cluster) of the cluster to update.
Specified in the format
'projects/locations/clusters'.content
- the UpdateMasterRequest
java.io.IOException
public Container.Projects.Locations.Clusters.NodePools nodePools()
The typical use is:
Container container = new Container(...);
Container.NodePools.List request = container.nodePools().list(parameters ...)
public Container.Projects.Locations.Clusters.WellKnown wellKnown()
The typical use is:
Container container = new Container(...);
Container.WellKnown.List request = container.wellKnown().list(parameters ...)