你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ArmDataBoxModelFactory.DataBoxJobDetails 方法

定义

初始化 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

参数

jobStages
IEnumerable<DataBoxJobStage>

作业中运行的阶段列表。

contactDetails
DataBoxContactDetails

通知和发货的联系人详细信息。

shippingAddress
DataBoxShippingAddress

客户的送货地址。

deliveryPackage
PackageShippingDetails

交付包裹寄送详细信息。

returnPackage
PackageShippingDetails

退回包裹寄送详细信息。

dataImportDetails
IEnumerable<DataImportDetails>

要导入 Azure 的数据的详细信息。

dataExportDetails
IEnumerable<DataExportDetails>

要从 Azure 导出的数据的详细信息。

preferences
DataBoxOrderPreferences

订单的首选项。

reverseShippingDetails
ReverseShippingDetails

订单的可选反向发货详细信息。

copyLogDetails
IEnumerable<CopyLogDetails>

复制日志详细信息列表。 请注意 CopyLogDetails ,是基类。 根据方案,可能需要在此处分配基类的派生类,或者此属性需要强制转换为可能的派生类之一。 可用的派生类包括 DataBoxAccountCopyLogDetails(String, String, String)DataBoxCustomerDiskCopyLogDetails(String, String, String)DataBoxDiskCopyLogDetails(String, String, String)DataBoxHeavyAccountCopyLogDetails(String, IEnumerable<String>, IEnumerable<String>)

reverseShipmentLabelSasKey
String

用于下载退货标签的共享访问密钥。

chainOfCustodySasKey
String

用于下载托管日志链的共享访问密钥。

deviceErasureDetails
DeviceErasureDetails

保存设备数据擦除详细信息。

keyEncryptionKey
DataBoxKeyEncryptionKey

有关正在使用哪种密钥加密类型的详细信息。

expectedDataSizeInTerabytes
Nullable<Int32>

需要在此作业中传输的数据的预期大小(以 TB 为单位)。

actions
IEnumerable<CustomerResolutionCode>

作业上的可用操作。

lastMitigationActionOnJob
LastMitigationActionOnJob

对作业执行的最后一个缓解操作。

dataCenterAddress
DataCenterAddressResult

对于给定的 SKU 和存储位置,要寄送到的数据中心地址。 请注意 DataCenterAddressResult(IEnumerable<String>, Nullable<AzureLocation>) ,是基类。 根据方案,可能需要在此处分配基类的派生类,或者此属性需要强制转换为可能的派生类之一。 可用的派生类包括 DataCenterAddressInstructionResult(IEnumerable<String>, Nullable<AzureLocation>, String)DataCenterAddressLocationResult(IEnumerable<String>, Nullable<AzureLocation>, String, String, String, String, String, String, String, String, String, String, String, String, String)

dataCenterCode
Nullable<DataCenterCode>

DataCenter 代码。

copyProgress
IEnumerable<DataBoxCopyProgress>

每个存储帐户的复制进度。

devicePassword
String

设置用于解锁 Databox 的设备密码。 不应为 TransferType:ExportFromAzure 作业传递。 如果未传递此密码,则服务将自行生成密码。 这不会在“获取呼叫”中返回。 密码要求:密码必须至少为 12 个字符,最多 64 个字符。 密码必须至少具有一个大写字母、一个数字和一个特殊字符。 密码不能包含以下字符:IilLoO0 密码只能包含字母、数字和以下字符:@#-$%^!+=;:_ () ]+。

返回

用于模拟的新 DataBoxJobDetails 实例。

适用于