Closing an Appliance Import Transfer Job

Close an appliance import transfer job.

Typically, you would close a transfer job when no further transfer job activity is required or possible. Closing a transfer job requires that the status of all associated transfer packages be returned, canceled, or deleted. In addition, the status of all associated transfer disks must be complete, in error, missing, canceled, or deleted.

When you close the transfer job, the status changes to Closed.

Using the Console

  1. Open the navigation menu and click Migration & Disaster Recovery. Under Data Transfer, click Imports. The Transfer Jobs page appears.

  2. Choose a Compartment you have permission to work in under List scope. All transfer jobs in that compartment are listed in tabular form.

  3. Click the data transfer package for which you want to display the details. The transfer job's Details page appears.

  4. Click Close Transfer Job.

Using the CLI

Use the oci dts job close command and required parameters to close an appliance import transfer job.

oci dts job close --job-id job_id [OPTIONS]

For a complete list of flags and variable options for CLI commands, see the Command Line Reference.

For example:

oci dts job close --job-id ocid1.datatransferjob.oc1..exampleuniqueID
{					
  "data": {
    "attached-transfer-appliance-labels": [],
    "attached-transfer-device-labels": [],
    "attached-transfer-package-labels": [],
    "compartment-id": "ocid.compartment.oc1..exampleuniqueID",
    "creation-time": "2020-05-20T22:00:43+00:00",
    "defined-tags": {},
    "device-type": "APPLIANCE",
    "display-name": "MyApplianceImportJob",
    "freeform-tags": {},
    "id": "ocid1.datatransferjob.oc1..exampleuniqueID",
    "label": "JGX4N1XLI",
    "lifecycle-state": "CLOSED",
    "upload-bucket-name": "MyBucket"
  },
  "etag": "1"
}