<!--Arbortext, Inc., 1988-2007, v.4002-->
<!DOCTYPE REFENTRY PUBLIC "-//Sun Microsystems//DTD SolBook 3.5//EN" [
<!ENTITY options-common SYSTEM "options-common.sgm">
<!ENTITY synopsis-common SYSTEM "synopsis-common.sgm">
<!ENTITY % commonents SYSTEM "common.ent">
%commonents;
]>
<?Pub UDT _bookmark _target>
<?Pub CX solbook(>
<refentry id="list-custom-resources-1"><?Pub Tag atict:info tracking="off"
ref="2"><?Pub Tag atict:user user="hl34125" fullname=""><?Pub Tag atict:user
user="pmdavies" fullname=""><?Pub Tag atict:user user="ah95648" fullname="">
<!-- @(#)list-custom-resources.1 1.11 07/07/25 SMI; -->
<refmeta><refentrytitle>list-custom-resources</refentrytitle><manvolnum>1</manvolnum>
<refmiscinfo class="date">11 Jul 2007</refmiscinfo>
<refmiscinfo class="sectdesc">&man1;;</refmiscinfo>
<refmiscinfo class="software">&software;</refmiscinfo>
<refmiscinfo class="arch">generic</refmiscinfo>
<refmiscinfo class="copyright">Copyright (c) 2007, Sun Microsystems, Inc.
All Rights Reserved</refmiscinfo>
</refmeta>
<refnamediv><indexterm><primary>list-custom-resources</primary></indexterm>
<indexterm><primary>gets all custom resources</primary></indexterm>
<refname>list-custom-resources</refname><refpurpose>gets all custom resources</refpurpose>
</refnamediv>
<refsynopsisdiv><title></title>
<synopsis><command>list-custom-resources</command> &synopsis-common; [<replaceable>
target</replaceable>]</synopsis>
</refsynopsisdiv>
<refsect1 role="description"><title></title>
<para>Use this command to list custom resources. This command is supported
in remote mode only.</para>
</refsect1>
<refsect1 role="options"><title></title>
<variablelist termlength="wholeline">&options-common;
</variablelist>
</refsect1>
<refsect1 role="operands"><title></title>
<variablelist termlength="wholeline">
<varlistentry><term><replaceable>target</replaceable></term>
<listitem><para>This operand specifies the location of the custom resources.
Valid targets are:</para>
<itemizedlist>
<listitem><para><literal>server</literal>&hyphen; Specifies the default server
instance as the target.  <literal>server</literal> is the name of the default
server instance and is the default value.</para></listitem>
<listitem><para><replaceable>domain_name</replaceable>&hyphen; Specifies a
certain domain as the target.</para></listitem>
<listitem><para><replaceable>cluster_name</replaceable>&hyphen; Specifies
a certain cluster as the target.</para></listitem>
<listitem><para><replaceable>instance_name</replaceable>&hyphen; Specifies
a certain server instance as the target.</para></listitem>
</itemizedlist>
</listitem>
</varlistentry>
</variablelist>
</refsect1>
<refsect1 role="examples"><title></title>
<example><title>Using the list-custom-resources command</title>
<para>The following example displays the usage of this command in a domain
whose profile is the &developer-profile-name; profile.</para>
<screen>asadmin> <userinput>list-custom-resources --user admin --passwordfile 
passwords.txt --host plum --port 4848</userinput>
sample_custom_resource01
sample_custom_resource02
Command list-custom-resources executed successfully. </screen>
</example>
<example><title>Using the list-custom-resources command with a target</title>
<para>The following example displays the usage of this command in a domain
whose profile is the &cluster-profile-name; profile or the &enterprise-profile-name; profile.
</para>
<screen>asadmin> <userinput>list-custom-resources --user admin --passwordfile 
passwords.txt --host plum --port 4848 target<?Pub Caret>6 

</userinput>
sample_custom_resource03
sample_custom_resource04
Command list-custom-resources executed successfully.</screen>
</example>
</refsect1>
<refsect1 role="exit-status"><title></title>
<variablelist termlength="medium">
<varlistentry><term>0</term>
<listitem><para>command executed successfully</para>
</listitem>
</varlistentry>
<varlistentry><term>1</term>
<listitem><para>error in executing the command</para>
</listitem>
</varlistentry>
</variablelist>
</refsect1>
<refsect1 role="see-also"><title></title>
<para><olink targetdoc="asrefman" targetptr="create-custom-resource-1">create-custom-resource(1)
</olink>,<olink targetdoc="asrefman" targetptr="delete-custom-resource-1">delete-custom-resource(1)
</olink></para>
</refsect1>
</refentry>
<?Pub *0000004041 0>
