共用方式為


ArmHciModelFactory.NetworkInterfaceStatus Method

Definition

Initializes a new instance of NetworkInterfaceStatus.

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

Parameters

errorCode
String

NetworkInterface provisioning error code.

errorMessage
String

Descriptive error message.

Returns

A new NetworkInterfaceStatus instance for mocking.

Applies to