Custom Configuration File
API Prototype
ascend-fd config Subcommand
Description
Provides a custom configuration file to add, modify, and query custom configurations, as well as to verify the custom fault entity file (custom-fd-config.json).
Parameters
Parameter |
Abbreviation |
Required (Yes/No) |
Value Type |
Description |
|---|---|---|---|---|
--update |
-u |
Yes. --update, --show, and --check are mutually exclusive. Only one of them can be specified. |
String |
Adds or modifies the custom information in a JSON file. NOTE:
For details about the parameters in the JSON file, see Table 1. |
--show |
-s |
Bool |
Views the custom configuration. |
|
--check |
-c |
Bool |
Verifies the validity of the custom-fd-config.json file, especially the validity of the custom field attributes. |
|
--help |
-h |
No |
- |
Queries help information. |
Return Value
Example: Use a JSON file to add a custom configuration file entity.
ascend-fd config -u custom-config.json Updated entity successfully.
Parent topic: API Description