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

JobResource 类

定义

作业资源。

[Microsoft.Rest.Serialization.JsonTransformation]
public class JobResource : Microsoft.Azure.Management.DataBox.Models.Resource
[<Microsoft.Rest.Serialization.JsonTransformation>]
type JobResource = class
    inherit Resource
Public Class JobResource
Inherits Resource
继承
JobResource
属性

构造函数

JobResource()

初始化 JobResource 类的新实例。

JobResource(String, Sku, TransferType, IDictionary<String,String>, ResourceIdentity, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, String, Nullable<DateTime>, CloudError, JobDetails, String, Nullable<JobDeliveryType>, JobDeliveryInfo, Nullable<Boolean>, String, String, String, SystemData)

初始化 JobResource 类的新实例。

属性

CancellationReason

获取取消的原因。

DeliveryInfo

获取或设置作业的传递信息。

DeliveryType

获取或设置作业的传递类型。 可能的值包括:“NonScheduled”、“Scheduled”

Details

获取或设置作业运行的详细信息。 此字段将仅用于展开详细信息筛选器。

Error

获取作业的顶级错误。

Id

获取 对象的 ID。

Identity

获取或设置资源的 msi 标识

(继承自 Resource)
IsCancellable

获取描述作业是否可取消。

IsCancellableWithoutFee

获取指示取消计划作业的标志。

IsDeletable

获取描述作业是否可删除。

IsPrepareToShipEnabled

获取在此作业上启用“准备交付”

IsShippingAddressEditable

获取描述送货地址是否可编辑。

Location

获取或设置资源的位置。 这是受支持和注册的 Azure 区域之一, (例如美国西部、美国东部、东南亚等) 。 资源的区域在创建后无法更改,但如果在更新时指定了相同的区域,则请求将成功。

(继承自 Resource)
Name

获取对象的名称。

Sku

获取或设置 SKU 类型。

(继承自 Resource)
StartTime

获取以 UTC ISO 8601 格式启动作业的时间。

Status

获取正在进行的阶段的名称。 可能的值包括:“DeviceOrdered”、“DevicePrepared”、“Dispatched”、“Delivered”、“PickedUp”、“AtAzureDC”、“DataCopy”、“Completed”、“CompletedWithErrors”、 “Cancelled”、“Failed_IssueReportedAtCustomer”、“Failed_IssueDetectedAtAzureDC”、“Aborted”、“CompletedWithWarnings”、“ReadyToDispatchFromAzureDC”、“ReadyToReceiveAtAzureDC”、“Created”、“ShippedToAzureDC”、“AwaitingShipmentDetails”、“PreparingToShipFromAzureDC”、“ShippedToCustomer”

SystemData

获取与资源的创建和上次修改相关的元数据。

Tags

获取或设置描述资源的键值对的列表。 在查看此资源和为此资源分组(跨资源组)时,可以使用这些标记。

(继承自 Resource)
TransferType

获取或设置数据传输的类型。 可能的值包括:“ImportToAzure”、“ExportFromAzure”

Type

获取 对象的类型。

方法

Validate()

验证 对象。

适用于