create_tenant
Enterprise Managerに新しいテナントを作成します。
書式
標準モード
emcli create_tenant -name="name" -description="description" -owner_name="owner_name" [-owner_password="owner_password"] [-owner_type="owner_type"] [-namespace="namespace"] [ ] indicates that the parameter is optional
インタラクティブまたはスクリプト・モード
emcli create_tenant( name="name" ,description="description" ,owner_name="owner_name" [,owner_password="owner_password"] [,owner_type="owner_type"] [,namespace="namespace"] ) [ ] indicates that the parameter is optional
オプション
-
name
テナントの名前。
-
description
テナントの説明。
-
owner_name
テナント所有者の名前。
-
owner_type
所有者のタイプ。
EM_USER
は、デフォルトの所有者タイプです。設定可能な別の値は、EM_USER
およびEXTERNAL_USER
です。 -
namespace
テナントのネームスペース。
終了コード
正常終了した場合は0。0以外の値は、verb処理が正常終了しなかったことを示します。
例
次の例では、テナント所有者がjohn_doe
であるmy_tenant
という名前のテナントを作成します。
emcli create_tenant -name=my_tenant -description="This is the tenant description." -owner_name=john.doe -owner_password=pw -owner_type=EM_USER