Partilhar via


ArmEdgeOrderModelFactory.EdgeOrderItemData Method

Definition

Initializes a new instance of EdgeOrderItemData.

public static Azure.ResourceManager.EdgeOrder.EdgeOrderItemData EdgeOrderItemData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, System.Collections.Generic.IDictionary<string,string> tags = default, Azure.Core.AzureLocation location = default, Azure.ResourceManager.EdgeOrder.Models.EdgeOrderItemDetails orderItemDetails = default, Azure.ResourceManager.EdgeOrder.Models.EdgeOrderItemAddressDetails addressDetails = default, DateTimeOffset? startOn = default, Azure.Core.ResourceIdentifier orderId = default);
static member EdgeOrderItemData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * System.Collections.Generic.IDictionary<string, string> * Azure.Core.AzureLocation * Azure.ResourceManager.EdgeOrder.Models.EdgeOrderItemDetails * Azure.ResourceManager.EdgeOrder.Models.EdgeOrderItemAddressDetails * Nullable<DateTimeOffset> * Azure.Core.ResourceIdentifier -> Azure.ResourceManager.EdgeOrder.EdgeOrderItemData
Public Shared Function EdgeOrderItemData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional location As AzureLocation = Nothing, Optional orderItemDetails As EdgeOrderItemDetails = Nothing, Optional addressDetails As EdgeOrderItemAddressDetails = Nothing, Optional startOn As Nullable(Of DateTimeOffset) = Nothing, Optional orderId As ResourceIdentifier = Nothing) As EdgeOrderItemData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

tags
IDictionary<String,String>

The tags.

location
AzureLocation

The location.

orderItemDetails
EdgeOrderItemDetails

Represents order item details.

addressDetails
EdgeOrderItemAddressDetails

Represents shipping and return address for order item.

startOn
Nullable<DateTimeOffset>

Start time of order item.

orderId
ResourceIdentifier

Id of the order to which order item belongs to.

Returns

A new EdgeOrderItemData instance for mocking.

Applies to