ResourceProvisionPayload interface

Resource creation data model

Properties

resourceCount

Number of VMs to be created

resourcePrefix

if resourceOverrides doesn't contain "name", service will create name based of prefix and ResourceCount e.g. resourceprefix-0,resourceprefix-1..

virtualMachineBaseProfile

Virtual machine profile object that contains VM properties that are common across all VMs in this batch (if you want to create 100 VMs in this request, and they all have same vmSize, then include vmSize in baseProfile)

virtualMachineOverrides

Virtual machine profile array that contains VM properties that needs to be overridden for each VM in the batch (if you want to create 100 VMs, they all need a distinct computerName property, you pass computerNames for each VM in batch in this array), service will merge baseProfile with VM specific overrides and create a merged VMProfile.

Property Details

resourceCount

Number of VMs to be created

resourceCount: number

Property Value

number

resourcePrefix

if resourceOverrides doesn't contain "name", service will create name based of prefix and ResourceCount e.g. resourceprefix-0,resourceprefix-1..

resourcePrefix?: string

Property Value

string

virtualMachineBaseProfile

Virtual machine profile object that contains VM properties that are common across all VMs in this batch (if you want to create 100 VMs in this request, and they all have same vmSize, then include vmSize in baseProfile)

virtualMachineBaseProfile?: BulkVMConfiguration

Property Value

virtualMachineOverrides

Virtual machine profile array that contains VM properties that needs to be overridden for each VM in the batch (if you want to create 100 VMs, they all need a distinct computerName property, you pass computerNames for each VM in batch in this array), service will merge baseProfile with VM specific overrides and create a merged VMProfile.

virtualMachineOverrides?: BulkVMConfiguration[]

Property Value