Editing a Disk Import Transfer Job's Tags
Edit a disk import transfer job's tags.
Using the Data Transfer Utility
The Data Transfer Utility replaces any existing tags with the new key/value pairs you specify.
To edit defined tags, provide the replacement key value pairs:
dts job update --job-id job_id --defined-tags '{ "tag_namespace": { "tag_key":"value" }}'
For example:
dts job update --job-id ocid1.datatransferjob.oc1..exampleuniqueID --defined-tags '{"Operations": {"CostCenter": "42"}}'
Transfer Job :
ID : ocid1.datatransferjob.oc1..exampleuniqueID
CompartmentId : ocid.compartment.oc1..exampleuniqueID
UploadBucket : MyBucket1
Name : MyDiskImportJob
Label : JZM9PAVWH
CreationDate : 2019/06/04 17:07:05 EDT
Status : PREPARING
freeformTags : *** none ***
definedTags :
operations :
costcenter : 42
Packages : [*** none ***]
UnattachedDevices : [*** none ***]
Appliances : [*** none ***]
To edit free-form tags, provide the replacement key/value pairs:
dts job update --job-id job_id --freeform-tags '{ "tag_key":"value" }'
For example:
dts job update --job-id ocid1.datatransferjob.oc1..exampleuniqueID --freeform-tags '{"Chicago_Team":"marketing_videos"}'
Transfer Job :
ID : ocid1.datatransferjob.oc1..exampleuniqueID
CompartmentId : ocid.compartment.oc1..exampleuniqueID
UploadBucket : MyBucket1
Name : MyDiskImportJob
Label : JZM9PAVWH
CreationDate : 2019/06/04 17:07:05 EDT
Status : PREPARING
freeform-tags :
Chicago_Team : marketing_videos
definedTags : *** none ***
Packages : [*** none ***]
UnattachedDevices : [*** none ***]
Appliances : [*** none ***]