1. Packages
  2. Google Cloud Native
  3. API Docs
  4. container
  5. container/v1beta1
  6. getServerConfig

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi

google-native.container/v1beta1.getServerConfig

Explore with Pulumi AI

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi

Returns configuration info about the Google Kubernetes Engine service.

Using getServerConfig

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getServerConfig(args: GetServerConfigArgs, opts?: InvokeOptions): Promise<GetServerConfigResult>
function getServerConfigOutput(args: GetServerConfigOutputArgs, opts?: InvokeOptions): Output<GetServerConfigResult>
Copy
def get_server_config(location: Optional[str] = None,
                      project: Optional[str] = None,
                      project_id: Optional[str] = None,
                      zone: Optional[str] = None,
                      opts: Optional[InvokeOptions] = None) -> GetServerConfigResult
def get_server_config_output(location: Optional[pulumi.Input[str]] = None,
                      project: Optional[pulumi.Input[str]] = None,
                      project_id: Optional[pulumi.Input[str]] = None,
                      zone: Optional[pulumi.Input[str]] = None,
                      opts: Optional[InvokeOptions] = None) -> Output[GetServerConfigResult]
Copy
func GetServerConfig(ctx *Context, args *GetServerConfigArgs, opts ...InvokeOption) (*GetServerConfigResult, error)
func GetServerConfigOutput(ctx *Context, args *GetServerConfigOutputArgs, opts ...InvokeOption) GetServerConfigResultOutput
Copy

> Note: This function is named GetServerConfig in the Go SDK.

public static class GetServerConfig 
{
    public static Task<GetServerConfigResult> InvokeAsync(GetServerConfigArgs args, InvokeOptions? opts = null)
    public static Output<GetServerConfigResult> Invoke(GetServerConfigInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetServerConfigResult> getServerConfig(GetServerConfigArgs args, InvokeOptions options)
public static Output<GetServerConfigResult> getServerConfig(GetServerConfigArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: google-native:container/v1beta1:getServerConfig
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

Location This property is required. string
ProjectId This property is required. string
Zone This property is required. string
Project string
Location This property is required. string
ProjectId This property is required. string
Zone This property is required. string
Project string
location This property is required. String
projectId This property is required. String
zone This property is required. String
project String
location This property is required. string
projectId This property is required. string
zone This property is required. string
project string
location This property is required. str
project_id This property is required. str
zone This property is required. str
project str
location This property is required. String
projectId This property is required. String
zone This property is required. String
project String

getServerConfig Result

The following output properties are available:

Channels List<Pulumi.GoogleNative.Container.V1Beta1.Outputs.ReleaseChannelConfigResponse>
List of release channel configurations.
DefaultClusterVersion string
Version of Kubernetes the service deploys by default.
DefaultImageType string
Default image type.
ValidImageTypes List<string>
List of valid image types.
ValidMasterVersions List<string>
List of valid master versions, in descending order.
ValidNodeVersions List<string>
List of valid node upgrade target versions, in descending order.
WindowsVersionMaps Dictionary<string, string>
Maps of Kubernetes version and supported Windows server versions.
Channels []ReleaseChannelConfigResponse
List of release channel configurations.
DefaultClusterVersion string
Version of Kubernetes the service deploys by default.
DefaultImageType string
Default image type.
ValidImageTypes []string
List of valid image types.
ValidMasterVersions []string
List of valid master versions, in descending order.
ValidNodeVersions []string
List of valid node upgrade target versions, in descending order.
WindowsVersionMaps map[string]string
Maps of Kubernetes version and supported Windows server versions.
channels List<ReleaseChannelConfigResponse>
List of release channel configurations.
defaultClusterVersion String
Version of Kubernetes the service deploys by default.
defaultImageType String
Default image type.
validImageTypes List<String>
List of valid image types.
validMasterVersions List<String>
List of valid master versions, in descending order.
validNodeVersions List<String>
List of valid node upgrade target versions, in descending order.
windowsVersionMaps Map<String,String>
Maps of Kubernetes version and supported Windows server versions.
channels ReleaseChannelConfigResponse[]
List of release channel configurations.
defaultClusterVersion string
Version of Kubernetes the service deploys by default.
defaultImageType string
Default image type.
validImageTypes string[]
List of valid image types.
validMasterVersions string[]
List of valid master versions, in descending order.
validNodeVersions string[]
List of valid node upgrade target versions, in descending order.
windowsVersionMaps {[key: string]: string}
Maps of Kubernetes version and supported Windows server versions.
channels Sequence[ReleaseChannelConfigResponse]
List of release channel configurations.
default_cluster_version str
Version of Kubernetes the service deploys by default.
default_image_type str
Default image type.
valid_image_types Sequence[str]
List of valid image types.
valid_master_versions Sequence[str]
List of valid master versions, in descending order.
valid_node_versions Sequence[str]
List of valid node upgrade target versions, in descending order.
windows_version_maps Mapping[str, str]
Maps of Kubernetes version and supported Windows server versions.
channels List<Property Map>
List of release channel configurations.
defaultClusterVersion String
Version of Kubernetes the service deploys by default.
defaultImageType String
Default image type.
validImageTypes List<String>
List of valid image types.
validMasterVersions List<String>
List of valid master versions, in descending order.
validNodeVersions List<String>
List of valid node upgrade target versions, in descending order.
windowsVersionMaps Map<String>
Maps of Kubernetes version and supported Windows server versions.

Supporting Types

AvailableVersionResponse

Reason This property is required. string
Reason for availability.
Version This property is required. string
Kubernetes version.
Reason This property is required. string
Reason for availability.
Version This property is required. string
Kubernetes version.
reason This property is required. String
Reason for availability.
version This property is required. String
Kubernetes version.
reason This property is required. string
Reason for availability.
version This property is required. string
Kubernetes version.
reason This property is required. str
Reason for availability.
version This property is required. str
Kubernetes version.
reason This property is required. String
Reason for availability.
version This property is required. String
Kubernetes version.

ReleaseChannelConfigResponse

AvailableVersions This property is required. List<Pulumi.GoogleNative.Container.V1Beta1.Inputs.AvailableVersionResponse>
Deprecated. This field has been deprecated and replaced with the valid_versions field.

Deprecated: Deprecated. This field has been deprecated and replaced with the valid_versions field.

Channel This property is required. string
The release channel this configuration applies to.
DefaultVersion This property is required. string
The default version for newly created clusters on the channel.
ValidVersions This property is required. List<string>
List of valid versions for the channel.
AvailableVersions This property is required. []AvailableVersionResponse
Deprecated. This field has been deprecated and replaced with the valid_versions field.

Deprecated: Deprecated. This field has been deprecated and replaced with the valid_versions field.

Channel This property is required. string
The release channel this configuration applies to.
DefaultVersion This property is required. string
The default version for newly created clusters on the channel.
ValidVersions This property is required. []string
List of valid versions for the channel.
availableVersions This property is required. List<AvailableVersionResponse>
Deprecated. This field has been deprecated and replaced with the valid_versions field.

Deprecated: Deprecated. This field has been deprecated and replaced with the valid_versions field.

channel This property is required. String
The release channel this configuration applies to.
defaultVersion This property is required. String
The default version for newly created clusters on the channel.
validVersions This property is required. List<String>
List of valid versions for the channel.
availableVersions This property is required. AvailableVersionResponse[]
Deprecated. This field has been deprecated and replaced with the valid_versions field.

Deprecated: Deprecated. This field has been deprecated and replaced with the valid_versions field.

channel This property is required. string
The release channel this configuration applies to.
defaultVersion This property is required. string
The default version for newly created clusters on the channel.
validVersions This property is required. string[]
List of valid versions for the channel.
available_versions This property is required. Sequence[AvailableVersionResponse]
Deprecated. This field has been deprecated and replaced with the valid_versions field.

Deprecated: Deprecated. This field has been deprecated and replaced with the valid_versions field.

channel This property is required. str
The release channel this configuration applies to.
default_version This property is required. str
The default version for newly created clusters on the channel.
valid_versions This property is required. Sequence[str]
List of valid versions for the channel.
availableVersions This property is required. List<Property Map>
Deprecated. This field has been deprecated and replaced with the valid_versions field.

Deprecated: Deprecated. This field has been deprecated and replaced with the valid_versions field.

channel This property is required. String
The release channel this configuration applies to.
defaultVersion This property is required. String
The default version for newly created clusters on the channel.
validVersions This property is required. List<String>
List of valid versions for the channel.

Package Details

Repository
Google Cloud Native pulumi/pulumi-google-native
License
Apache-2.0

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi