7.2.18 rmresourceprofile

Delete a resource profile.

Syntax

rmresourceprofile --vault vault-name --name resource-profile-name
                  [{ -w | --wallet } wallet-location ] 
                  [{ -T | --trace } trace-level ]
                  [{ -j | --json } [ --compact ]]

Command Options

The options for the rmresourceprofile command are:

  • --vault: Identifies a specific vault.

  • --name: Identifies the name of the resource profile being deleted.

  • -w, --wallet: Optionally specifies the path to the Exascale wallet directory.

  • -T, --trace: Optionally enables tracing, with the trace level (trace-level) set to 1 (minimum tracing), 2 (medium tracing), or 3 (maximum tracing). If the trace level is not specified, then minimum tracing is enabled by default.

    The trace file is written to the first accessible location in the following list:

    1. If the $ADR_BASE environment variable is set:

      $ADR_BASE/diag/EXC/xsh_<user-name>/<host-name>/trace/xsh_<date>.trc
    2. /var/log/oracle/diag/EXC/xsh_<user-name>/<host-name>/trace/xsh_<date>.trc
    3. /tmp/diag/EXC/xsh_<user-name>/<host-name>/trace/xsh_<date>.trc
  • -j, --json: Displays the output in JSON format.

  • --compact: Displays JSON formatted output in a compact format, without white space and line breaks.

Examples

Example 7-33 Delete a Resource Profile

This example shows how to delete a resource profile named silver that is associated with the vault named vault2.

$ xsh rmresourceprofile --vault vault2 --name silver