Deleting an Asset Source

Delete an asset source in the Oracle Cloud Migrations service.

    1. Open the navigation menu  and select Migration & Disaster Recovery. Under Cloud Migrations, select Discovery.
    2. On the Asset sources list page, select the asset source that you want to delete.
    3. On the asset source details page, select the Actions menu (three dots) and then select Delete.
    4. Confirm the deletion.
    If the asset source has no associated resources, the asset source is in deleted state.
  • To delete an asset source based on the ID, use the delete command.

    
    oci cloud-bridge discovery asset-source delete --asset-source-id asset_source_ID [OPTIONS]

    The required parameter for the delete command is:

    --assets-source-id: Specifies the OCID of the asset source.

    To get all the commands for discovery asset-source, run:

    oci cloud-bridge discovery asset-source -h

    To get help for the delete command, run:

    oci cloud-bridge discovery asset-source delete -h

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

  • To delete an asset source, use the DeleteAssetSource operation.