Parameter | Type | Required | Example value | Description |
Action | String | Yes | DescribeAddressBook | Interface name. The name of the current API is DescribeAddressBook. |
Version | String | Yes | 2021-09-06 | API version. The current API version is 2021-09-06. |
Parameter | Type | Required | Example value | Description |
GroupType | String | No | ip | The address book type, used for precise queries of the address book list. The available values are as follows.
|
PageNumber | Integer | No | 1 | The page number. The default value is1。 |
PageSize | Integer | No | 10 | The number of records to display on each page. |
Query | String | No | 180.*.*.* | A fuzzy search condition for the address book name, description, or address list. |
CloudFirewallId | String | No | CloudFirewall******** | The Cloud Firewall instance ID. |
Parameters | Type | Example value | Description |
Count | Integer | 1 | The actual number of returned records. When a query returns no data and is called using the Python SDK, this value is None. |
Data | -- | Address book details. | |
PageNumber | Integer | 1 | The page number of the returned data. It indicates the current page of the query results. |
PageSize | Integer | 10 | The number of records displayed per page. |
TotalCount | Integer | 12 | The total number of returned data entries. When a query using the Python SDK returns no data, this field is None. |
Parameter | Type | Example value | Description |
Tags | - | A list of tags for identifying and classifying address books. | |
RefCnt | Integer | 20 | The reference count of the address book, indicating the number of times it is referenced. |
Updated | Integer | 1733831812 | The last update timestamp of the address book, in Unix timestamp format. |
GroupName | String | AddressBookName | The name of the address book, which is used to identify different address books. |
GroupType | String | ip | The type of the address book. The valid values are as follows.
|
GroupUuid | String | f04ac7ce-****-****-****-************ | The unique identifier of the address book. |
AddressList | Array of String | ["180.1.1.1/32","192.168.1.0/24"] | The list of addresses in the address book, used to store all its address entries. Effective when AutoUpdateType is Manual and AddressDetailList is not empty. |
Description | String | An address book for storing internal server IP addresses. | The description of the address book, providing additional information or remarks. |
TagRelation | String | And | The logical relationship for combining multiple tags. This takes effect when AutoUpdateType is set to Tag. The supported values are as follows.
|
ResourceType | String | InternetAsset | The type of resource associated with the address book. This takes effect when AutoUpdateType is Tag. The supported values are as follows.
|
AutoUpdateType | String | Tag | The automatic update type for the address book. The default value is Manual. The supported values are as follows.
|
InstanceTypeList | Array of String | ["EcsInstance","Nat"] | A list of instance types associated with the address book. Takes effect when AutoUpdateType is Tag. The supported values are as follows.
|
AddressDetailList | - | A detailed list of addresses in the address book, including the type, value, and description for each address. Effective when AutoUpdateType is Manual. |
Parameter | Type | Example value | Description |
Key | String | key | |
Value | String | value | Retrieve the corresponding tag values using the Query Tag Keys API and pass them as the target value. |
Parameter | Type | Sample value | Description |
Type | String | port | The address type. The following values are supported.
|
Address | String | 22/22 | The specific address value. Its format depends on the value of GroupType:
|
Description | String | Allow SSH access | A description for recording its purpose, remarks, or other related information. |