ALIYUN::DMS::Userは、データ管理 (DMS) にユーザーを追加するために使用されます。
構文
{
"タイプ": "ALIYUN::DMS:: ユーザー" 、
"Properties": {
"ステータス": 文字列、
"Uid": 文字列、
"UserName": 文字列、
"RoleNames": リスト、
"モバイル": 文字列、
"Tid": ストリング
}
}プロパティ
プロパティ | データ型 | 必須 | 編集可能 | 説明 | 制約条件 |
Status | String | 継続しない | 継続する | ユーザーのステータス。 | 有効な値:
|
Uid | String | 課金されます | 課金されません | ユーザーのAlibaba Cloud一意ID (UID) 。 | なし |
UserName | String | 継続しない | 継続する | ユーザー名を指定します。 | なし |
RoleNames | List | 継続しない | 継続する | ユーザーが引き受けるロール。 | 有効な値:
説明 複数のロールを指定できます。 |
モバイル | String | 継続しない | 継続する | ユーザーの電話番号です。 | なし |
ティッド | String | 課金されません | 課金されません | テナントのID。 | なし |
レスポンスパラメーター
Fn::GetAtt
Uid: ユーザーのAlibaba Cloud UID。
UserName: ユーザーの名前。
RoleNames: ユーザーが引き受けるロール。
UserId: ユーザーのID。
RoleIds: ロールのID。
モバイル: ユーザーの電話番号。
ParentUid: Alibaba CloudアカウントのUID。
例
JSON 形式
{
"ROSTemplateFormatVersion": "2015-09-01",
"Parameters": {
"状態":{
"Type": "String",
"Description": "UserStatus"
},
"Uid": {
"Type": "String",
"説明": "UserAliYunUid"
},
"UserName": {
"Type": "String",
"説明": "UserNickName"
},
"RoleNames": {
"Type": "Json",
"Description": "UserRole"
},
"モバイル": {
"Type": "String",
"Description": "UserMobile"
},
"Tid": {
"Type": "String",
"Description": ""
}
},
"Resources": {
"DMSEnterpriseUser": {
"タイプ": "ALIYUN::DMS:: ユーザー" 、
"Properties": {
"状態":{
"Ref": "ステータス"
},
"Uid": {
"Ref": "Uid"
},
"UserName": {
"Ref": "UserName"
},
"RoleNames": {
"Ref": "RoleNames"
},
"モバイル": {
"Ref": "モバイル"
},
"Tid": {
"Ref": "Tid"
}
}
}
},
"Outputs": {
"Uid": {
"説明": "UserAliYunUid" 、
"Value": {
"Fn::GetAtt": [
"DMSEnterpriseUser" 、
"Uid"
]
}
},
"UserName": {
"説明": "UserNickName" 、
"Value": {
"Fn::GetAtt": [
"DMSEnterpriseUser" 、
「ユーザー名」
]
}
},
"RoleNames": {
"Description": "UserRole" 、
"Value": {
"Fn::GetAtt": [
"DMSEnterpriseUser" 、
"RoleNames"
]
}
},
"User": {
"Description": "UserId" 、
"Value": {
"Fn::GetAtt": [
"DMSEnterpriseUser" 、
"UserId"
]
}
},
"RoleIds": {
"説明": "UserRoleId" 、
"Value": {
"Fn::GetAtt": [
"DMSEnterpriseUser" 、
「RoleIds」
]
}
},
"モバイル": {
"説明": "UserMobile" 、
"Value": {
"Fn::GetAtt": [
"DMSEnterpriseUser" 、
「モバイル」
]
}
},
"ParentUid": {
"説明": "ParentAliYunUid" 、
"Value": {
"Fn::GetAtt": [
"DMSEnterpriseUser" 、
"ParentUid"
]
}
}
}
}YAML形式
ROSTemplateFormatVersion: '2015-09-01'
パラメータ:
状態:
データ型:Strig
説明: UserStatus
Uid:
データ型:Strig
説明: UserAliYunUid
ユーザー名:
データ型:Strig
説明: UserNickName
RoleNames:
タイプ: Json
説明: UserRole
モバイル:
データ型:Strig
説明: UserMobile
Tid:
データ型:Strig
説明:''
リソース:
DMSEnterpriseUser:
タイプ: 'ALIYUN::DMS:: ユーザー'
プロパティ:
状態:
参照: ステータス
Uid:
参照: Uid
ユーザー名:
参照: ユーザー名
RoleNames:
参照: RoleNames
モバイル:
参照: モバイル
Tid:
参照: ティッド
出力:
Uid:
説明: UserAliYunUid
値:
'Fn::GetAtt':
-DMSEnterpriseUser
-Uid
ユーザー名:
説明: UserNickName
値:
'Fn::GetAtt':
-DMSEnterpriseUser
-ユーザー名
RoleNames:
説明: UserRole
値:
'Fn::GetAtt':
-DMSEnterpriseUser
-RoleNames
UserId:
説明: UserId
値:
'Fn::GetAtt':
-DMSEnterpriseUser
-UserId
RoleIds:
説明: UserRoleId
値:
'Fn::GetAtt':
-DMSEnterpriseUser
-RoleIds
モバイル:
説明: UserMobile
値:
'Fn::GetAtt':
-DMSEnterpriseUser
-モバイル
ParentUid:
説明: ParentAliYunUid
値:
'Fn::GetAtt':
-DMSEnterpriseUser
-ParentUid