1. Packages
  2. Google Cloud Native
  3. API Docs
  4. container
  5. container/v1
  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/v1.getServerConfig

Explore with Pulumi AI

google-native logo

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>
    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]
    func GetServerConfig(ctx *Context, args *GetServerConfigArgs, opts ...InvokeOption) (*GetServerConfigResult, error)
    func GetServerConfigOutput(ctx *Context, args *GetServerConfigOutputArgs, opts ...InvokeOption) GetServerConfigResultOutput

    > 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)
    }
    public static CompletableFuture<GetServerConfigResult> getServerConfig(GetServerConfigArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: google-native:container/v1:getServerConfig
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Location string
    Project string
    ProjectId string
    Zone string
    Location string
    Project string
    ProjectId string
    Zone string
    location String
    project String
    projectId String
    zone String
    location string
    project string
    projectId string
    zone string
    location String
    project String
    projectId String
    zone String

    getServerConfig Result

    The following output properties are available:

    Channels List<Pulumi.GoogleNative.Container.V1.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.
    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.
    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.
    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.
    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.
    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.

    Supporting Types

    ReleaseChannelConfigResponse

    Channel string
    The release channel this configuration applies to.
    DefaultVersion string
    The default version for newly created clusters on the channel.
    ValidVersions List<string>
    List of valid versions for the channel.
    Channel string
    The release channel this configuration applies to.
    DefaultVersion string
    The default version for newly created clusters on the channel.
    ValidVersions []string
    List of valid versions for the channel.
    channel String
    The release channel this configuration applies to.
    defaultVersion String
    The default version for newly created clusters on the channel.
    validVersions List<String>
    List of valid versions for the channel.
    channel string
    The release channel this configuration applies to.
    defaultVersion string
    The default version for newly created clusters on the channel.
    validVersions string[]
    List of valid versions for the channel.
    channel str
    The release channel this configuration applies to.
    default_version str
    The default version for newly created clusters on the channel.
    valid_versions Sequence[str]
    List of valid versions for the channel.
    channel String
    The release channel this configuration applies to.
    defaultVersion String
    The default version for newly created clusters on the channel.
    validVersions List<String>
    List of valid versions for the channel.

    Package Details

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

    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