ArmEdgeOrderModelFactory.ProductDimensions Method

Definition

Initializes a new instance of ProductDimensions.

public static Azure.ResourceManager.EdgeOrder.Models.ProductDimensions ProductDimensions (double? length = default, double? height = default, double? width = default, Azure.ResourceManager.EdgeOrder.Models.ProductLengthHeightWidthUnit? lengthHeightUnit = default, double? weight = default, double? depth = default, Azure.ResourceManager.EdgeOrder.Models.ProductWeightMeasurementUnit? weightUnit = default);
static member ProductDimensions : Nullable<double> * Nullable<double> * Nullable<double> * Nullable<Azure.ResourceManager.EdgeOrder.Models.ProductLengthHeightWidthUnit> * Nullable<double> * Nullable<double> * Nullable<Azure.ResourceManager.EdgeOrder.Models.ProductWeightMeasurementUnit> -> Azure.ResourceManager.EdgeOrder.Models.ProductDimensions
Public Shared Function ProductDimensions (Optional length As Nullable(Of Double) = Nothing, Optional height As Nullable(Of Double) = Nothing, Optional width As Nullable(Of Double) = Nothing, Optional lengthHeightUnit As Nullable(Of ProductLengthHeightWidthUnit) = Nothing, Optional weight As Nullable(Of Double) = Nothing, Optional depth As Nullable(Of Double) = Nothing, Optional weightUnit As Nullable(Of ProductWeightMeasurementUnit) = Nothing) As ProductDimensions

Parameters

length
Nullable<Double>

Length of the device.

height
Nullable<Double>

Height of the device.

width
Nullable<Double>

Width of the device.

lengthHeightUnit
Nullable<ProductLengthHeightWidthUnit>

Unit for the dimensions of length, height and width.

weight
Nullable<Double>

Weight of the device.

depth
Nullable<Double>

Depth of the device.

weightUnit
Nullable<ProductWeightMeasurementUnit>

Unit for the dimensions of weight.

Returns

A new ProductDimensions instance for mocking.

Applies to