ResourceProvisionPayload interface
Resource creation data model
Properties
| resource |
Number of VMs to be created |
| resource |
if resourceOverrides doesn't contain "name", service will create name based of prefix and ResourceCount e.g. resourceprefix-0,resourceprefix-1.. |
| virtual |
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) |
| virtual |
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[]