Description Usage Arguments Details See Also Examples
Method for the AzureRMR::az_subscription and AzureRMR::az_resource_group classes.
1 2 3 4 5 6 7 8 9 10 11 12 13 | ## R6 method for class 'az_resource_group'
delete_vm(name, confirm = TRUE, free_resources = TRUE)
## R6 method for class 'az_subscription'
delete_vm(name, confirm = TRUE, free_resources = TRUE,
resource_group = name)
## R6 method for class 'az_resource_group'
delete_vm_scaleset(name, confirm = TRUE, free_resources = TRUE)
## R6 method for class 'az_subscription'
delete_vm_scaleset(name, confirm = TRUE, free_resources = TRUE,
resource_group = name)
|
name
: The name of the VM or scaleset.
confirm
: Whether to confirm the delete.
free_resources
: If this was a deployed template, whether to free all resources created during the deployment process.
resource_group
: For the AzureRMR::az_subscription
method, the resource group containing the VM or scaleset.
For the subscription methods, deleting the VM or scaleset will also delete its resource group.
create_vm, az_vm_template, az_vm_resource, AzureRMR::az_subscription, AzureRMR::az_resource_group
1 2 3 4 5 6 7 8 9 10 | ## Not run:
sub <- AzureRMR::get_azure_login()$
get_subscription("subscription_id")
sub$delete_vm("myvm")
sub$delete_vm_scaleset("myscaleset")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.