Membuat templat otorisasi.
Deskripsi operasi
Peran sistem Anda di Data Management (DMS) adalah administrator atau DBA. Untuk informasi tentang cara melihat peran sistem Anda, lihat View my system role.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dms:CreateAuthorityTemplate |
create |
*全部资源
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| Name |
string |
Yes |
Nama templat otorisasi. |
测试模板。 |
| Description |
string |
No |
Deskripsi templat otorisasi. |
此模板用于业务测试。 |
| Tid |
integer |
No |
ID penyewa. Anda dapat memanggil operasi GetUserActiveTenant atau ListUserTenants untuk mendapatkan ID penyewa. |
3*** |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
ID permintaan. |
0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931 |
| ErrorCode |
string |
Kode kesalahan. |
UnknownError |
| ErrorMessage |
string |
Pesan kesalahan. |
UnknownError |
| AuthorityTemplateView |
object |
Detail templat otorisasi. |
|
| TemplateId |
integer |
ID templat otorisasi. |
1563 |
| Name |
string |
Nama templat otorisasi. |
测试模板。 |
| CreatorId |
integer |
ID pengguna yang membuat templat otorisasi. |
12*** |
| Description |
string |
Deskripsi templat otorisasi. |
此模板用于业务测试。 |
| CreateTime |
string |
Waktu pembuatan templat otorisasi. Waktu dalam format yyyy-MM-DD HH:mm:ss. |
2023-01-11 14:17:33 |
| Success |
boolean |
Apakah permintaan berhasil. Nilai valid:
|
true |
| Tid |
integer |
ID penyewa. Catatan
Arahkan kursor ke gambar profil di sudut kanan atas Konsol DMS untuk melihat ID penyewa. Untuk informasi lebih lanjut, lihat View information about the current tenant. |
3*** |
Contoh
Respons sukses
JSONformat
{
"RequestId": "0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931",
"ErrorCode": "UnknownError",
"ErrorMessage": "UnknownError",
"AuthorityTemplateView": {
"TemplateId": 1563,
"Name": "测试模板。",
"CreatorId": 0,
"Description": "此模板用于业务测试。",
"CreateTime": "2023-01-11 14:17:33"
},
"Success": true,
"Tid": 0
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.