Udostępnij za pośrednictwem


ArmEdgeOrderModelFactory.EdgeOrderData Method

Definition

Initializes a new instance of EdgeOrderData.

public static Azure.ResourceManager.EdgeOrder.EdgeOrderData EdgeOrderData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, System.Collections.Generic.IEnumerable<Azure.Core.ResourceIdentifier> orderItemIds = default, Azure.ResourceManager.EdgeOrder.Models.EdgeOrderStageDetails currentStage = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.EdgeOrder.Models.EdgeOrderStageDetails> orderStageHistory = default);
static member EdgeOrderData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * seq<Azure.Core.ResourceIdentifier> * Azure.ResourceManager.EdgeOrder.Models.EdgeOrderStageDetails * seq<Azure.ResourceManager.EdgeOrder.Models.EdgeOrderStageDetails> -> Azure.ResourceManager.EdgeOrder.EdgeOrderData
Public Shared Function EdgeOrderData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional orderItemIds As IEnumerable(Of ResourceIdentifier) = Nothing, Optional currentStage As EdgeOrderStageDetails = Nothing, Optional orderStageHistory As IEnumerable(Of EdgeOrderStageDetails) = Nothing) As EdgeOrderData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

orderItemIds
IEnumerable<ResourceIdentifier>

List of order item ARM Ids which are part of an order.

currentStage
EdgeOrderStageDetails

Order current status.

orderStageHistory
IEnumerable<EdgeOrderStageDetails>

Order status history.

Returns

A new EdgeOrderData instance for mocking.

Applies to