Udostępnij za pośrednictwem


ArmDataBoxModelFactory.DataBoxDiskJobDetails Method

Definition

Initializes a new instance of DataBoxDiskJobDetails.

public static Azure.ResourceManager.DataBox.Models.DataBoxDiskJobDetails DataBoxDiskJobDetails (System.Collections.Generic.IEnumerable<Azure.ResourceManager.DataBox.Models.DataBoxJobStage> jobStages = default, Azure.ResourceManager.DataBox.Models.DataBoxContactDetails contactDetails = default, Azure.ResourceManager.DataBox.Models.DataBoxShippingAddress shippingAddress = default, Azure.ResourceManager.DataBox.Models.PackageShippingDetails deliveryPackage = default, Azure.ResourceManager.DataBox.Models.PackageShippingDetails returnPackage = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.DataBox.Models.DataImportDetails> dataImportDetails = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.DataBox.Models.DataExportDetails> dataExportDetails = default, Azure.ResourceManager.DataBox.Models.DataBoxOrderPreferences preferences = default, Azure.ResourceManager.DataBox.Models.ReverseShippingDetails reverseShippingDetails = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.DataBox.Models.CopyLogDetails> copyLogDetails = default, string reverseShipmentLabelSasKey = default, string chainOfCustodySasKey = default, Azure.ResourceManager.DataBox.Models.DeviceErasureDetails deviceErasureDetails = default, Azure.ResourceManager.DataBox.Models.DataBoxKeyEncryptionKey keyEncryptionKey = default, int? expectedDataSizeInTerabytes = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.DataBox.Models.CustomerResolutionCode> actions = default, Azure.ResourceManager.DataBox.Models.LastMitigationActionOnJob lastMitigationActionOnJob = default, Azure.ResourceManager.DataBox.Models.DataCenterAddressResult dataCenterAddress = default, Azure.ResourceManager.DataBox.Models.DataCenterCode? dataCenterCode = default, System.Collections.Generic.IDictionary<string,int> preferredDisks = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.DataBox.Models.DataBoxDiskCopyProgress> copyProgress = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.DataBox.Models.DataBoxDiskGranularCopyProgress> granularCopyProgress = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.DataBox.Models.DataBoxDiskGranularCopyLogDetails> granularCopyLogDetails = default, System.Collections.Generic.IReadOnlyDictionary<string,int> disksAndSizeDetails = default, string passkey = default);
static member DataBoxDiskJobDetails : seq<Azure.ResourceManager.DataBox.Models.DataBoxJobStage> * Azure.ResourceManager.DataBox.Models.DataBoxContactDetails * Azure.ResourceManager.DataBox.Models.DataBoxShippingAddress * Azure.ResourceManager.DataBox.Models.PackageShippingDetails * Azure.ResourceManager.DataBox.Models.PackageShippingDetails * seq<Azure.ResourceManager.DataBox.Models.DataImportDetails> * seq<Azure.ResourceManager.DataBox.Models.DataExportDetails> * Azure.ResourceManager.DataBox.Models.DataBoxOrderPreferences * Azure.ResourceManager.DataBox.Models.ReverseShippingDetails * seq<Azure.ResourceManager.DataBox.Models.CopyLogDetails> * string * string * Azure.ResourceManager.DataBox.Models.DeviceErasureDetails * Azure.ResourceManager.DataBox.Models.DataBoxKeyEncryptionKey * Nullable<int> * seq<Azure.ResourceManager.DataBox.Models.CustomerResolutionCode> * Azure.ResourceManager.DataBox.Models.LastMitigationActionOnJob * Azure.ResourceManager.DataBox.Models.DataCenterAddressResult * Nullable<Azure.ResourceManager.DataBox.Models.DataCenterCode> * System.Collections.Generic.IDictionary<string, int> * seq<Azure.ResourceManager.DataBox.Models.DataBoxDiskCopyProgress> * seq<Azure.ResourceManager.DataBox.Models.DataBoxDiskGranularCopyProgress> * seq<Azure.ResourceManager.DataBox.Models.DataBoxDiskGranularCopyLogDetails> * System.Collections.Generic.IReadOnlyDictionary<string, int> * string -> Azure.ResourceManager.DataBox.Models.DataBoxDiskJobDetails
Public Shared Function DataBoxDiskJobDetails (Optional jobStages As IEnumerable(Of DataBoxJobStage) = Nothing, Optional contactDetails As DataBoxContactDetails = Nothing, Optional shippingAddress As DataBoxShippingAddress = Nothing, Optional deliveryPackage As PackageShippingDetails = Nothing, Optional returnPackage As PackageShippingDetails = Nothing, Optional dataImportDetails As IEnumerable(Of DataImportDetails) = Nothing, Optional dataExportDetails As IEnumerable(Of DataExportDetails) = Nothing, Optional preferences As DataBoxOrderPreferences = Nothing, Optional reverseShippingDetails As ReverseShippingDetails = Nothing, Optional copyLogDetails As IEnumerable(Of CopyLogDetails) = Nothing, Optional reverseShipmentLabelSasKey As String = Nothing, Optional chainOfCustodySasKey As String = Nothing, Optional deviceErasureDetails As DeviceErasureDetails = Nothing, Optional keyEncryptionKey As DataBoxKeyEncryptionKey = Nothing, Optional expectedDataSizeInTerabytes As Nullable(Of Integer) = Nothing, Optional actions As IEnumerable(Of CustomerResolutionCode) = Nothing, Optional lastMitigationActionOnJob As LastMitigationActionOnJob = Nothing, Optional dataCenterAddress As DataCenterAddressResult = Nothing, Optional dataCenterCode As Nullable(Of DataCenterCode) = Nothing, Optional preferredDisks As IDictionary(Of String, Integer) = Nothing, Optional copyProgress As IEnumerable(Of DataBoxDiskCopyProgress) = Nothing, Optional granularCopyProgress As IEnumerable(Of DataBoxDiskGranularCopyProgress) = Nothing, Optional granularCopyLogDetails As IEnumerable(Of DataBoxDiskGranularCopyLogDetails) = Nothing, Optional disksAndSizeDetails As IReadOnlyDictionary(Of String, Integer) = Nothing, Optional passkey As String = Nothing) As DataBoxDiskJobDetails

Parameters

jobStages
IEnumerable<DataBoxJobStage>

List of stages that run in the job.

contactDetails
DataBoxContactDetails

Contact details for notification and shipping.

shippingAddress
DataBoxShippingAddress

Shipping address of the customer.

deliveryPackage
PackageShippingDetails

Delivery package shipping details.

returnPackage
PackageShippingDetails

Return package shipping details.

dataImportDetails
IEnumerable<DataImportDetails>

Details of the data to be imported into azure.

dataExportDetails
IEnumerable<DataExportDetails>

Details of the data to be exported from azure.

preferences
DataBoxOrderPreferences

Preferences for the order.

reverseShippingDetails
ReverseShippingDetails

Optional Reverse Shipping details for order.

copyLogDetails
IEnumerable<CopyLogDetails>

List of copy log details. Please note CopyLogDetails is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include DataBoxAccountCopyLogDetails, DataBoxCustomerDiskCopyLogDetails, DataBoxDiskCopyLogDetails and DataBoxHeavyAccountCopyLogDetails.

reverseShipmentLabelSasKey
String

Shared access key to download the return shipment label.

chainOfCustodySasKey
String

Shared access key to download the chain of custody logs.

deviceErasureDetails
DeviceErasureDetails

Holds device data erasure details.

keyEncryptionKey
DataBoxKeyEncryptionKey

Details about which key encryption type is being used.

expectedDataSizeInTerabytes
Nullable<Int32>

The expected size of the data, which needs to be transferred in this job, in terabytes.

actions
IEnumerable<CustomerResolutionCode>

Available actions on the job.

lastMitigationActionOnJob
LastMitigationActionOnJob

Last mitigation action performed on the job.

dataCenterAddress
DataCenterAddressResult

Datacenter address to ship to, for the given sku and storage location. Please note DataCenterAddressResult is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include DataCenterAddressInstructionResult and DataCenterAddressLocationResult.

dataCenterCode
Nullable<DataCenterCode>

DataCenter code.

preferredDisks
IDictionary<String,Int32>

User preference on what size disks are needed for the job. The map is from the disk size in TB to the count. Eg. {2,5} means 5 disks of 2 TB size. Key is string but will be checked against an int.

copyProgress
IEnumerable<DataBoxDiskCopyProgress>

Copy progress per disk.

granularCopyProgress
IEnumerable<DataBoxDiskGranularCopyProgress>

Copy progress per disk.

granularCopyLogDetails
IEnumerable<DataBoxDiskGranularCopyLogDetails>

Copy progress per disk.

disksAndSizeDetails
IReadOnlyDictionary<String,Int32>

Contains the map of disk serial number to the disk size being used for the job. Is returned only after the disks are shipped to the customer.

passkey
String

User entered passkey for DataBox Disk job.

Returns

A new DataBoxDiskJobDetails instance for mocking.

Applies to