Gets all custom resources.
Description
The list-custom-resources subcommand lists the custom resources.
This subcommand is supported in remote mode only.
Options
- asadmin-options
- 
Options for the asadminutility. For information about these options, see theasadminhelp page.
- --help
- -?
- 
Displays the help text for the subcommand. 
Operands
- target
- 
This operand specifies the location of the custom resources. Valid targets are: - server
- 
Lists the resources on the default server instance. This is the default value 
- domain
- 
Lists the resources in the domain. 
- cluster_name
- 
Lists the resources for every server instance in the cluster. 
- instance_name
- 
Lists the resources for a particular server instance. 
 
Examples
Example 1 Listing Custom Resources
This example lists the current custom resources.
asadmin> list-custom-resources
sample_custom_resource01
sample_custom_resource02
Command list-custom-resources executed successfully.Example 2 Using the list-custom-resources command with a target
The following example displays the usage of this command.
asadmin> list-custom-resources --user admin --passwordfile
passwords.txt --host plum --port 4848 target6
sample_custom_resource03
sample_custom_resource04
Command list-custom-resources executed successfully.