Udostępnij za pośrednictwem


ArmHciModelFactory.VirtualHardDiskStatus Method

Definition

Initializes a new instance of VirtualHardDiskStatus.

public static Azure.ResourceManager.Hci.Models.VirtualHardDiskStatus VirtualHardDiskStatus (string errorCode = default, string errorMessage = default, Azure.ResourceManager.Hci.Models.VirtualHardDiskStatusProvisioningStatus provisioningStatus = default);
static member VirtualHardDiskStatus : string * string * Azure.ResourceManager.Hci.Models.VirtualHardDiskStatusProvisioningStatus -> Azure.ResourceManager.Hci.Models.VirtualHardDiskStatus
Public Shared Function VirtualHardDiskStatus (Optional errorCode As String = Nothing, Optional errorMessage As String = Nothing, Optional provisioningStatus As VirtualHardDiskStatusProvisioningStatus = Nothing) As VirtualHardDiskStatus

Parameters

errorCode
String

VirtualHardDisk provisioning error code.

errorMessage
String

Descriptive error message.

Returns

A new VirtualHardDiskStatus instance for mocking.

Applies to