Udostępnij za pośrednictwem


ArmDataBoxModelFactory.TransportPreferences Method

Definition

Initializes a new instance of TransportPreferences.

public static Azure.ResourceManager.DataBox.Models.TransportPreferences TransportPreferences (Azure.ResourceManager.DataBox.Models.TransportShipmentType preferredShipmentType = Azure.ResourceManager.DataBox.Models.TransportShipmentType.CustomerManaged, bool? isUpdated = default);
static member TransportPreferences : Azure.ResourceManager.DataBox.Models.TransportShipmentType * Nullable<bool> -> Azure.ResourceManager.DataBox.Models.TransportPreferences
Public Shared Function TransportPreferences (Optional preferredShipmentType As TransportShipmentType = Azure.ResourceManager.DataBox.Models.TransportShipmentType.CustomerManaged, Optional isUpdated As Nullable(Of Boolean) = Nothing) As TransportPreferences

Parameters

preferredShipmentType
TransportShipmentType

Indicates Shipment Logistics type that the customer preferred.

isUpdated
Nullable<Boolean>

Read only property which indicates whether transport preferences has been updated or not after device is prepared.

Returns

A new TransportPreferences instance for mocking.

Applies to