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

ArmDataBoxModelFactory.DataBoxDiskJobDetails 方法

定义

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

参数

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 代码。

preferredDisks
IDictionary<String,Int32>

用户优先选择作业所需的磁盘大小。 映射从磁盘大小(以 TB 为单位)到计数。 例如 {2,5} 表示 5 个大小为 2 TB 的磁盘。 密钥为字符串,但将根据 int 进行检查。

copyProgress
IEnumerable<DataBoxDiskCopyProgress>

每个磁盘的复制进度。

granularCopyProgress
IEnumerable<DataBoxDiskGranularCopyProgress>

每个磁盘的复制进度。

granularCopyLogDetails
IEnumerable<DataBoxDiskGranularCopyLogDetails>

每个磁盘的复制进度。

disksAndSizeDetails
IReadOnlyDictionary<String,Int32>

包含磁盘序列号与用于作业的磁盘大小的映射。 仅在将磁盘寄送给客户后才返回。

passkey
String

用户为 DataBox Disk 作业输入了密钥。

返回

用于模拟的新 DataBoxDiskJobDetails 实例。

适用于