Udostępnij za pośrednictwem


ArmDataBoxModelFactory.DataBoxJobDetails Method

Definition

Initializes a new instance of DataBoxJobDetails.

public static Azure.ResourceManager.DataBox.Models.DataBoxJobDetails DataBoxJobDetails (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.IEnumerable<Azure.ResourceManager.DataBox.Models.DataBoxCopyProgress> copyProgress = default, string devicePassword = default);
static member DataBoxJobDetails : 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> * seq<Azure.ResourceManager.DataBox.Models.DataBoxCopyProgress> * string -> Azure.ResourceManager.DataBox.Models.DataBoxJobDetails
Public Shared Function DataBoxJobDetails (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 copyProgress As IEnumerable(Of DataBoxCopyProgress) = Nothing, Optional devicePassword As String = Nothing) As DataBoxJobDetails

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.

copyProgress
IEnumerable<DataBoxCopyProgress>

Copy progress per storage account.

devicePassword
String

Set Device password for unlocking Databox. Should not be passed for TransferType:ExportFromAzure jobs. If this is not passed, the service will generate password itself. This will not be returned in Get Call. Password Requirements : Password must be minimum of 12 and maximum of 64 characters. Password must have at least one uppercase alphabet, one number and one special character. Password cannot have the following characters : IilLoO0 Password can have only alphabets, numbers and these characters : @#-$%^!+=;:_()]+.

Returns

A new DataBoxJobDetails instance for mocking.

Applies to