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 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 str
- project str
- project_
id str - zone str
getServerConfig Result
The following output properties are available:
- Channels
List<Pulumi.
Google Native. Container. V1. Outputs. Release Channel Config Response> - List of release channel configurations.
- Default
Cluster stringVersion - Version of Kubernetes the service deploys by default.
- Default
Image stringType - Default image type.
- Valid
Image List<string>Types - List of valid image types.
- Valid
Master List<string>Versions - List of valid master versions, in descending order.
- Valid
Node List<string>Versions - List of valid node upgrade target versions, in descending order.
- Channels
[]Release
Channel Config Response - List of release channel configurations.
- Default
Cluster stringVersion - Version of Kubernetes the service deploys by default.
- Default
Image stringType - Default image type.
- Valid
Image []stringTypes - List of valid image types.
- Valid
Master []stringVersions - List of valid master versions, in descending order.
- Valid
Node []stringVersions - List of valid node upgrade target versions, in descending order.
- channels
List<Release
Channel Config Response> - List of release channel configurations.
- default
Cluster StringVersion - Version of Kubernetes the service deploys by default.
- default
Image StringType - Default image type.
- valid
Image List<String>Types - List of valid image types.
- valid
Master List<String>Versions - List of valid master versions, in descending order.
- valid
Node List<String>Versions - List of valid node upgrade target versions, in descending order.
- channels
Release
Channel Config Response[] - List of release channel configurations.
- default
Cluster stringVersion - Version of Kubernetes the service deploys by default.
- default
Image stringType - Default image type.
- valid
Image string[]Types - List of valid image types.
- valid
Master string[]Versions - List of valid master versions, in descending order.
- valid
Node string[]Versions - List of valid node upgrade target versions, in descending order.
- channels
Sequence[Release
Channel Config Response] - List of release channel configurations.
- default_
cluster_ strversion - Version of Kubernetes the service deploys by default.
- default_
image_ strtype - Default image type.
- valid_
image_ Sequence[str]types - List of valid image types.
- valid_
master_ Sequence[str]versions - List of valid master versions, in descending order.
- valid_
node_ Sequence[str]versions - List of valid node upgrade target versions, in descending order.
- channels List<Property Map>
- List of release channel configurations.
- default
Cluster StringVersion - Version of Kubernetes the service deploys by default.
- default
Image StringType - Default image type.
- valid
Image List<String>Types - List of valid image types.
- valid
Master List<String>Versions - List of valid master versions, in descending order.
- valid
Node List<String>Versions - List of valid node upgrade target versions, in descending order.
Supporting Types
ReleaseChannelConfigResponse
- Channel string
- The release channel this configuration applies to.
- Default
Version string - The default version for newly created clusters on the channel.
- Valid
Versions List<string> - List of valid versions for the channel.
- Channel string
- The release channel this configuration applies to.
- Default
Version string - The default version for newly created clusters on the channel.
- Valid
Versions []string - List of valid versions for the channel.
- channel String
- The release channel this configuration applies to.
- default
Version String - The default version for newly created clusters on the channel.
- valid
Versions List<String> - List of valid versions for the channel.
- channel string
- The release channel this configuration applies to.
- default
Version string - The default version for newly created clusters on the channel.
- valid
Versions 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.
- default
Version String - The default version for newly created clusters on the channel.
- valid
Versions 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