JobResource Class

Job Resource.

Variables are only populated by the server, and will be ignored when sending a request.

All required parameters must be populated in order to send to Azure.

Inheritance
azure.mgmt.databox.v2019_09_01.models._models_py3.Resource
JobResource

Constructor

JobResource(*, location: str, sku: azure.mgmt.databox.v2019_09_01.models._models_py3.Sku, tags: Optional[Dict[str, str]] = None, details: Optional[azure.mgmt.databox.v2019_09_01.models._models_py3.JobDetails] = None, delivery_type: Optional[Union[str, azure.mgmt.databox.v2019_09_01.models._data_box_management_client_enums.JobDeliveryType]] = None, delivery_info: Optional[azure.mgmt.databox.v2019_09_01.models._models_py3.JobDeliveryInfo] = None, **kwargs)

Parameters

location
str
Required

Required. 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.

tags
dict[str, str]
Required

A set of tags. The list of key value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups).

sku
<xref:azure.mgmt.databox.models.Sku>
Required

Required. The sku type.

details
<xref:azure.mgmt.databox.models.JobDetails>
Required

Details of a job run. This field will only be sent for expand details filter.

delivery_type
str or <xref:azure.mgmt.databox.models.JobDeliveryType>
Required

Delivery type of Job. Possible values include: "NonScheduled", "Scheduled".

delivery_info
<xref:azure.mgmt.databox.models.JobDeliveryInfo>
Required

Delivery Info of Job.

Variables

name
str

Name of the object.

id
str

Id of the object.

type
str

Type of the object.

is_cancellable
bool

Describes whether the job is cancellable or not.

is_deletable
bool

Describes whether the job is deletable or not.

is_shipping_address_editable
bool

Describes whether the shipping address is editable or not.

status
str or <xref:azure.mgmt.databox.models.StageName>

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".

start_time
datetime

Time at which the job was started in UTC ISO 8601 format.

error
<xref:azure.mgmt.databox.models.Error>

Top level error for the job.

cancellation_reason
str

Reason for cancellation.

is_cancellable_without_fee
bool

Flag to indicate cancellation of scheduled job.