你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
ArmDataBoxModelFactory.DataBoxJobData 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
初始化 DataBoxJobData 的新实例。
public static Azure.ResourceManager.DataBox.DataBoxJobData DataBoxJobData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, System.Collections.Generic.IDictionary<string,string> tags = default, Azure.Core.AzureLocation location = default, Azure.ResourceManager.DataBox.Models.DataBoxJobTransferType transferType = Azure.ResourceManager.DataBox.Models.DataBoxJobTransferType.ImportToAzure, bool? isCancellable = default, bool? isDeletable = default, bool? isShippingAddressEditable = default, Azure.ResourceManager.DataBox.Models.ReverseShippingDetailsEditStatus? reverseShippingDetailsUpdate = default, Azure.ResourceManager.DataBox.Models.ReverseTransportPreferenceEditStatus? reverseTransportPreferenceUpdate = default, bool? isPrepareToShipEnabled = default, Azure.ResourceManager.DataBox.Models.DataBoxStageName? status = default, DateTimeOffset? startOn = default, Azure.ResponseError error = default, Azure.ResourceManager.DataBox.Models.DataBoxBasicJobDetails details = default, string cancellationReason = default, Azure.ResourceManager.DataBox.Models.JobDeliveryType? deliveryType = default, DateTimeOffset? deliveryInfoScheduledOn = default, bool? isCancellableWithoutFee = default, Azure.ResourceManager.DataBox.Models.DataBoxSku sku = default, Azure.ResourceManager.Models.ManagedServiceIdentity identity = default);
static member DataBoxJobData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * System.Collections.Generic.IDictionary<string, string> * Azure.Core.AzureLocation * Azure.ResourceManager.DataBox.Models.DataBoxJobTransferType * Nullable<bool> * Nullable<bool> * Nullable<bool> * Nullable<Azure.ResourceManager.DataBox.Models.ReverseShippingDetailsEditStatus> * Nullable<Azure.ResourceManager.DataBox.Models.ReverseTransportPreferenceEditStatus> * Nullable<bool> * Nullable<Azure.ResourceManager.DataBox.Models.DataBoxStageName> * Nullable<DateTimeOffset> * Azure.ResponseError * Azure.ResourceManager.DataBox.Models.DataBoxBasicJobDetails * string * Nullable<Azure.ResourceManager.DataBox.Models.JobDeliveryType> * Nullable<DateTimeOffset> * Nullable<bool> * Azure.ResourceManager.DataBox.Models.DataBoxSku * Azure.ResourceManager.Models.ManagedServiceIdentity -> Azure.ResourceManager.DataBox.DataBoxJobData
Public Shared Function DataBoxJobData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional location As AzureLocation = Nothing, Optional transferType As DataBoxJobTransferType = Azure.ResourceManager.DataBox.Models.DataBoxJobTransferType.ImportToAzure, Optional isCancellable As Nullable(Of Boolean) = Nothing, Optional isDeletable As Nullable(Of Boolean) = Nothing, Optional isShippingAddressEditable As Nullable(Of Boolean) = Nothing, Optional reverseShippingDetailsUpdate As Nullable(Of ReverseShippingDetailsEditStatus) = Nothing, Optional reverseTransportPreferenceUpdate As Nullable(Of ReverseTransportPreferenceEditStatus) = Nothing, Optional isPrepareToShipEnabled As Nullable(Of Boolean) = Nothing, Optional status As Nullable(Of DataBoxStageName) = Nothing, Optional startOn As Nullable(Of DateTimeOffset) = Nothing, Optional error As ResponseError = Nothing, Optional details As DataBoxBasicJobDetails = Nothing, Optional cancellationReason As String = Nothing, Optional deliveryType As Nullable(Of JobDeliveryType) = Nothing, Optional deliveryInfoScheduledOn As Nullable(Of DateTimeOffset) = Nothing, Optional isCancellableWithoutFee As Nullable(Of Boolean) = Nothing, Optional sku As DataBoxSku = Nothing, Optional identity As ManagedServiceIdentity = Nothing) As DataBoxJobData
参数
ID。
- name
- String
名称。
- resourceType
- ResourceType
resourceType。
- systemData
- SystemData
systemData。
- tags
- IDictionary<String,String>
标记。
- location
- AzureLocation
位置。
- transferType
- DataBoxJobTransferType
数据传输的类型。
- reverseShippingDetailsUpdate
- Nullable<ReverseShippingDetailsEditStatus>
反向送货地址和联系人信息的可编辑状态。
- reverseTransportPreferenceUpdate
- Nullable<ReverseTransportPreferenceEditStatus>
反向传输首选项的可编辑状态。
- status
- Nullable<DataBoxStageName>
正在进行的阶段的名称。
- startOn
- Nullable<DateTimeOffset>
以 UTC ISO 8601 格式启动作业的时间。
- error
- ResponseError
作业的顶级错误。
- details
- DataBoxBasicJobDetails
作业运行的详细信息。 此字段仅发送用于展开详细信息筛选器。 请注意 DataBoxBasicJobDetails(IEnumerable<DataBoxJobStage>, DataBoxContactDetails, DataBoxShippingAddress, PackageShippingDetails, PackageShippingDetails, IEnumerable<DataImportDetails>, IEnumerable<DataExportDetails>, DataBoxOrderPreferences, ReverseShippingDetails, IEnumerable<CopyLogDetails>, String, String, DeviceErasureDetails, DataBoxKeyEncryptionKey, Nullable<Int32>, IEnumerable<CustomerResolutionCode>, LastMitigationActionOnJob, DataCenterAddressResult, Nullable<DataCenterCode>) ,是基类。 根据方案,可能需要在此处分配基类的派生类,或者此属性需要强制转换为可能的派生类之一。 可用的派生类包括 DataBoxJobDetails(IEnumerable<DataBoxJobStage>, DataBoxContactDetails, DataBoxShippingAddress, PackageShippingDetails, PackageShippingDetails, IEnumerable<DataImportDetails>, IEnumerable<DataExportDetails>, DataBoxOrderPreferences, ReverseShippingDetails, IEnumerable<CopyLogDetails>, String, String, DeviceErasureDetails, DataBoxKeyEncryptionKey, Nullable<Int32>, IEnumerable<CustomerResolutionCode>, LastMitigationActionOnJob, DataCenterAddressResult, Nullable<DataCenterCode>, IEnumerable<DataBoxCopyProgress>, String)、 DataBoxCustomerDiskJobDetails(IEnumerable<DataBoxJobStage>, DataBoxContactDetails, DataBoxShippingAddress, PackageShippingDetails, PackageShippingDetails, IEnumerable<DataImportDetails>, IEnumerable<DataExportDetails>, DataBoxOrderPreferences, ReverseShippingDetails, IEnumerable<CopyLogDetails>, String, String, DeviceErasureDetails, DataBoxKeyEncryptionKey, Nullable<Int32>, IEnumerable<CustomerResolutionCode>, LastMitigationActionOnJob, DataCenterAddressResult, Nullable<DataCenterCode>, IDictionary<String, ImportDiskDetails>, IReadOnlyDictionary<String,ExportDiskDetails>, IEnumerable<DataBoxCustomerDiskCopyProgress>, PackageCarrierInfo, PackageCarrierDetails, Nullable<Boolean>)DataBoxDiskJobDetails(IEnumerable<DataBoxJobStage>, DataBoxContactDetails, DataBoxShippingAddress, PackageShippingDetails, PackageShippingDetails, IEnumerable<DataImportDetails>, IEnumerable<DataExportDetails>, DataBoxOrderPreferences, ReverseShippingDetails, IEnumerable<CopyLogDetails>, String, String, DeviceErasureDetails, DataBoxKeyEncryptionKey, Nullable<Int32>, IEnumerable<CustomerResolutionCode>, LastMitigationActionOnJob, DataCenterAddressResult, Nullable<DataCenterCode>, IDictionary<String, Int32>, IEnumerable<DataBoxDiskCopyProgress>, IEnumerable<DataBoxDiskGranularCopyProgress>, IEnumerable<DataBoxDiskGranularCopyLogDetails>, IReadOnlyDictionary<String, Int32>, String) 和 DataBoxHeavyJobDetails(IEnumerable<DataBoxJobStage>, DataBoxContactDetails, DataBoxShippingAddress, PackageShippingDetails, PackageShippingDetails, IEnumerable<DataImportDetails>, IEnumerable<DataExportDetails>, DataBoxOrderPreferences, ReverseShippingDetails, IEnumerable<CopyLogDetails>, String, String, DeviceErasureDetails, DataBoxKeyEncryptionKey, Nullable<Int32>, IEnumerable<CustomerResolutionCode>, LastMitigationActionOnJob, DataCenterAddressResult, Nullable<DataCenterCode>, IEnumerable<DataBoxCopyProgress>, String)。
- cancellationReason
- String
取消的原因。
- deliveryType
- Nullable<JobDeliveryType>
作业的传递类型。
- deliveryInfoScheduledOn
- Nullable<DateTimeOffset>
作业的传递信息。
- sku
- DataBoxSku
SKU 类型。
- identity
- ManagedServiceIdentity
资源的 Msi 标识。
返回
用于模拟的新 DataBoxJobData 实例。