Udostępnij za pośrednictwem


ArmIotHubModelFactory.IotHubCapacity Method

Definition

Initializes a new instance of IotHubCapacity.

public static Azure.ResourceManager.IotHub.Models.IotHubCapacity IotHubCapacity (long? minimum = default, long? maximum = default, long? default = default, Azure.ResourceManager.IotHub.Models.IotHubScaleType? scaleType = default);
static member IotHubCapacity : Nullable<int64> * Nullable<int64> * Nullable<int64> * Nullable<Azure.ResourceManager.IotHub.Models.IotHubScaleType> -> Azure.ResourceManager.IotHub.Models.IotHubCapacity
Public Shared Function IotHubCapacity (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 IotHubScaleType) = Nothing) As IotHubCapacity

Parameters

minimum
Nullable<Int64>

The minimum number of units.

maximum
Nullable<Int64>

The maximum number of units.

default
Nullable<Int64>

The default number of units.

scaleType
Nullable<IotHubScaleType>

The type of the scaling enabled.

Returns

A new IotHubCapacity instance for mocking.

Applies to