ArmDataBoxEdgeModelFactory.DeviceCapacityRequestContent 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.
public static Azure.ResourceManager.DataBoxEdge.Models.DeviceCapacityRequestContent DeviceCapacityRequestContent(System.Collections.Generic.IEnumerable<System.Collections.Generic.IList<string>> vmPlacementQuery = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.DataBoxEdge.Models.VmPlacementRequestResult> vmPlacementResults = default);
static member DeviceCapacityRequestContent : seq<System.Collections.Generic.IList<string>> * seq<Azure.ResourceManager.DataBoxEdge.Models.VmPlacementRequestResult> -> Azure.ResourceManager.DataBoxEdge.Models.DeviceCapacityRequestContent
Public Shared Function DeviceCapacityRequestContent (Optional vmPlacementQuery As IEnumerable(Of IList(Of String)) = Nothing, Optional vmPlacementResults As IEnumerable(Of VmPlacementRequestResult) = Nothing) As DeviceCapacityRequestContent
Parameters
- vmPlacementQuery
- IEnumerable<IList<String>>
Array containing the sizes of the VMs for checking if its feasible to create them on the appliance.
- vmPlacementResults
- IEnumerable<VmPlacementRequestResult>
Array of the VMs of the sizes in VmSizes can be provisioned on the appliance.
Returns
A new DeviceCapacityRequestContent instance for mocking.
Exceptions
vmPlacementQuery is null.