delete_assoc
ターゲット・アソシエーション・インスタンスを削除します。
書式
標準モード
emcli delete_assoc
-assoc_type="association type"
-source="target_name:target_type"
-dest="target_name1:target_type1[;target_name2:target_type2..]"
[-separator="separator:attribute_name:character"]
[-subseparator="subseparator:attribute_name:character"]
インタラクティブ(スクリプト)モード
delete_assoc(
assoc_type="association type"
,source="target_name:target_type"
,dest="target_name1:target_type1[;target_name2:target_type2..]"
[,separator="separator:attribute_name:character"
[,subseparator="subseparator:attribute_name:character"] )
[ ] indicates that the parameter is optional.オプション
-
assoc_type
アソシエーションのタイプ。
-
source
ソース・ターゲットのターゲット名およびターゲット・タイプ。
-
dest
宛先ターゲットのターゲット名およびターゲット・タイプ。
-
separator
属性値を複数入力する場合、デフォルトのセパレータはセミコロン(;)。このオプションを使用すると、デフォルトのセパレータ値が上書きされます。
例:
separator="<attribute_name=sep_char>"(ここでattribute_nameは、セパレータ文字を上書きする属性名で、sep_charは新しいセパレータ文字です。)例:separator="att=#" -
subseparator
属性値を複数入力する場合、デフォルトのサブセパレータはコロン(:)。このオプションを使用すると、デフォルトのサブセパレータ値が上書きされます。
例:
subseparator="<attribute_name=sep_char>"ここでattribute_nameは、セパレータ文字を上書きする属性名で、sep_charは新しいサブセパレータ文字です。例:separator="att=#"
終了コード
0はVerbの処理が正常終了したことを示します。
0以外の値は、Verb処理が正常終了しなかったことを意味します。
例
この例では、ターゲットabc_cluster:clusterからターゲットdef.oracle.com:hostおよびghi.oracle.com:hostのタイプcluster_containsのアソシエーションを削除します。
emcli delete_assoc
-assoc_type="cluster_contains"
-source="abc_cluster:cluster"
-dest="def.oracle.com:host;ghi.oracle.com:host"