zones_serverconfig
Creates, updates, deletes, gets or lists a zones_serverconfig resource.
Overview
| Name | zones_serverconfig |
| Type | Resource |
| Id | google.container.zones_serverconfig |
Fields
The following fields are returned by SELECT queries:
- projects_zones_get_serverconfig
| Name | Datatype | Description |
|---|---|---|
channels | array | List of release channel configurations. |
defaultClusterVersion | string | Version of Kubernetes the service deploys by default. |
defaultImageType | string | Default image type. |
validImageTypes | array | List of valid image types. |
validMasterVersions | array | List of valid master versions, in descending order. |
validNodeVersions | array | List of valid node upgrade target versions, in descending order. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
projects_zones_get_serverconfig | select | projectId, zone | name | Returns configuration info about the Google Kubernetes Engine service. |
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
projectId | string | |
zone | string | |
name | string |
SELECT examples
- projects_zones_get_serverconfig
Returns configuration info about the Google Kubernetes Engine service.
SELECT
channels,
defaultClusterVersion,
defaultImageType,
validImageTypes,
validMasterVersions,
validNodeVersions
FROM google.container.zones_serverconfig
WHERE projectId = '{{ projectId }}' -- required
AND zone = '{{ zone }}' -- required
AND name = '{{ name }}'
;