ArmComputeScheduleModelFactory.ResourceProvisionFlexPayload Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Resource creation data model for flex VM provisioning.
public static Azure.ResourceManager.ComputeSchedule.Models.ResourceProvisionFlexPayload ResourceProvisionFlexPayload(System.Collections.Generic.IDictionary<string,BinaryData> baseProfile = default, System.Collections.Generic.IEnumerable<System.Collections.Generic.IDictionary<string,BinaryData>> resourceOverrides = default, int resourceCount = 0, string resourcePrefix = default, Azure.ResourceManager.ComputeSchedule.Models.ComputeScheduleFlexProperties flexProperties = default);
static member ResourceProvisionFlexPayload : System.Collections.Generic.IDictionary<string, BinaryData> * seq<System.Collections.Generic.IDictionary<string, BinaryData>> * int * string * Azure.ResourceManager.ComputeSchedule.Models.ComputeScheduleFlexProperties -> Azure.ResourceManager.ComputeSchedule.Models.ResourceProvisionFlexPayload
Public Shared Function ResourceProvisionFlexPayload (Optional baseProfile As IDictionary(Of String, BinaryData) = Nothing, Optional resourceOverrides As IEnumerable(Of IDictionary(Of String, BinaryData)) = Nothing, Optional resourceCount As Integer = 0, Optional resourcePrefix As String = Nothing, Optional flexProperties As ComputeScheduleFlexProperties = Nothing) As ResourceProvisionFlexPayload
Parameters
- baseProfile
- IDictionary<String,BinaryData>
JSON object that contains VM properties that are common across all VMs in this batch.
- resourceOverrides
- IEnumerable<IDictionary<String,BinaryData>>
JSON array that contains VM properties that should be overridden for each VM in the batch.
- resourceCount
- Int32
Number of VMs to be created.
- resourcePrefix
- String
If resourceOverrides doesn't contain name, service will create name based on prefix and resourceCount.
- flexProperties
- ComputeScheduleFlexProperties
The flex properties for flexible VM creation.
Returns
A new ResourceProvisionFlexPayload instance for mocking.