The "clusters" collection of methods.
More...
|
| call ($name, $arguments, $expected_class=null) |
| TODO: This function needs simplifying.
|
|
| create ($projectId, $zone, Google_Service_Container_CreateClusterRequest $postBody, $optParams=array()) |
| Creates a cluster, consisting of the specified number and type of Google Compute Engine instances, plus a Kubernetes master endpoint.
|
|
| delete ($projectId, $zone, $clusterId, $optParams=array()) |
| Deletes the cluster, including the Kubernetes endpoint and all worker nodes.
|
|
| get ($projectId, $zone, $clusterId, $optParams=array()) |
| Gets a specific cluster.
|
|
| listProjectsZonesClusters ($projectId, $zone, $optParams=array()) |
| Lists all clusters owned by a project in either the specified zone or all zones.
|
|
| update ($projectId, $zone, $clusterId, Google_Service_Container_UpdateClusterRequest $postBody, $optParams=array()) |
| Update settings of a specific cluster.
|
|
|
| convertToArrayAndStripNulls ($o) |
|
The "clusters" collection of methods.
Typical usage is: $containerService = new Google_Service_Container(...); $clusters = $containerService->clusters;
◆ call()
Google_Service_Resource::call |
( |
| $name, |
|
|
| $arguments, |
|
|
| $expected_class = null ) |
|
inherited |
TODO: This function needs simplifying.
- Parameters
-
$name | |
$arguments | |
$expected_class | - optional, the expected class name |
- Return values
-
Google_Http_Request|expected_class | |
- Exceptions
-
◆ create()
Creates a cluster, consisting of the specified number and type of Google Compute Engine instances, plus a Kubernetes master endpoint.
By default, the cluster is created in the project's default network. One firewall is added for the cluster. After cluster creation, the cluster creates routes for each node to allow the containers on that node to communicate with all other instances in the cluster. Finally, an entry is added to the project's global metadata indicating which CIDR range is being used by the cluster. (clusters.create)
- Parameters
-
string | $projectId | The Google Developers Console project ID or project number. |
string | $zone | The name of the Google Compute Engine zone in which the cluster resides. |
Google_CreateClusterRequest | $postBody | |
array | $optParams | Optional parameters. |
- Return values
-
◆ delete()
Google_Service_Container_ProjectsZonesClusters_Resource::delete |
( |
| $projectId, |
|
|
| $zone, |
|
|
| $clusterId, |
|
|
| $optParams = array() ) |
Deletes the cluster, including the Kubernetes endpoint and all worker nodes.
Firewalls and routes that were configured during cluster creation are also deleted. (clusters.delete)
- Parameters
-
string | $projectId | The Google Developers Console project ID or project number. |
string | $zone | The name of the Google Compute Engine zone in which the cluster resides. |
string | $clusterId | The name of the cluster to delete. |
array | $optParams | Optional parameters. |
- Return values
-
◆ get()
Google_Service_Container_ProjectsZonesClusters_Resource::get |
( |
| $projectId, |
|
|
| $zone, |
|
|
| $clusterId, |
|
|
| $optParams = array() ) |
Gets a specific cluster.
(clusters.get)
- Parameters
-
string | $projectId | The Google Developers Console project ID or project number. |
string | $zone | The name of the Google Compute Engine zone in which the cluster resides. |
string | $clusterId | The name of the cluster to retrieve. |
array | $optParams | Optional parameters. |
- Return values
-
◆ listProjectsZonesClusters()
Google_Service_Container_ProjectsZonesClusters_Resource::listProjectsZonesClusters |
( |
| $projectId, |
|
|
| $zone, |
|
|
| $optParams = array() ) |
Lists all clusters owned by a project in either the specified zone or all zones.
(clusters.listProjectsZonesClusters)
- Parameters
-
string | $projectId | The Google Developers Console project ID or project number. |
string | $zone | The name of the Google Compute Engine zone in which the cluster resides, or "-" for all zones. |
array | $optParams | Optional parameters. |
- Return values
-
◆ update()
Update settings of a specific cluster.
(clusters.update)
- Parameters
-
string | $projectId | The Google Developers Console project ID or project number. |
string | $zone | The name of the Google Compute Engine zone in which the cluster resides. |
string | $clusterId | The name of the cluster to upgrade. |
Google_UpdateClusterRequest | $postBody | |
array | $optParams | Optional parameters. |
- Return values
-
The documentation for this class was generated from the following file:
- lib/google/src/Google/Service/Container.php