Mengkueri informasi tentang akun.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
fc:GetAccountSettings |
get |
*All Resource
|
None | None |
Sintaks permintaan
GET /2021-04-06/account-settings HTTP/1.1
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| X-Fc-Account-Id |
string |
No |
ID akun Alibaba Cloud Anda. |
188077086902**** |
| X-Fc-Date |
string |
No |
Waktu saat API Function Compute dipanggil. Nilai dalam format EEE,d MMM yyyy HH:mm:ss GMT. |
Wed, 11 May 2022 09:00:00 GMT |
| X-Fc-Trace-Id |
string |
No |
ID permintaan. |
rid281s****** |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
The returned data. |
||
| availableAZs |
array |
The zone IDs. |
|
|
string |
A region. |
cn-hangzhou-f |
|
| defaultRole |
string |
The default service role. |
acs:ram::1234:role/aliyunfcdefaultrole |
Contoh
Respons sukses
JSONformat
{
"availableAZs": [
"cn-hangzhou-f"
],
"defaultRole": "acs:ram::1234:role/aliyunfcdefaultrole"
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.