ArmDevTestLabsModelFactory.ComputeDataDisk Method

Definition

Initializes a new instance of ComputeDataDisk.

public static Azure.ResourceManager.DevTestLabs.Models.ComputeDataDisk ComputeDataDisk (string name = default, Uri diskUri = default, string managedDiskId = default, int? diskSizeGiB = default);
static member ComputeDataDisk : string * Uri * string * Nullable<int> -> Azure.ResourceManager.DevTestLabs.Models.ComputeDataDisk
Public Shared Function ComputeDataDisk (Optional name As String = Nothing, Optional diskUri As Uri = Nothing, Optional managedDiskId As String = Nothing, Optional diskSizeGiB As Nullable(Of Integer) = Nothing) As ComputeDataDisk

Parameters

name
String

Gets data disk name.

diskUri
Uri

When backed by a blob, the URI of underlying blob.

managedDiskId
String

When backed by managed disk, this is the ID of the compute disk resource.

diskSizeGiB
Nullable<Int32>

Gets data disk size in GiB.

Returns

A new ComputeDataDisk instance for mocking.

Applies to