Mengkueri daftar ruang kerja yang terkait dengan kelompok sumber daya.
Deskripsi operasi
-
DataWorks Basic Edition or a more advanced edition is required to use this feature.
-
Make sure that the service-linked role AliyunServiceRoleForDataWorks has been created before you call this operation.
-
This operation returns only the workspaces that the current caller has access to. Unauthorized workspaces are not included in the response.
Coba sekarang
Test
RAM authorization
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| ResourceGroupId |
string |
Yes |
ID kelompok sumber daya arsitektur tanpa server. |
Serverless_res_group_524257424564736_6831777003**** |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| Success |
boolean |
Indicates whether the request was successful. |
true |
| ProjectIdList |
array |
The list of workspace IDs. |
|
|
integer |
The workspace ID. |
123 |
|
| RequestId |
string |
The request ID. You can use this ID to troubleshoot issues. |
6A6CBE87-9F91-1323-B680-E7A7065XXXXX |
Contoh
Respons sukses
JSONformat
{
"Success": true,
"ProjectIdList": [
123
],
"RequestId": "6A6CBE87-9F91-1323-B680-E7A7065XXXXX\n"
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.