NEC


2.19.2. カスタム設定の削除(ssc customproperty delete)

対象からカスタム設定を削除します。

[構文]

ssc customproperty delete Type Target [-host HostName] [-vmserver VMServerPath] [-kind Kind] <-property Name... | -all | -construction>

[引数/オプション]

引数/オプション

説明

Type

(必須)

対象の種別を指定します。

group: 運用グループ

host: ホスト

machineprofile: 運用グループ / モデル / ホストのマシンプロファイル

namedmachineprofile: 名前付きマシンプロファイル

template: テンプレート

machine: マシン

manager: マネージャ

tag: タグ

network: ネットワーク

Target

(必須)

カスタム設定を削除する対象のパス、またはUUIDを指定します。

パスを指定する場合、ビュータイプは省略可能です。

例)

 運用グループの場合:

  Tenant/Category/Group

 モデルの場合:

  Tenant/Category/Group/Model

 ホストの場合:

  Tenant/Category/Group/Host

 名前付きマシンプロファイルの場合:

  MachineProfile

 テンプレートの場合:

  Template

 マシンの場合:

  Group/Machine

  xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx

  マシンのパスを指定する場合、[リソース] ビューのパスを指定してください。

 マネージャの場合:

  Manager

 タグの場合:

  Tag

 ネットワークの場合:

  Network

パスの指定については、「1.7. Path、および GroupPath指定について」を参照してください。

[-host HostName]

ホストの名前を指定します。

このオプションを指定した場合、Targetに運用グループを指定してください。

対象のホストと同じ名前のモデルが存在する場合に指定します。

[-vmserver VMServerPath]

仮想マシンサーバのパスを指定します。

例)

 virtual:/VC/DataCenter/VMServer

 VC/DataCenter/VMServer

 ビュータイプ (virtual:/) は、省略可能です。

対象のテンプレートと同じ名前のテンプレートが複数存在する場合に指定します。

パスの指定については、「1.7. Path、および GroupPath指定について」を参照してください。

[-kind Kind]

タグの種別を指定します。

"Datastore" 固定です。

-property Name...

プロパティ名を指定します。(複数指定可能)

-all

すべてのプロパティを削除する場合に指定します。

-construction

構成パラメータ設定をオフにし、すべてのプロパティを削除する場合に指定します。

Targetが "machineProfile" の場合に、指定することができます。

[構文例]

 >ssc customproperty delete group
  Tenant/Category/Group -property tenant
 >ssc customproperty delete host
  Tenant/Category/Group -host host -all
 >ssc customproperty delete machineprofile
  Tenant/Category/Group/Model -construction
 >ssc customproperty delete namedmachineprofile
  MachineProfile -property vm.vcpu.core
 >ssc customproperty delete template
  Template -vmserver VC/DataCenter/VMServer -all
 >ssc customproperty delete machine
  Group/Machine -property WWN
 >ssc customproperty delete tag tag1 -kind Datastore
  -property vm.vdisk:storage-policy