delete_metric_promotion
プロモート・メトリックを削除します。
書式
emcli delete_metric_promotion -name=<service_target_name> -type=<service_target_type> [-category=<usage/performance/business>] [-promotedMetricName=<promoted_metric] [-promotedMetricColumn=<promoted_metric_column>] -promotedMetricKey=<key_value_of_promoted_metric> [ ] indicates that the parameter is optional
オプション
-
name
サービス・ターゲットの名前。
-
type
サービス・タイプの名前。
-
category
プロモート・メトリックが、サービスの使用状況メトリックかパフォーマンス・メトリックかを定義します。これは、プロモート・メトリックの名前とメトリック列を特定します。これを指定しない場合、
promotedMetricName
およびpromotedMetricColumn
を指定する必要があります。 -
promotedMetricName
プロモート・メトリック名。categoryを指定した場合は省略可能です。
-
promotedMetricColumn
プロモート・メトリック列。categoryを指定した場合は省略可能です。
-
promotedMetricKey
プロモート・メトリックのキー値を特定します。ユーザー・インタフェースのプロモート・メトリックの表示名に相当します。
例
この例では、サービスMyTarget
でキー値がmymetric1
のプロモート・パフォーマンス・メトリックを削除します。
emcli delete_metric_promotion -name='MyTarget' -type='generic_service' -category=Performance -promotedMetricKey=mymetric1