Udostępnij za pośrednictwem


ArmArcScVmmModelFactory.CloudCapacity Method

Definition

Initializes a new instance of CloudCapacity.

public static Azure.ResourceManager.ArcScVmm.Models.CloudCapacity CloudCapacity (long? cpuCount = default, long? memoryMB = default, long? vmCount = default);
static member CloudCapacity : Nullable<int64> * Nullable<int64> * Nullable<int64> -> Azure.ResourceManager.ArcScVmm.Models.CloudCapacity
Public Shared Function CloudCapacity (Optional cpuCount As Nullable(Of Long) = Nothing, Optional memoryMB As Nullable(Of Long) = Nothing, Optional vmCount As Nullable(Of Long) = Nothing) As CloudCapacity

Parameters

cpuCount
Nullable<Int64>

CPUCount specifies the maximum number of CPUs that can be allocated in the cloud.

memoryMB
Nullable<Int64>

MemoryMB specifies a memory usage limit in megabytes.

vmCount
Nullable<Int64>

VMCount gives the max number of VMs that can be deployed in the cloud.

Returns

A new CloudCapacity instance for mocking.

Applies to