対象からカスタム設定を削除します。
[構文]
ssc customproperty delete Type Target [-host HostName]
[-vmserver VMServerPath] <-property Name... | -all | -construction>
[引数/オプション]
Type (必須) | 対象の種別を指定します。 group:運用グループ host:ホスト machineprofile:運用グループ / モデル / ホストのマシンプロファイル namedmachineprofile:名前付きマシンプロファイル template:テンプレート machine:マシン |
Target (必須) | カスタム設定を削除する対象のパス、またはUUIDを指定します。 パスを指定する場合、ビュータイプは省略可能です。 例: 運用グループの場合 Tenant/Category/Group モデルの場合 Tenant/Category/Group/Model ホストの場合 Tenant/Category/Group/Host 名前付きマシンプロファイルの場合 MachineProfile テンプレートの場合 Template マシンの場合 Group/Machine xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx マシンのパスを指定する場合、[リソース] ビューのパスを指定してください。 パスの指定については、「1.7. Path、および GroupPath指定について」を参照してください。 |
[-host HostName] | ホストの名前を指定します。 このオプションを指定した場合、Targetに運用グループを指定してください。 対象のホストと同じ名前のモデルが存在する場合に指定します。 |
[-vmserver VMServerPath] | 仮想マシンサーバのパスを指定します。 例: virtual:/VC/DataCenter/VMServer VC/DataCenter/VMServer ビュータイプ (virtual:/) は省略可能です。 対象のテンプレートと同じ名前のテンプレートが複数存在する場合に指定します。 パスの指定については、「1.7. Path、および GroupPath指定について」を参照してください。 |
-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