共用方式為


ArmDataBoxEdgeModelFactory.DataBoxEdgeOrderData Method

Definition

Initializes a new instance of DataBoxEdgeOrderData.

public static Azure.ResourceManager.DataBoxEdge.DataBoxEdgeOrderData DataBoxEdgeOrderData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, string kind = default, string orderId = default, Azure.ResourceManager.DataBoxEdge.Models.DataBoxEdgeContactDetails contactInformation = default, Azure.ResourceManager.DataBoxEdge.Models.DataBoxEdgeShippingAddress shippingAddress = default, Azure.ResourceManager.DataBoxEdge.Models.DataBoxEdgeOrderStatus currentStatus = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.DataBoxEdge.Models.DataBoxEdgeOrderStatus> orderHistory = default, string serialNumber = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.DataBoxEdge.Models.DataBoxEdgeTrackingInfo> deliveryTrackingInfo = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.DataBoxEdge.Models.DataBoxEdgeTrackingInfo> returnTrackingInfo = default, Azure.ResourceManager.DataBoxEdge.Models.DataBoxEdgeShipmentType? shipmentType = default);
static member DataBoxEdgeOrderData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * string * string * Azure.ResourceManager.DataBoxEdge.Models.DataBoxEdgeContactDetails * Azure.ResourceManager.DataBoxEdge.Models.DataBoxEdgeShippingAddress * Azure.ResourceManager.DataBoxEdge.Models.DataBoxEdgeOrderStatus * seq<Azure.ResourceManager.DataBoxEdge.Models.DataBoxEdgeOrderStatus> * string * seq<Azure.ResourceManager.DataBoxEdge.Models.DataBoxEdgeTrackingInfo> * seq<Azure.ResourceManager.DataBoxEdge.Models.DataBoxEdgeTrackingInfo> * Nullable<Azure.ResourceManager.DataBoxEdge.Models.DataBoxEdgeShipmentType> -> Azure.ResourceManager.DataBoxEdge.DataBoxEdgeOrderData
Public Shared Function DataBoxEdgeOrderData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional kind As String = Nothing, Optional orderId As String = Nothing, Optional contactInformation As DataBoxEdgeContactDetails = Nothing, Optional shippingAddress As DataBoxEdgeShippingAddress = Nothing, Optional currentStatus As DataBoxEdgeOrderStatus = Nothing, Optional orderHistory As IEnumerable(Of DataBoxEdgeOrderStatus) = Nothing, Optional serialNumber As String = Nothing, Optional deliveryTrackingInfo As IEnumerable(Of DataBoxEdgeTrackingInfo) = Nothing, Optional returnTrackingInfo As IEnumerable(Of DataBoxEdgeTrackingInfo) = Nothing, Optional shipmentType As Nullable(Of DataBoxEdgeShipmentType) = Nothing) As DataBoxEdgeOrderData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

kind
String

It specify the order api version.

orderId
String

It specify the order resource id.

contactInformation
DataBoxEdgeContactDetails

The contact details.

shippingAddress
DataBoxEdgeShippingAddress

The shipping address.

currentStatus
DataBoxEdgeOrderStatus

Current status of the order.

orderHistory
IEnumerable<DataBoxEdgeOrderStatus>

List of status changes in the order.

serialNumber
String

Serial number of the device.

deliveryTrackingInfo
IEnumerable<DataBoxEdgeTrackingInfo>

Tracking information for the package delivered to the customer whether it has an original or a replacement device.

returnTrackingInfo
IEnumerable<DataBoxEdgeTrackingInfo>

Tracking information for the package returned from the customer whether it has an original or a replacement device.

shipmentType
Nullable<DataBoxEdgeShipmentType>

ShipmentType of the order.

Returns

A new DataBoxEdgeOrderData instance for mocking.

Applies to