Answers to frequently asked questions about projects in Intelligent Media Management (IMM).
Why am I unable to delete a project?
Causes
A project cannot be deleted if either of the following conditions exists:
-
The project still has an Object Storage Service (OSS) bucket binding.
-
The project still has a dataset.
Solution
To delete a project, remove all associated resources in the following order. The diagram below shows the resource dependency chain:
Project
|-- OSS Bucket Binding --> DetachOSSBucket (remove first)
|-- Dataset
|-- File Metadata --> DeleteFileMeta / BatchDeleteFileMeta (remove first)
(empty dataset) --> DeleteDataset (remove second)
(empty project) --> DeleteProject (remove last)
Follow these steps:
-
Check whether the project is bound to an OSS bucket.
-
If yes, call the DetachOSSBucket operation to unbind the bucket from the project, and then proceed to Step 2.
-
If no, proceed to Step 2.
-
-
Check whether a dataset exists in the project.
-
If yes, proceed to Step 3.
-
If no, proceed to Step 5.
-
-
Check whether the dataset contains metadata.
-
If yes, delete the metadata from the dataset by using the IMM console, the DeleteFileMeta operation, or the BatchDeleteFileMeta operation.
-
If no, proceed to Step 4.
-
-
Delete the dataset by using the IMM console or the DeleteDataset operation.
-
Delete the project by using the IMM console or the DeleteProject operation.
How do I change the region of a project?
The region of a project is set at creation time and cannot be changed. To use IMM in a different region, create a new project in that region.