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_04_01.models._models_py3.ResourceJobResource
Constructor
JobResource(*, location: str, sku: azure.mgmt.databox.v2020_04_01.models._models_py3.Sku, transfer_type: Union[str, azure.mgmt.databox.v2020_04_01.models._data_box_management_client_enums.TransferType], tags: Optional[Dict[str, str]] = None, identity: Optional[azure.mgmt.databox.v2020_04_01.models._models_py3.ResourceIdentity] = None, details: Optional[azure.mgmt.databox.v2020_04_01.models._models_py3.JobDetails] = None, delivery_type: Optional[Union[str, azure.mgmt.databox.v2020_04_01.models._data_box_management_client_enums.JobDeliveryType]] = None, delivery_info: Optional[azure.mgmt.databox.v2020_04_01.models._models_py3.JobDeliveryInfo] = None, **kwargs)
Parameters
- location
- str
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.
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. The sku type.
- identity
- <xref:azure.mgmt.databox.models.ResourceIdentity>
Msi identity of the resource.
- transfer_type
- str or <xref:azure.mgmt.databox.models.TransferType>
Required. Type of the data transfer. Possible values include: "ImportToAzure", "ExportFromAzure".
- details
- <xref:azure.mgmt.databox.models.JobDetails>
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>
Delivery type of Job. Possible values include: "NonScheduled", "Scheduled".
- delivery_info
- <xref:azure.mgmt.databox.models.JobDeliveryInfo>
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.
- is_prepare_to_ship_enabled
- bool
Is Prepare To Ship Enabled on this job.
- 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.CloudError>
Top level error for the job.
- cancellation_reason
- str
Reason for cancellation.
- is_cancellable_without_fee
- bool
Flag to indicate cancellation of scheduled job.
Feedback
Submit and view feedback for