Description Usage Arguments Value Examples
View source: R/AKSProvider-method.R
Create an AKS provider object, you must have a login cache made by
AzureRMR::create_azure_login
before you call this function.
1 2 3 4 5 6 7 8 9 10 | AKSProvider(
k8sCluster = NULL,
poolName = "akspool",
AKSName = Sys.getenv("AZ_AKS_NAME"),
resourceGroupName = Sys.getenv("AZ_RESOURCE_GROUP_NAME"),
subscriptionName = Sys.getenv("AZ_SUBSCRIPTION"),
tenant = Sys.getenv("AZ_TENANT"),
tenantSelection = character(0),
autoDelete = NULL
)
|
k8sCluster |
KubernetesCluster, the K8S cluster object from the package |
poolName |
Character(1), the name of the node pool. This parameter will only be used when the k8s cluster does not exist and need to be created. |
AKSName |
Character(1), the Azure Kubernetes service name |
resourceGroupName |
Character(1), the resource group name. If empty, the function will print a menu and ask you to choose one. |
subscriptionName |
Character(1), the subscription name. If empty, the function will print a menu and ask you to choose one. |
tenant |
Character(1), the tenant you want to use. This argument will be passed to
|
tenantSelection |
Character(1), if you have multiple logins for a given tenant,
which one to use. This can be a number, or the input MD5 hash of the token used for the login
(You can find them via |
autoDelete |
Logical(1), whether the kubernetes cluster should be deleted when the
|
An AKSProvider
reference object
1 | provider <- AKSProvider(tenant = "Your tenant ID")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.