ArmStoragePoolModelFactory.ManagedDiskIscsiLun Method

Definition

Initializes a new instance of ManagedDiskIscsiLun.

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

Parameters

name
String

User defined name for iSCSI LUN; example: "lun0".

managedDiskAzureResourceId
ResourceIdentifier

Azure Resource ID of the Managed Disk.

lun
Nullable<Int32>

Specifies the Logical Unit Number of the iSCSI LUN.

Returns

A new ManagedDiskIscsiLun instance for mocking.

Applies to