This API is used to update a Direct Connect endpoint group.
PUT /v2.0/dcaas/dc-endpoint-groups/{endpoint_group_id}
Parameter |
Type |
Mandatory |
Description |
---|---|---|---|
endpoint_group_id |
String |
Yes |
Specifies the ID of the Direct Connect endpoint group. |
Table 2 lists the request parameter.
Parameter |
Type |
Mandatory |
Description |
---|---|---|---|
dc_endpoint_group |
Dictionary data structure |
Yes |
Specifies the dc_endpoint_group object. |
Parameter |
Type |
Mandatory |
Description |
---|---|---|---|
description |
String |
No |
Provides supplementary information about the Direct Connect endpoint group. |
name |
String |
No |
Specifies the name of the Direct Connect endpoint group. |
Table 4 lists the response parameter.
Parameter |
Type |
Description |
---|---|---|
dc_endpoint_group |
Dictionary data structure |
Specifies the dc_endpoint_group object. |
Parameter |
Type |
Description |
---|---|---|
id |
String |
Specifies the ID of the Direct Connect endpoint group. |
tenant_id |
String |
Specifies the project ID. |
name |
String |
Specifies the name of the Direct Connect endpoint group. |
description |
String |
Provides supplementary information about the Direct Connect endpoint group. |
endpoints |
List<String> |
Specifies the list of the endpoints in a Direct Connect endpoint group. |
type |
String |
Specifies the type of the Direct Connect endpoints. The value can only be cidr. |
PUT /v2.0/dcaas/dc-endpoint-groups/{endpoint_group_id} { "dc_endpoint_group" : { "name" : "endpoint group1", "description" : "New description" } }
{ "dc_endpoint_groups" : { "id" : "6ecd9cf3-ca64-46c7-863f-f2eb1b9e838a", "tenant_id" : "6fbe9263116a4b68818cf1edce16bc4f", "name" : "endpoint group1", "description" : "New description", "endpoints" : [ "10.2.0.0/24", "10.3.0.0/24" ], "type" : "cidr" } }
For details, see section Common Returned Values.