Menanyakan informasi tentang workspace DataWorks.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dataworks:GetProjectDetail |
get |
Project
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| ProjectId |
integer |
Yes |
ID workspace DataWorks. |
27 |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| HttpStatusCode |
integer |
Kode status HTTP. |
200 |
| RequestId |
string |
ID permintaan. |
0bc1411515937635973**** |
| Success |
boolean |
Menunjukkan apakah permintaan berhasil. |
true |
| Data |
object |
Informasi tentang workspace. |
|
| Status |
integer |
Status workspace. |
0 |
| ResidentArea |
string |
Tipe workspace. Nilai yang valid: private dan swap. |
private |
| ProjectId |
integer |
ID workspace. |
27 |
| ProjectIdentifier |
string |
Pengenal unik workspace. |
abc |
| ProjectName |
string |
Nama tampilan workspace. |
abc |
| IsAllowDownload |
integer |
Menunjukkan apakah operasi unduh diizinkan. |
1 |
| ProjectMode |
integer |
Mode workspace. Nilai 2 menunjukkan bahwa workspace berada dalam mode basic. Nilai 3 menunjukkan bahwa workspace berada dalam mode standard. |
1 |
| ProjectDescription |
string |
Deskripsi workspace. |
abc |
| GmtModified |
string |
Waktu ketika workspace terakhir diubah. |
Dec 3, 2019 9:12:20 PM |
| ProjectOwnerBaseId |
string |
ID akun Alibaba Cloud yang digunakan oleh pemilik workspace. |
18229311**** |
| DevelopmentType |
integer |
Tipe pengembangan workspace. Nilainya tetap 4. |
4 |
| DefaultDiResourceGroupIdentifier |
string |
Pengenal grup sumber daya bersama untuk Data Integration tempat node dijalankan. |
group_280749521**** |
| GmtCreate |
string |
Waktu ketika workspace dibuat. |
Oct 10, 2019 3:42:53 PM |
| SchedulerMaxRetryTimes |
integer |
Jumlah maksimum default eksekusi ulang otomatis yang diizinkan setelah terjadi kesalahan. |
3 |
| ProtectedMode |
integer |
Menunjukkan apakah fitur proteksi workspace diaktifkan. |
1 |
| TenantId |
integer |
ID tenant. |
280749521950784 |
| SchedulerRetryInterval |
integer |
Interval antara eksekusi ulang otomatis setelah terjadi kesalahan. |
120000 |
| EnvTypes |
array |
Lingkungan workspace dalam mode yang berbeda. Workspace dalam mode basic hanya menyediakan lingkungan produksi. Workspace dalam mode standard menyediakan lingkungan pengembangan dan lingkungan produksi. |
|
|
string |
Lingkungan workspace dalam mode yang berbeda. Workspace dalam mode basic hanya menyediakan lingkungan produksi. Workspace dalam mode standard menyediakan lingkungan pengembangan dan lingkungan produksi. |
["PROD"] |
|
| ResourceManagerResourceGroupId |
string |
ID grup sumber daya. |
rg-acfmzbn7pti3zfa |
| Tags |
array<object> |
Informasi tag. |
|
|
object |
|||
| Key |
string |
The tag key. |
Env |
| Value |
string |
The tag value. |
Test |
| DisableDevelopment |
boolean |
Menunjukkan apakah peran Develop dinonaktifkan. Nilai yang valid:
|
true |
| UseProxyOdpsAccount |
boolean |
Menunjukkan apakah akun proxy digunakan untuk mengakses mesin komputasi MaxCompute. |
true |
| TablePrivacyMode |
integer |
Menunjukkan apakah tabel MaxCompute di workspace terlihat oleh pengguna dalam tenant. Nilai yang valid:
|
1 |
| IsDefault |
integer |
Menunjukkan apakah workspace adalah workspace default. Nilai yang valid:
|
1 |
Contoh
Respons sukses
JSONformat
{
"HttpStatusCode": 200,
"RequestId": "0bc1411515937635973****",
"Success": true,
"Data": {
"Status": 0,
"ResidentArea": "private",
"ProjectId": 27,
"ProjectIdentifier": "abc",
"ProjectName": "abc",
"IsAllowDownload": 1,
"ProjectMode": 1,
"ProjectDescription": "abc",
"GmtModified": "Dec 3, 2019 9:12:20 PM",
"ProjectOwnerBaseId": "18229311****",
"DevelopmentType": 4,
"DefaultDiResourceGroupIdentifier": "group_280749521****",
"GmtCreate": "Oct 10, 2019 3:42:53 PM",
"SchedulerMaxRetryTimes": 3,
"ProtectedMode": 1,
"TenantId": 280749521950784,
"SchedulerRetryInterval": 120000,
"EnvTypes": [
"[\"PROD\"]"
],
"ResourceManagerResourceGroupId": "rg-acfmzbn7pti3zfa",
"Tags": [
{
"Key": "Env",
"Value": "Test"
}
],
"DisableDevelopment": true,
"UseProxyOdpsAccount": true,
"TablePrivacyMode": 1,
"IsDefault": 1
}
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | Invalid.Tenant.ConnectionNotExists | The connection does not exist. | The connection does not exist. |
| 400 | Invalid.Tenant.ProjectNotExists | The project does not exist. | The project does not exist. |
| 400 | Invalid.Tenant.UserNotInProject | The user is not in the project. | The user is not in the project. |
| 403 | Invalid.Tenant.UserIsNotProjectOwnerOrAdmin | The user is not a project administrator or owner. | The user is not a project administrator or owner. |
| 403 | Invalid.Tenant.UserNotInTenant | The user is not in tenant. | The user is not in tenant. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.