Learn R Programming

AzureSMR (version 0.2.6)

azureDeleteVM: Delete a Virtual Machine.

Description

Delete a Virtual Machine.

Usage

azureDeleteVM(azureActiveContext, resourceGroup, vmName, subscriptionID,
  mode = "Sync", verbose = FALSE)

Arguments

azureActiveContext

A container used for caching variables used by AzureSMR, created by createAzureContext()

resourceGroup

Name of the resource group

vmName

Virtual Machine name

subscriptionID

Subscription ID. This is obtained automatically by azureAuthenticate() when only a single subscriptionID is available via Active Directory

mode

Wait for operation to complete 'Sync' (Default)

verbose

Print Tracing information (Default False)

azureActiveContext

A container used for caching variables used by AzureSMR, created by createAzureContext()

resourceGroup

Name of the resource group

vmName

Virtual Machine name

subscriptionID

Subscription ID. This is obtained automatically by azureAuthenticate() when only a single subscriptionID is available via Active Directory

mode

Wait for operation to complete 'Sync' (Default)

verbose

Print Tracing information (Default False)

See Also

Other Virtual machine functions: azureGetAllVMstatus, azureListScaleSetNetwork, azureListScaleSetVM, azureListScaleSets, azureListVM, azureStartVM, azureStopVM, azureVMStatus