list-custom-resources

Previous Next Contents

list-custom-resources

gets all custom resources

Synopsis

asadmin [asadmin-options] list-custom-resources [--help]
[target]

Description

The list-custom-resources subcommand lists the custom resources.

This subcommand is supported in remote mode only.

Options

asadmin-options

Options for the asadmin utility. For information about these options, see the asadmin(1M) help 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.

Exit Status

0

subcommand executed successfully

1

error in executing the subcommand

See Also


Previous Next Contents
Eclipse Foundation Logo  Copyright © 2019, Oracle and/or its affiliates. All rights reserved.