Share via


ArmNetworkCloudModelFactory.MachineDisk Method

Definition

Initializes a new instance of MachineDisk.

public static Azure.ResourceManager.NetworkCloud.Models.MachineDisk MachineDisk (long? capacityGB = default, Azure.ResourceManager.NetworkCloud.Models.MachineSkuDiskConnectionType? connection = default, Azure.ResourceManager.NetworkCloud.Models.DiskType? diskType = default);
static member MachineDisk : Nullable<int64> * Nullable<Azure.ResourceManager.NetworkCloud.Models.MachineSkuDiskConnectionType> * Nullable<Azure.ResourceManager.NetworkCloud.Models.DiskType> -> Azure.ResourceManager.NetworkCloud.Models.MachineDisk
Public Shared Function MachineDisk (Optional capacityGB As Nullable(Of Long) = Nothing, Optional connection As Nullable(Of MachineSkuDiskConnectionType) = Nothing, Optional diskType As Nullable(Of DiskType) = Nothing) As MachineDisk

Parameters

capacityGB
Nullable<Int64>

The maximum amount of storage in GB.

connection
Nullable<MachineSkuDiskConnectionType>

The connection type of the rack SKU resource.

diskType
Nullable<DiskType>

The disk type of rack SKU resource.

Returns

A new MachineDisk instance for mocking.

Applies to