Partilhar via


ArmComputeModelFactory.ComputeResourceSkuCapacity Method

Definition

Initializes a new instance of ComputeResourceSkuCapacity.

public static Azure.ResourceManager.Compute.Models.ComputeResourceSkuCapacity ComputeResourceSkuCapacity (long? minimum = default, long? maximum = default, long? default = default, Azure.ResourceManager.Compute.Models.ComputeResourceSkuCapacityScaleType? scaleType = default);
static member ComputeResourceSkuCapacity : Nullable<int64> * Nullable<int64> * Nullable<int64> * Nullable<Azure.ResourceManager.Compute.Models.ComputeResourceSkuCapacityScaleType> -> Azure.ResourceManager.Compute.Models.ComputeResourceSkuCapacity
Public Shared Function ComputeResourceSkuCapacity (Optional minimum As Nullable(Of Long) = Nothing, Optional maximum As Nullable(Of Long) = Nothing, Optional default As Nullable(Of Long) = Nothing, Optional scaleType As Nullable(Of ComputeResourceSkuCapacityScaleType) = Nothing) As ComputeResourceSkuCapacity

Parameters

minimum
Nullable<Int64>

The minimum capacity.

maximum
Nullable<Int64>

The maximum capacity that can be set.

default
Nullable<Int64>

The default capacity.

scaleType
Nullable<ComputeResourceSkuCapacityScaleType>

The scale type applicable to the sku.

Returns

A new ComputeResourceSkuCapacity instance for mocking.

Applies to