Alibaba Cloud

Pulumi Official
Package maintained by Pulumi
v3.22.0 published on Monday, Jun 27, 2022 by Pulumi

getKubernetesVersion

This data source provides the details of the Kubernetes version supported by ACK.

NOTE: Available in 1.170.0+.

Using getKubernetesVersion

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 getKubernetesVersion(args: GetKubernetesVersionArgs, opts?: InvokeOptions): Promise<GetKubernetesVersionResult>
function getKubernetesVersionOutput(args: GetKubernetesVersionOutputArgs, opts?: InvokeOptions): Output<GetKubernetesVersionResult>
def get_kubernetes_version(cluster_type: Optional[str] = None,
                           kubernetes_version: Optional[str] = None,
                           profile: Optional[str] = None,
                           opts: Optional[InvokeOptions] = None) -> GetKubernetesVersionResult
def get_kubernetes_version_output(cluster_type: Optional[pulumi.Input[str]] = None,
                           kubernetes_version: Optional[pulumi.Input[str]] = None,
                           profile: Optional[pulumi.Input[str]] = None,
                           opts: Optional[InvokeOptions] = None) -> Output[GetKubernetesVersionResult]
func GetKubernetesVersion(ctx *Context, args *GetKubernetesVersionArgs, opts ...InvokeOption) (*GetKubernetesVersionResult, error)
func GetKubernetesVersionOutput(ctx *Context, args *GetKubernetesVersionOutputArgs, opts ...InvokeOption) GetKubernetesVersionResultOutput

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

public static class GetKubernetesVersion 
{
    public static Task<GetKubernetesVersionResult> InvokeAsync(GetKubernetesVersionArgs args, InvokeOptions? opts = null)
    public static Output<GetKubernetesVersionResult> Invoke(GetKubernetesVersionInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetKubernetesVersionResult> getKubernetesVersion(GetKubernetesVersionArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
Fn::Invoke:
  Function: alicloud:cs/getKubernetesVersion:getKubernetesVersion
  Arguments:
    # Arguments dictionary

The following arguments are supported:

ClusterType string

The type of cluster. Its valid value are Kubernetes and ManagedKubernetes.

KubernetesVersion string
Profile string

The profile of cluster. Its valid value are Default, Serverless and Edge.

ClusterType string

The type of cluster. Its valid value are Kubernetes and ManagedKubernetes.

KubernetesVersion string
Profile string

The profile of cluster. Its valid value are Default, Serverless and Edge.

clusterType String

The type of cluster. Its valid value are Kubernetes and ManagedKubernetes.

kubernetesVersion String
profile String

The profile of cluster. Its valid value are Default, Serverless and Edge.

clusterType string

The type of cluster. Its valid value are Kubernetes and ManagedKubernetes.

kubernetesVersion string
profile string

The profile of cluster. Its valid value are Default, Serverless and Edge.

cluster_type str

The type of cluster. Its valid value are Kubernetes and ManagedKubernetes.

kubernetes_version str
profile str

The profile of cluster. Its valid value are Default, Serverless and Edge.

clusterType String

The type of cluster. Its valid value are Kubernetes and ManagedKubernetes.

kubernetesVersion String
profile String

The profile of cluster. Its valid value are Default, Serverless and Edge.

getKubernetesVersion Result

The following output properties are available:

ClusterType string
Id string

The provider-assigned unique ID for this managed resource.

Metadatas List<Pulumi.AliCloud.CS.Outputs.GetKubernetesVersionMetadata>

A list of metadata of kubernetes version.

KubernetesVersion string
Profile string
ClusterType string
Id string

The provider-assigned unique ID for this managed resource.

Metadatas []GetKubernetesVersionMetadata

A list of metadata of kubernetes version.

KubernetesVersion string
Profile string
clusterType String
id String

The provider-assigned unique ID for this managed resource.

metadatas List<GetKubernetesVersionMetadata>

A list of metadata of kubernetes version.

kubernetesVersion String
profile String
clusterType string
id string

The provider-assigned unique ID for this managed resource.

metadatas GetKubernetesVersionMetadata[]

A list of metadata of kubernetes version.

kubernetesVersion string
profile string
cluster_type str
id str

The provider-assigned unique ID for this managed resource.

metadatas Sequence[GetKubernetesVersionMetadata]

A list of metadata of kubernetes version.

kubernetes_version str
profile str
clusterType String
id String

The provider-assigned unique ID for this managed resource.

metadatas List<Property Map>

A list of metadata of kubernetes version.

kubernetesVersion String
profile String

Supporting Types

GetKubernetesVersionMetadata

Runtimes List<Pulumi.AliCloud.CS.Inputs.GetKubernetesVersionMetadataRuntime>

The list of supported runtime.

Version string

The ACK released kubernetes version.

Runtimes []GetKubernetesVersionMetadataRuntime

The list of supported runtime.

Version string

The ACK released kubernetes version.

runtimes List<GetKubernetesVersionMetadataRuntime>

The list of supported runtime.

version String

The ACK released kubernetes version.

runtimes GetKubernetesVersionMetadataRuntime[]

The list of supported runtime.

version string

The ACK released kubernetes version.

runtimes Sequence[GetKubernetesVersionMetadataRuntime]

The list of supported runtime.

version str

The ACK released kubernetes version.

runtimes List<Property Map>

The list of supported runtime.

version String

The ACK released kubernetes version.

GetKubernetesVersionMetadataRuntime

Name string

The runtime name.

Version string

The ACK released kubernetes version.

Name string

The runtime name.

Version string

The ACK released kubernetes version.

name String

The runtime name.

version String

The ACK released kubernetes version.

name string

The runtime name.

version string

The ACK released kubernetes version.

name str

The runtime name.

version str

The ACK released kubernetes version.

name String

The runtime name.

version String

The ACK released kubernetes version.

Package Details

Repository
https://github.com/pulumi/pulumi-alicloud
License
Apache-2.0
Notes

This Pulumi package is based on the alicloud Terraform Provider.