Compartilhar via


ArmHybridComputeModelFactory.HybridComputeDisk Method

Definition

Initializes a new instance of HybridComputeDisk.

public static Azure.ResourceManager.HybridCompute.Models.HybridComputeDisk HybridComputeDisk (string path = default, string diskType = default, string generatedId = default, Azure.Core.ResourceIdentifier id = default, string name = default, long? maxSizeInBytes = default, long? usedSpaceInBytes = default);
static member HybridComputeDisk : string * string * string * Azure.Core.ResourceIdentifier * string * Nullable<int64> * Nullable<int64> -> Azure.ResourceManager.HybridCompute.Models.HybridComputeDisk
Public Shared Function HybridComputeDisk (Optional path As String = Nothing, Optional diskType As String = Nothing, Optional generatedId As String = Nothing, Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional maxSizeInBytes As Nullable(Of Long) = Nothing, Optional usedSpaceInBytes As Nullable(Of Long) = Nothing) As HybridComputeDisk

Parameters

path
String

The path of the disk.

diskType
String

The type of the disk.

generatedId
String

The generated ID of the disk.

id
ResourceIdentifier

The ID of the disk.

name
String

The name of the disk.

maxSizeInBytes
Nullable<Int64>

The size of the disk, in bytes.

usedSpaceInBytes
Nullable<Int64>

The amount of space used on the disk, in bytes.

Returns

A new HybridComputeDisk instance for mocking.

Applies to