server_config
Creates, updates, deletes, gets or lists a server_config
resource.
Overview
Name | server_config |
Type | Resource |
Id | google.container.server_config |
Fields
The following fields are returned by SELECT
queries:
- projects_locations_get_server_config
Successful response
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_locations_get_server_config | select | projectsId , locationsId | projectId , zone | 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 |
---|---|---|
locationsId | string | |
projectsId | string | |
projectId | string | |
zone | string |
SELECT
examples
- projects_locations_get_server_config
Returns configuration info about the Google Kubernetes Engine service.
SELECT
channels,
defaultClusterVersion,
defaultImageType,
validImageTypes,
validMasterVersions,
validNodeVersions
FROM google.container.server_config
WHERE projectsId = '{{ projectsId }}' -- required
AND locationsId = '{{ locationsId }}' -- required
AND projectId = '{{ projectId }}'
AND zone = '{{ zone }}';