<!DOCTYPE REFENTRY PUBLIC "-//Sun Microsystems//DTD DocBook V3.0-Based SolBook Subset V2.0//EN" [
<!--ArborText, Inc., 1988-1999, v.4002-->
<!ENTITY se-ee-only "This option is available only in the Sun Java System Application Server Standard and Enterprise Editions.">
<!ENTITY options-common SYSTEM "options-common.sgm">
<!ENTITY synopsis-common SYSTEM "synopsis-common.sgm">
<!ENTITY metainfo SYSTEM "metainfo.sgm">
<!ENTITY % commonents SYSTEM "smancommon.ent">
%commonents;
<!ENTITY % booktitles SYSTEM "booktitles.ent">
%booktitles;
<!ENTITY Dash "&ndash;">
]>
<?Pub UDT _bookmark _target>
<?Pub Inc>
<refentry id="delete-management-rule-1">
<refmeta><refentrytitle>delete-management-rule</refentrytitle><manvolnum>
1</manvolnum>&metainfo;
</refmeta>
<refnamediv><indexterm><primary sortas="create-lifecycle-module">delete-management-rule &mdash;
removes a specified management rule</primary></indexterm><indexterm><primary
sortas="adds a lifecycle module">removes a specified management rule &mdash;
delete-management-rule</primary></indexterm><refname>delete-management-rule
</refname><refpurpose>removes a specified management rule</refpurpose></refnamediv>
<refsynopsisdiv><title>&synp-tt;</title>
<cmdsynopsis><command>delete-management-rule </command>&synopsis-common;
<arg choice="opt">&Dash;&Dash;target <replaceable>target</replaceable></arg>
<arg choice="plain"><replaceable>rulename</replaceable></arg>
</cmdsynopsis></refsynopsisdiv>
<refsect1><title>&desc-tt;</title>
<para>The <command>delete-management-rule</command> removes the management
rule you specify.</para>
</refsect1>
<refsect1><title>&opts-tt;</title>
<variablelist termlength="medium">&options-common;
<varlistentry><term><option role="nodash">&Dash;&Dash;<replaceable>target
</replaceable></option></term><listitem><para>This option helps specify the
target for which you are deleting a management rule. The valid values for
this command are:<itemizedlist>
<listitem><para><replaceable>configuration_name</replaceable>, which deletes
the management rule for the named configuration</para>
</listitem>
<listitem><para><replaceable>cluster_name</replaceable>, which deletes the
management rule for every server instance in the cluster</para>
</listitem>
<listitem><para><replaceable>instance_name</replaceable>, which deletes the
management rule for a particular server instance</para>
</listitem>
</itemizedlist></para><?Pub Caret>
</listitem></varlistentry>
</variablelist></refsect1>
<refsect1><title>&oper-tt;</title>
<variablelist termlength="medium">
<varlistentry><term><replaceable>rule_name</replaceable></term><listitem>
<para>The name of the management rule.</para>
</listitem></varlistentry>
</variablelist></refsect1>
<refsect1><title>&exam-tt;</title>
<example>
<title>using delete-management-rule</title>
<screen>asadmin> <userinput>delete-management-rule --user admin 
--passwordfile adminpassword.txt --target myinstance myRule1</userinput>
Command delete-management-rule executed successfully</screen>
</example>
</refsect1>
<refsect1><title>&exit-tt;</title>
<variablelist termlength="narrow">
<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><title>&also-tt;</title>
<para><link linkend="delete-lifecycle-module-1"><citerefentry><refentrytitle>
create-management-rule</refentrytitle><manvolnum>1</manvolnum></citerefentry></link>, <link
linkend="list-lifecycle-modules-1"><citerefentry><refentrytitle>list-management-rules
</refentrytitle><manvolnum>1</manvolnum></citerefentry></link></para>
</refsect1>
</refentry>
<?Pub *0000003744>
