Method: projects.zones.getServerconfig

Returns configuration info about the Container Engine service.

HTTP request

GET https://container.googleapis.com/v1/projects/{projectId}/zones/{zone}/serverconfig

The URL uses Google API HTTP annotation syntax.

Path parameters

Parameters
projectId

string

The Google Developers Console project ID or project number.

zone

string

The name of the Google Compute Engine zone to return operations for.

Request body

The request body must be empty.

Response body

If successful, the response body contains data with the following structure:

Container Engine service configuration.

JSON representation
{
  "defaultClusterVersion": string,
  "validNodeVersions": [
    string
  ],
  "defaultImageType": string,
  "validImageTypes": [
    string
  ],
  "validMasterVersions": [
    string
  ],
}
Fields
defaultClusterVersion

string

Version of Kubernetes the service deploys by default.

validNodeVersions[]

string

List of valid node upgrade target versions.

defaultImageType

string

Default image type.

validImageTypes[]

string

List of valid image types.

validMasterVersions[]

string

List of valid master versions.

Authorization

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Auth Guide.

Monitor your resources on the go

Get the Google Cloud Console app to help you manage your projects.

Send feedback about...

Container Engine