import * as pulumi from "@pulumi/pulumi"; /** * Use this data source to retrieve the version of Kubernetes supported by Azure Kubernetes Service. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const current = azure.containerservice.getKubernetesServiceVersions({ * location: "West Europe", * }); * export const versions = current.then(current => current.versions); * export const latestVersion = current.then(current => current.latestVersion); * ``` * * ## API Providers * * * This data source uses the following Azure API Providers: * * * `Microsoft.ContainerService` - 2019-08-01 */ export declare function getKubernetesServiceVersions(args: GetKubernetesServiceVersionsArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getKubernetesServiceVersions. */ export interface GetKubernetesServiceVersionsArgs { /** * Should Preview versions of Kubernetes in AKS be included? Defaults to `true` */ includePreview?: boolean; /** * Specifies the location in which to query for versions. */ location: string; /** * A prefix filter for the versions of Kubernetes which should be returned; for example `1.` will return `1.9` to `1.14`, whereas `1.12` will return `1.12.2`. */ versionPrefix?: string; } /** * A collection of values returned by getKubernetesServiceVersions. */ export interface GetKubernetesServiceVersionsResult { /** * The N-1 minor non-preview version and latest patch. */ readonly defaultVersion: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly includePreview?: boolean; /** * The most recent version available. If `includePreview == false`, this is the most recent non-preview version available. */ readonly latestVersion: string; readonly location: string; readonly versionPrefix?: string; /** * The list of all supported versions. */ readonly versions: string[]; } /** * Use this data source to retrieve the version of Kubernetes supported by Azure Kubernetes Service. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const current = azure.containerservice.getKubernetesServiceVersions({ * location: "West Europe", * }); * export const versions = current.then(current => current.versions); * export const latestVersion = current.then(current => current.latestVersion); * ``` * * ## API Providers * * * This data source uses the following Azure API Providers: * * * `Microsoft.ContainerService` - 2019-08-01 */ export declare function getKubernetesServiceVersionsOutput(args: GetKubernetesServiceVersionsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getKubernetesServiceVersions. */ export interface GetKubernetesServiceVersionsOutputArgs { /** * Should Preview versions of Kubernetes in AKS be included? Defaults to `true` */ includePreview?: pulumi.Input; /** * Specifies the location in which to query for versions. */ location: pulumi.Input; /** * A prefix filter for the versions of Kubernetes which should be returned; for example `1.` will return `1.9` to `1.14`, whereas `1.12` will return `1.12.2`. */ versionPrefix?: pulumi.Input; }