Learn R Programming

doAzureParallel (version 0.8.0)

resizeCluster: Resize an Azure cloud-enabled cluster.

Description

Resize an Azure cloud-enabled cluster.

Usage

resizeCluster(cluster, dedicatedMin, dedicatedMax, lowPriorityMin,
  lowPriorityMax, algorithm = "QUEUE", timeInterval = "PT5M")

Arguments

cluster

Cluster object that was referenced in makeCluster

dedicatedMin

The minimum number of dedicated nodes

dedicatedMax

The maximum number of dedicated nodes

lowPriorityMin

The minimum number of low priority nodes

lowPriorityMax

The maximum number of low priority nodes

algorithm

Current built-in autoscale formulas: QUEUE, MAX_CPU, WEEKEND, WEEKDAY

timeInterval

Time interval at which to automatically adjust the pool size according to the autoscale formula

Examples

Run this code
# NOT RUN {
resizeCluster(cluster, dedicatedMin = 2, dedicatedMax = 6,
             dedicatedMin = 2, dedicatedMax = 6, algorithm = "QUEUE", timeInterval = "PT10M")
# }

Run the code above in your browser using DataLab