Learn R Programming

AzureContainers (version 1.0.2)

list_kubernetes_versions: List available Kubernetes versions

Description

Method for the AzureRMR::az_subscription and AzureRMR::az_resource_group classes.

Value

A vector of strings, which are the Kubernetes versions that can be used when creating a cluster.

Usage

## R6 method for class 'az_subscription'
list_kubernetes_versions(location)

## R6 method for class 'az_resource_group' list_kubernetes_versions()

Arguments

  • location: For the az_subscription class method, the location for which to obtain available Kubernetes versions.

See Also

create_aks

Kubernetes reference

Examples

Run this code
# NOT RUN {
rg <- AzureRMR::az_rm$
    new(tenant="myaadtenant.onmicrosoft.com", app="app_id", password="password")$
    get_subscription("subscription_id")$
    get_resource_group("rgname")

rg$list_kubernetes_versions()

# }

Run the code above in your browser using DataLab