Description Usage Arguments Value See Also Examples
Method for the AzureRMR::az_subscription and AzureRMR::az_resource_group classes.
1 2 3 4 5 | ## R6 method for class 'az_subscription'
list_vm_sizes(location, name_only = FALSE)
## R6 method for class 'az_resource_group'
list_vm_sizes(name_only = FALSE)
|
location
: For the subscription class method, the location/region for which to obtain available VM sizes.
name_only
: Whether to return only a vector of names, or all information on each VM size.
If name_only
is TRUE, a character vector of names, suitable for passing to create_vm
. If FALSE, a data frame containing the following information for each VM size: the name, number of cores, OS disk size, resource disk size, memory, and maximum data disks.
create_vm
1 2 3 4 5 6 7 8 9 10 11 12 13 | ## Not run:
sub <- AzureRMR::get_azure_login$
get_subscription("subscription_id")
sub$list_vm_sizes("australiaeast")
# same output as above
rg <- sub$create_resource_group("rgname", location="australiaeast")
rg$list_vm_sizes()
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.