JobResource Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Job Resource.
[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
- Inheritance
- Attributes
Constructors
JobResource() |
Initializes a new instance of the JobResource class. |
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) |
Initializes a new instance of the JobResource class. |
Properties
CancellationReason |
Gets reason for cancellation. |
DeliveryInfo |
Gets or sets delivery Info of Job. |
DeliveryType |
Gets or sets delivery type of Job. Possible values include: 'NonScheduled', 'Scheduled' |
Details |
Gets or sets details of a job run. This field will only be sent for expand details filter. |
Error |
Gets top level error for the job. |
Id |
Gets id of the object. |
Identity |
Gets or sets msi identity of the resource (Inherited from Resource) |
IsCancellable |
Gets describes whether the job is cancellable or not. |
IsCancellableWithoutFee |
Gets flag to indicate cancellation of scheduled job. |
IsDeletable |
Gets describes whether the job is deletable or not. |
IsPrepareToShipEnabled |
Gets is Prepare To Ship Enabled on this job |
IsShippingAddressEditable |
Gets describes whether the shipping address is editable or not. |
Location |
Gets or sets the location of the resource. This will be one of the supported and registered Azure Regions (e.g. West US, East US, Southeast Asia, etc.). The region of a resource cannot be changed once it is created, but if an identical region is specified on update the request will succeed. (Inherited from Resource) |
Name |
Gets name of the object. |
Sku |
Gets or sets the sku type. (Inherited from Resource) |
StartTime |
Gets time at which the job was started in UTC ISO 8601 format. |
Status |
Gets name of the stage which is in progress. Possible values include: 'DeviceOrdered', 'DevicePrepared', 'Dispatched', 'Delivered', 'PickedUp', 'AtAzureDC', 'DataCopy', 'Completed', 'CompletedWithErrors', 'Cancelled', 'Failed_IssueReportedAtCustomer', 'Failed_IssueDetectedAtAzureDC', 'Aborted', 'CompletedWithWarnings', 'ReadyToDispatchFromAzureDC', 'ReadyToReceiveAtAzureDC', 'Created', 'ShippedToAzureDC', 'AwaitingShipmentDetails', 'PreparingToShipFromAzureDC', 'ShippedToCustomer' |
SystemData |
Gets metadata pertaining to creation and last modification of the resource. |
Tags |
Gets or sets the list of key value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). (Inherited from Resource) |
TransferType |
Gets or sets type of the data transfer. Possible values include: 'ImportToAzure', 'ExportFromAzure' |
Type |
Gets type of the object. |
Methods
Validate() |
Validate the object. |