共用方式為


ArmLargeInstanceModelFactory.LargeInstanceDisk Method

Definition

Initializes a new instance of LargeInstanceDisk.

public static Azure.ResourceManager.LargeInstance.Models.LargeInstanceDisk LargeInstanceDisk (string name = default, int? diskSizeGB = default, int? lun = default);
static member LargeInstanceDisk : string * Nullable<int> * Nullable<int> -> Azure.ResourceManager.LargeInstance.Models.LargeInstanceDisk
Public Shared Function LargeInstanceDisk (Optional name As String = Nothing, Optional diskSizeGB As Nullable(Of Integer) = Nothing, Optional lun As Nullable(Of Integer) = Nothing) As LargeInstanceDisk

Parameters

name
String

The disk name.

diskSizeGB
Nullable<Int32>

Specifies the size of an empty data disk in gigabytes.

lun
Nullable<Int32>

Specifies the logical unit number of the data disk. This value is used to identify data disks within the VM and therefore must be unique for each data disk attached to a VM.

Returns

A new LargeInstanceDisk instance for mocking.

Applies to