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.v2020_11_01.models._models_py3.ResourceJobResource
Constructor
JobResource(*, location: str, sku: _models.Sku, transfer_type: str | _models.TransferType, tags: Dict[str, str] | None = None, identity: _models.ResourceIdentity | None = None, details: _models.JobDetails | None = None, delivery_type: str | _models.JobDeliveryType = 'NonScheduled', delivery_info: _models.JobDeliveryInfo | None = None, **kwargs: Any)
Keyword-Only Parameters
Name | Description |
---|---|
location
|
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. Required. |
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
|
The sku type. Required. |
identity
|
Msi identity of the resource. |
transfer_type
|
str or
TransferType
Type of the data transfer. Required. Known values are: "ImportToAzure" and "ExportFromAzure". |
details
|
Details of a job run. This field will only be sent for expand details filter. |
delivery_type
|
Delivery type of Job. Known values are: "NonScheduled" and "Scheduled". default value: NonScheduled
|
delivery_info
|
Delivery Info of Job. |
Variables
Name | Description |
---|---|
location
|
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. Required. |
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
|
The sku type. Required. |
identity
|
Msi identity of the resource. |
name
|
Name of the object. |
id
|
Id of the object. |
type
|
Type of the object. |
system_data
|
Metadata pertaining to creation and last modification of the resource. |
transfer_type
|
str or
TransferType
Type of the data transfer. Required. Known values are: "ImportToAzure" and "ExportFromAzure". |
is_cancellable
|
Describes whether the job is cancellable or not. |
is_deletable
|
Describes whether the job is deletable or not. |
is_shipping_address_editable
|
Describes whether the shipping address is editable or not. |
is_prepare_to_ship_enabled
|
Is Prepare To Ship Enabled on this job. |
status
|
Name of the stage which is in progress. Known values are: "DeviceOrdered", "DevicePrepared", "Dispatched", "Delivered", "PickedUp", "AtAzureDC", "DataCopy", "Completed", "CompletedWithErrors", "Cancelled", "Failed_IssueReportedAtCustomer", "Failed_IssueDetectedAtAzureDC", "Aborted", "CompletedWithWarnings", "ReadyToDispatchFromAzureDC", and "ReadyToReceiveAtAzureDC". |
start_time
|
Time at which the job was started in UTC ISO 8601 format. |
error
|
Top level error for the job. |
details
|
Details of a job run. This field will only be sent for expand details filter. |
cancellation_reason
|
Reason for cancellation. |
delivery_type
|
Delivery type of Job. Known values are: "NonScheduled" and "Scheduled". |
delivery_info
|
Delivery Info of Job. |
is_cancellable_without_fee
|
Flag to indicate cancellation of scheduled job. |
Azure SDK for Python
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for