Mengkueri daftar peran MaxCompute yang dapat dipilih oleh anggota kelompok pengguna saat kelompok pengguna dibuat atau dimodifikasi oleh penyewa di Data Security Guard.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dataworks:DsgUserGroupGetOdpsRoleGroups |
get |
*All Resource
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| ProjectName |
string |
Yes |
Nama proyek MaxCompute. Anda dapat memanggil operasi DsgPlatformQueryProjectsAndSchemaFromMeta untuk mengkueri daftar proyek MaxCompute. |
test_project |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
The data returned. |
||
| Success |
boolean |
Indicates whether the request was successful. Valid values:
|
true |
| ErrorCode |
string |
The error code. |
1029030003 |
| ErrorMessage |
string |
The error message. |
param error |
| HttpStatusCode |
integer |
The HTTP status code. |
400 |
| Data |
array |
The data returned. |
|
|
string |
The name of the MaxCompute role. |
test_role |
|
| RequestId |
string |
The request ID. You can use the ID to locate logs and troubleshoot issues. |
102400001 |
Contoh
Respons sukses
JSONformat
{
"Success": true,
"ErrorCode": "1029030003",
"ErrorMessage": "param error",
"HttpStatusCode": 400,
"Data": [
"test_role"
],
"RequestId": "102400001"
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | USERGROUP.ACCOUNTLISTSIZE.ERROR | The number of account exceeds the limit. | The number of users exceeds the limit |
| 400 | USERGROUP.ID.ERROR | The user group ID does not match the tenant or does not exist. | The user group ID does not exist or does not belong to the tenant. |
| 400 | USERGROUP.LISTSIZE.ERROR | The number of user groups exceeds the limit. | The number of user groups exceeds the limit |
| 400 | USERGROUP.PAGESIZE.ERROR | Page size is too large, maximum of 100. | Page size limit, up to 100 |
| 400 | USERACCOUNT.OWNER.ERROR | User list or owner user does not exist. | User list or responsible user does not exist |
| 400 | PARAMS.ERROR | param error. | |
| 500 | UNKNOWN.ERROR | unknown error. | Unknown error. |
| 403 | PERMISSION.DENIED.ERROR | Permission denied | Insufficient permissions. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.