Udostępnij za pośrednictwem


ArmAvsModelFactory.DiskPoolVolume Method

Definition

Initializes a new instance of DiskPoolVolume.

public static Azure.ResourceManager.Avs.Models.DiskPoolVolume DiskPoolVolume (Azure.Core.ResourceIdentifier targetId = default, string lunName = default, Azure.ResourceManager.Avs.Models.LunMountMode? mountOption = default, string path = default);
static member DiskPoolVolume : Azure.Core.ResourceIdentifier * string * Nullable<Azure.ResourceManager.Avs.Models.LunMountMode> * string -> Azure.ResourceManager.Avs.Models.DiskPoolVolume
Public Shared Function DiskPoolVolume (Optional targetId As ResourceIdentifier = Nothing, Optional lunName As String = Nothing, Optional mountOption As Nullable(Of LunMountMode) = Nothing, Optional path As String = Nothing) As DiskPoolVolume

Parameters

targetId
ResourceIdentifier

Azure resource ID of the iSCSI target.

lunName
String

Name of the LUN to be used for datastore.

mountOption
Nullable<LunMountMode>

Mode that describes whether the LUN has to be mounted as a datastore or attached as a LUN

path
String

Device path.

Returns

A new DiskPoolVolume instance for mocking.

Applies to