Adding Tags to a Migration Project
Add tags to a migration project to help you organize it according to your business needs. Adding tags is optional.
- Open the navigation menu and click Migration & Disaster Recovery. Under Cloud Migrations, click Migrations.
- On the Migrations page, click the active migration project to which you want to add tags.
- On the Migration project details page, from More actions, select Add tags.
-
In the Add tags dialog box, provide the following
details:
- Tag namespace: To add a defined tag, select an existing namespace. To add a free-from tag, leave the value blank.
- Tag key: To add a defined tag, select an existing tag key. To add a free-form tag, type the key name that you want.
- Tag value: Type the tag value that you want.
To add more tags, click Add tag. To remove a tag, click X.
- Click Add tags.
To add tags to a migration project, use the
create
command by specifying the--defined-tags
optional parameter.oci cloud-migrations migration create --compartment-id target_compartment_ID --display-name migration_identifier [--defined-tags JSON_formatted_defined_tag] [OPTIONS]
The required parameters for thecreate
command are:-
--compartment-id
: Specifies the OCID of the compartment name. --display-name
: Specifies the name of the migration project, which is a migration identifier.
The optional parameter for the
create
command that defines tags for the resource is:--defined-tags
: (Optional) Specifies the defined tags for this resource. The value must be a complex type formatted in valid JSON.To get all the commands for
migration
, run:oci cloud-migrations migration -h
To get help for the
create
command, run:oci cloud-migrations migration create -h
For a complete list of flags and variable options for CLI commands, see the CLI Command Reference.
-
To add specific tags to a migration project, use the
Migration Reference
operation by specifying thedefinedTags
optional parameter.