ArmEdgeOrderModelFactory.EdgeOrderItemDetails Method

Definition

Initializes a new instance of EdgeOrderItemDetails.

public static Azure.ResourceManager.EdgeOrder.Models.EdgeOrderItemDetails EdgeOrderItemDetails (Azure.ResourceManager.EdgeOrder.Models.ProductDetails productDetails = default, Azure.ResourceManager.EdgeOrder.Models.OrderItemType orderItemType = default, Azure.ResourceManager.EdgeOrder.Models.EdgeOrderStageDetails currentStage = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.EdgeOrder.Models.EdgeOrderStageDetails> orderItemStageHistory = default, Azure.ResourceManager.EdgeOrder.Models.OrderItemPreferences preferences = default, Azure.ResourceManager.EdgeOrder.Models.ForwardShippingDetails forwardShippingDetails = default, Azure.ResourceManager.EdgeOrder.Models.ReverseShippingDetails reverseShippingDetails = default, System.Collections.Generic.IEnumerable<string> notificationEmailList = default, string cancellationReason = default, Azure.ResourceManager.EdgeOrder.Models.OrderItemCancellationStatus? cancellationStatus = default, Azure.ResourceManager.EdgeOrder.Models.EdgeOrderActionStatus? deletionStatus = default, string returnReason = default, Azure.ResourceManager.EdgeOrder.Models.OrderItemReturnStatus? returnStatus = default, string firstOrDefaultManagementResourceProviderNamespace = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.EdgeOrder.Models.ResourceProviderDetails> managementRPDetailsList = default, Azure.ResponseError error = default);
static member EdgeOrderItemDetails : Azure.ResourceManager.EdgeOrder.Models.ProductDetails * Azure.ResourceManager.EdgeOrder.Models.OrderItemType * Azure.ResourceManager.EdgeOrder.Models.EdgeOrderStageDetails * seq<Azure.ResourceManager.EdgeOrder.Models.EdgeOrderStageDetails> * Azure.ResourceManager.EdgeOrder.Models.OrderItemPreferences * Azure.ResourceManager.EdgeOrder.Models.ForwardShippingDetails * Azure.ResourceManager.EdgeOrder.Models.ReverseShippingDetails * seq<string> * string * Nullable<Azure.ResourceManager.EdgeOrder.Models.OrderItemCancellationStatus> * Nullable<Azure.ResourceManager.EdgeOrder.Models.EdgeOrderActionStatus> * string * Nullable<Azure.ResourceManager.EdgeOrder.Models.OrderItemReturnStatus> * string * seq<Azure.ResourceManager.EdgeOrder.Models.ResourceProviderDetails> * Azure.ResponseError -> Azure.ResourceManager.EdgeOrder.Models.EdgeOrderItemDetails
Public Shared Function EdgeOrderItemDetails (Optional productDetails As ProductDetails = Nothing, Optional orderItemType As OrderItemType = Nothing, Optional currentStage As EdgeOrderStageDetails = Nothing, Optional orderItemStageHistory As IEnumerable(Of EdgeOrderStageDetails) = Nothing, Optional preferences As OrderItemPreferences = Nothing, Optional forwardShippingDetails As ForwardShippingDetails = Nothing, Optional reverseShippingDetails As ReverseShippingDetails = Nothing, Optional notificationEmailList As IEnumerable(Of String) = Nothing, Optional cancellationReason As String = Nothing, Optional cancellationStatus As Nullable(Of OrderItemCancellationStatus) = Nothing, Optional deletionStatus As Nullable(Of EdgeOrderActionStatus) = Nothing, Optional returnReason As String = Nothing, Optional returnStatus As Nullable(Of OrderItemReturnStatus) = Nothing, Optional firstOrDefaultManagementResourceProviderNamespace As String = Nothing, Optional managementRPDetailsList As IEnumerable(Of ResourceProviderDetails) = Nothing, Optional error As ResponseError = Nothing) As EdgeOrderItemDetails

Parameters

productDetails
ProductDetails

Unique identifier for configuration.

orderItemType
OrderItemType

Order item type.

currentStage
EdgeOrderStageDetails

Current Order item Status.

orderItemStageHistory
IEnumerable<EdgeOrderStageDetails>

Order item status history.

preferences
OrderItemPreferences

Customer notification Preferences.

forwardShippingDetails
ForwardShippingDetails

Forward Package Shipping details.

reverseShippingDetails
ReverseShippingDetails

Reverse Package Shipping details.

notificationEmailList
IEnumerable<String>

Additional notification email list.

cancellationReason
String

Cancellation reason.

cancellationStatus
Nullable<OrderItemCancellationStatus>

Describes whether the order item is cancellable or not.

deletionStatus
Nullable<EdgeOrderActionStatus>

Describes whether the order item is deletable or not.

returnReason
String

Return reason.

returnStatus
Nullable<OrderItemReturnStatus>

Describes whether the order item is returnable or not.

firstOrDefaultManagementResourceProviderNamespace
String

Parent RP details - this returns only the first or default parent RP from the entire list.

managementRPDetailsList
IEnumerable<ResourceProviderDetails>

List of parent RP details supported for configuration.

error
ResponseError

Top level error for the job.

Returns

A new EdgeOrderItemDetails instance for mocking.

Applies to