All Products
Search
Document Center

GetAccountSettings

Last Updated: May 31, 2022

Queries available zones within the current account.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

nameTypes ofRequireddescribeexample value
X-Fc-Account-IdstringNo

The ID of your Alibaba Cloud account.

188077086902****
Enumeration value:
- 1: 1
X-Fc-DatestringNo

The time when Function Compute API is called. Specify the time in the yyyy-mm-ddhh:mm:ss format.

2020-12-1210:00:00
X-Fc-Trace-IdstringNo

The custom request ID.

rid281s******

Response parameters

nameTypes ofdescribeexample value
headersObject
Etagstring
object

The returned data.

availableAZsarray

The list of zones

string

The available zone where the instance resides.

{"availableAZs": [ "cn-hangzhou-f", "cn-hangzhou-g" ], "defaultRole": "acs:ram::1234:role/aliyunfcdefaultrole" }

Error codes

For a list of error codes, visit the API Error Center.