Learn R Programming

AzureContainers (version 1.3.3)

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

Examples

Run this code
if (FALSE) {

rg <- AzureRMR::get_azure_login()$
    get_subscription("subscription_id")$
    get_resource_group("rgname")

rg$list_kubernetes_versions()

}

Run the code above in your browser using DataLab