Lists the associations between resource discoveries and IP Address Managers (IPAMs).
Try it now
Test
RAM authorization
Action | Access level | Resource type | Condition key | Dependent action |
vpc:ListIpamResourceDiscoveryAssociations | list | *All Resource
| None | None |
Request parameters
Parameter | Type | Required | Description | Example |
RegionId | string | Yes | The ID of the region. | cn-hangzhou |
IpamId | string | No | The ID of the IPAM instance. | ipam-ccxbnsbhew0d6t**** |
IpamResourceDiscoveryId | string | No | The ID of the resource discovery instance. | ipam-res-disco-jt5f2af2u6nk2z321**** |
NextToken | string | No | The token that is used to retrieve the next page of results.
| FFmyTO70tTpLG6I3FmYAXGKPd**** |
MaxResults | integer | No | The maximum number of entries to return per page. Valid values: 1 to 100. Default value: 10. | 10 |
Response elements
Element | Type | Description | Example |
object | The list of returned information. | ||
| IpamResourceDiscoveryAssociations | array<object> | A list of association details. | |
object | A list of association details. | ||
IpamResourceDiscoveryId | string | The ID of the resource discovery instance. | ipam-res-disco-jt5f2af2u6nk2z321**** |
IpamId | string | The ID of the IPAM instance. | ipam-ccxbnsbhew0d6t**** |
Status | string | The association status. Valid values:
| Created |
IpamResourceDiscoveryOwnerId | string | The ID of the Alibaba Cloud account that owns the resource discovery instance. | 1210123456****** |
IpamResourceDiscoveryType | string | The type of the resource discovery. Valid values:
| custom |
IpamResourceDiscoveryStatus | string | The status of the resource discovery instance. Valid values:
| Created |
NextToken | string | The token to use to retrieve the next page of results. This value is empty when there are no more results to return.
| FFmyTO70tTpLG6I3FmYAXGKPd**** |
TotalCount | integer | The total number of entries that match the query criteria. | 20 |
MaxResults | integer | The maximum number of entries returned per page. Valid values: 1 to 100. Default value: 10. | 10 |
Count | integer | The number of entries returned on the current page. | 10 |
RequestId | string | The request ID. | F28A239E-F88D-500E-ADE7-FA5E8CA3A170 |
Examples
Success response
JSON format
{
"IpamResourceDiscoveryAssociations": [
{
"IpamResourceDiscoveryId": "ipam-res-disco-jt5f2af2u6nk2z321****",
"IpamId": "ipam-ccxbnsbhew0d6t****",
"Status": "Created",
"IpamResourceDiscoveryOwnerId": "1210123456******",
"IpamResourceDiscoveryType": "custom",
"IpamResourceDiscoveryStatus": "Created"
}
],
"NextToken": "FFmyTO70tTpLG6I3FmYAXGKPd****",
"TotalCount": 20,
"MaxResults": 10,
"Count": 10,
"RequestId": "F28A239E-F88D-500E-ADE7-FA5E8CA3A170"
}Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.