DescribeVpcAttribute
Description
call the DescribeVpcAttribute interface to query the configuration information of the specified VPC.
Request Method
POST
Request Path
/apsara/route/Vpc/DescribeVpcAttribute
Request Parameters Common Parameters
Name | Location | Type | Required | Sample value | Description |
---|---|---|---|---|---|
IsDefault | BODY | boolean | No | false | whether it is the default VPC, value: false: not the default VPC. true(default): is the default VPC. |
VpcId | BODY | string | Yes | vpc-bp18sth14qii3pnv**** | ID of VPC to query. |
regionId | BODY | string | Yes | No sample value for this parameter. | region id |
DryRun | BODY | boolean | No | false | whether to precheck only this request. true: sends a check request and does not query the resource status. Check items include whether the AccessKey is valid, the authorization status of RAM users, and whether required parameters are filled in. If the check fails, the corresponding error is returned. If the check passes, error code DryRunOperation will be returned. false(default): send a normal request, return a 2xx HTTP status code after checking and directly query the resource status. |
RegionId | BODY | string | Yes | cn-qingdao-env17-d01 | the region ID to which the VPC belongs. you can obtain the region by calling DescribeRegions interface ID. |
version | BODY | string | No | 2016-01-01 | version of api |
Return data
Name | Type | Sample value | Description |
---|---|---|---|
RequestID | string | 1E3D5A1E0-67CA-43DA-24BC-EAF2D5A1E4DC | Request id |
Example
Successful Response example
{
"RequestID":"1E3D5A1E0-67CA-43DA-24BC-EAF2D5A1E4DC"
}
Failed Response example
{
"errorSample":
{
"resultCode":-1,
"resultMsg":"system error",
"result":null
}
}