published on Wednesday, Mar 4, 2026 by Pulumi
published on Wednesday, Mar 4, 2026 by Pulumi
Lists the supported kubernetes versions for the specified custom location
Uses Azure REST API version 2025-02-01-preview.
Other available API versions: 2023-11-15-preview, 2024-01-01. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native hybridcontainerservice [ApiVersion]. See the version guide for details.
Using getKubernetesVersions
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 getKubernetesVersions(args: GetKubernetesVersionsArgs, opts?: InvokeOptions): Promise<GetKubernetesVersionsResult>
function getKubernetesVersionsOutput(args: GetKubernetesVersionsOutputArgs, opts?: InvokeOptions): Output<GetKubernetesVersionsResult>def get_kubernetes_versions(custom_location_resource_uri: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetKubernetesVersionsResult
def get_kubernetes_versions_output(custom_location_resource_uri: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetKubernetesVersionsResult]func LookupKubernetesVersions(ctx *Context, args *LookupKubernetesVersionsArgs, opts ...InvokeOption) (*LookupKubernetesVersionsResult, error)
func LookupKubernetesVersionsOutput(ctx *Context, args *LookupKubernetesVersionsOutputArgs, opts ...InvokeOption) LookupKubernetesVersionsResultOutput> Note: This function is named LookupKubernetesVersions in the Go SDK.
public static class GetKubernetesVersions
{
public static Task<GetKubernetesVersionsResult> InvokeAsync(GetKubernetesVersionsArgs args, InvokeOptions? opts = null)
public static Output<GetKubernetesVersionsResult> Invoke(GetKubernetesVersionsInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetKubernetesVersionsResult> getKubernetesVersions(GetKubernetesVersionsArgs args, InvokeOptions options)
public static Output<GetKubernetesVersionsResult> getKubernetesVersions(GetKubernetesVersionsArgs args, InvokeOptions options)
fn::invoke:
function: azure-native:hybridcontainerservice:getKubernetesVersions
arguments:
# arguments dictionaryThe following arguments are supported:
- Custom
Location stringResource Uri - The fully qualified Azure Resource Manager identifier of the custom location resource.
- Custom
Location stringResource Uri - The fully qualified Azure Resource Manager identifier of the custom location resource.
- custom
Location StringResource Uri - The fully qualified Azure Resource Manager identifier of the custom location resource.
- custom
Location stringResource Uri - The fully qualified Azure Resource Manager identifier of the custom location resource.
- custom_
location_ strresource_ uri - The fully qualified Azure Resource Manager identifier of the custom location resource.
- custom
Location StringResource Uri - The fully qualified Azure Resource Manager identifier of the custom location resource.
getKubernetesVersions Result
The following output properties are available:
- Azure
Api stringVersion - The Azure API version of the resource.
- Id string
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- Name string
- The name of the resource
- Properties
Pulumi.
Azure Native. Hybrid Container Service. Outputs. Kubernetes Version Profile Response Properties - System
Data Pulumi.Azure Native. Hybrid Container Service. Outputs. System Data Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- Extended
Location Pulumi.Azure Native. Hybrid Container Service. Outputs. Extended Location Response - Extended location pointing to the underlying infrastructure
- Azure
Api stringVersion - The Azure API version of the resource.
- Id string
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- Name string
- The name of the resource
- Properties
Kubernetes
Version Profile Response Properties - System
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- Extended
Location ExtendedLocation Response - Extended location pointing to the underlying infrastructure
- azure
Api StringVersion - The Azure API version of the resource.
- id String
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- name String
- The name of the resource
- properties
Kubernetes
Version Profile Response Properties - system
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- extended
Location ExtendedLocation Response - Extended location pointing to the underlying infrastructure
- azure
Api stringVersion - The Azure API version of the resource.
- id string
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- name string
- The name of the resource
- properties
Kubernetes
Version Profile Response Properties - system
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- extended
Location ExtendedLocation Response - Extended location pointing to the underlying infrastructure
- azure_
api_ strversion - The Azure API version of the resource.
- id str
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- name str
- The name of the resource
- properties
Kubernetes
Version Profile Response Properties - system_
data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type str
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- extended_
location ExtendedLocation Response - Extended location pointing to the underlying infrastructure
- azure
Api StringVersion - The Azure API version of the resource.
- id String
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- name String
- The name of the resource
- properties Property Map
- system
Data Property Map - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- extended
Location Property Map - Extended location pointing to the underlying infrastructure
Supporting Types
ExtendedLocationResponse
KubernetesPatchVersionsResponse
- Readiness
List<Pulumi.
Azure Native. Hybrid Container Service. Inputs. Kubernetes Version Readiness Response> - Indicates whether the kubernetes version image is ready or not
- Upgrades List<string>
- Possible upgrade paths for given patch version
- Readiness
[]Kubernetes
Version Readiness Response - Indicates whether the kubernetes version image is ready or not
- Upgrades []string
- Possible upgrade paths for given patch version
- readiness
List<Kubernetes
Version Readiness Response> - Indicates whether the kubernetes version image is ready or not
- upgrades List<String>
- Possible upgrade paths for given patch version
- readiness
Kubernetes
Version Readiness Response[] - Indicates whether the kubernetes version image is ready or not
- upgrades string[]
- Possible upgrade paths for given patch version
- readiness
Sequence[Kubernetes
Version Readiness Response] - Indicates whether the kubernetes version image is ready or not
- upgrades Sequence[str]
- Possible upgrade paths for given patch version
- readiness List<Property Map>
- Indicates whether the kubernetes version image is ready or not
- upgrades List<String>
- Possible upgrade paths for given patch version
KubernetesVersionProfileResponseProperties
- Provisioning
State string - Provisioning state of the resource
- Values
List<Pulumi.
Azure Native. Hybrid Container Service. Inputs. Kubernetes Version Properties Response> - List of supported Kubernetes versions
- Provisioning
State string - Provisioning state of the resource
- Values
[]Kubernetes
Version Properties Response - List of supported Kubernetes versions
- provisioning
State String - Provisioning state of the resource
- values
List<Kubernetes
Version Properties Response> - List of supported Kubernetes versions
- provisioning
State string - Provisioning state of the resource
- values
Kubernetes
Version Properties Response[] - List of supported Kubernetes versions
- provisioning_
state str - Provisioning state of the resource
- values
Sequence[Kubernetes
Version Properties Response] - List of supported Kubernetes versions
- provisioning
State String - Provisioning state of the resource
- values List<Property Map>
- List of supported Kubernetes versions
KubernetesVersionPropertiesResponse
- Is
Preview bool - Whether this version is in preview mode.
- Patch
Versions Dictionary<string, Pulumi.Azure Native. Hybrid Container Service. Inputs. Kubernetes Patch Versions Response> - Patch versions of a Kubernetes release
- Version string
- major.minor version of Kubernetes release
- Is
Preview bool - Whether this version is in preview mode.
- Patch
Versions map[string]KubernetesPatch Versions Response - Patch versions of a Kubernetes release
- Version string
- major.minor version of Kubernetes release
- is
Preview Boolean - Whether this version is in preview mode.
- patch
Versions Map<String,KubernetesPatch Versions Response> - Patch versions of a Kubernetes release
- version String
- major.minor version of Kubernetes release
- is
Preview boolean - Whether this version is in preview mode.
- patch
Versions {[key: string]: KubernetesPatch Versions Response} - Patch versions of a Kubernetes release
- version string
- major.minor version of Kubernetes release
- is_
preview bool - Whether this version is in preview mode.
- patch_
versions Mapping[str, KubernetesPatch Versions Response] - Patch versions of a Kubernetes release
- version str
- major.minor version of Kubernetes release
- is
Preview Boolean - Whether this version is in preview mode.
- patch
Versions Map<Property Map> - Patch versions of a Kubernetes release
- version String
- major.minor version of Kubernetes release
KubernetesVersionReadinessResponse
- Error
Message string - The error message for version not being ready
- Os
Type string - The particular KubernetesVersion Image OS Type (Linux, Windows)
- Ready bool
- Whether the kubernetes version image is ready or not
- Os
Sku string - Specifies the OS SKU used by the agent pool. The default is CBLMariner if OSType is Linux. The default is Windows2019 when OSType is Windows.
- Error
Message string - The error message for version not being ready
- Os
Type string - The particular KubernetesVersion Image OS Type (Linux, Windows)
- Ready bool
- Whether the kubernetes version image is ready or not
- Os
Sku string - Specifies the OS SKU used by the agent pool. The default is CBLMariner if OSType is Linux. The default is Windows2019 when OSType is Windows.
- error
Message String - The error message for version not being ready
- os
Type String - The particular KubernetesVersion Image OS Type (Linux, Windows)
- ready Boolean
- Whether the kubernetes version image is ready or not
- os
Sku String - Specifies the OS SKU used by the agent pool. The default is CBLMariner if OSType is Linux. The default is Windows2019 when OSType is Windows.
- error
Message string - The error message for version not being ready
- os
Type string - The particular KubernetesVersion Image OS Type (Linux, Windows)
- ready boolean
- Whether the kubernetes version image is ready or not
- os
Sku string - Specifies the OS SKU used by the agent pool. The default is CBLMariner if OSType is Linux. The default is Windows2019 when OSType is Windows.
- error_
message str - The error message for version not being ready
- os_
type str - The particular KubernetesVersion Image OS Type (Linux, Windows)
- ready bool
- Whether the kubernetes version image is ready or not
- os_
sku str - Specifies the OS SKU used by the agent pool. The default is CBLMariner if OSType is Linux. The default is Windows2019 when OSType is Windows.
- error
Message String - The error message for version not being ready
- os
Type String - The particular KubernetesVersion Image OS Type (Linux, Windows)
- ready Boolean
- Whether the kubernetes version image is ready or not
- os
Sku String - Specifies the OS SKU used by the agent pool. The default is CBLMariner if OSType is Linux. The default is Windows2019 when OSType is Windows.
SystemDataResponse
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
- created
At string - The timestamp of resource creation (UTC).
- created
By string - The identity that created the resource.
- created
By stringType - The type of identity that created the resource.
- last
Modified stringAt - The timestamp of resource last modification (UTC)
- last
Modified stringBy - The identity that last modified the resource.
- last
Modified stringBy Type - The type of identity that last modified the resource.
- created_
at str - The timestamp of resource creation (UTC).
- created_
by str - The identity that created the resource.
- created_
by_ strtype - The type of identity that created the resource.
- last_
modified_ strat - The timestamp of resource last modification (UTC)
- last_
modified_ strby - The identity that last modified the resource.
- last_
modified_ strby_ type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0
published on Wednesday, Mar 4, 2026 by Pulumi
