# Functions

AcceptAgreement updates the agreementTerms as accepted.
CreateNIC creates a NIC given the resourceGroup, nic name and NIC creation parameters.
CreateVirtualMachine creates a Virtual Machine given a resourceGroup and virtual machine creation parameters.
DeleteDisk deletes disk for passed in resourceGroup and diskName.
DeleteNIC deletes the NIC identified by a resourceGroup and nicName.
DeleteVirtualMachine deletes the Virtual Machine with the give name and belonging to the passed in resource group.
GetAgreementTerms fetches the agreement terms for the purchase plan.
GetNIC fetches a NIC identified by resourceGroup and nic name.
GetSubnet fetches a Subnet resource given a resourceGroup, virtualNetworkName and subnetName.
GetVirtualMachine gets a VirtualMachine for the given vm name and resource group.
GetVMImage fetches the VM Image given a location and image reference.
QueryAndMap fires a resource graph KUSTO query constructing it from queryTemplate and templateArgs.
ResourceGroupExists checks if the given resourceGroup exists.
SetCascadeDeleteForNICsAndDisks sets cascade deletion for NICs and Disks (OSDisk and DataDisks) associated to passed virtual machine.

# Type aliases

MapperFn maps a row of result (represented as map[string]interface{}) to any type T.