diff --git a/docs/dc/api-ref/ALL_META.TXT.json b/docs/dc/api-ref/ALL_META.TXT.json index 3825e1f3..6fdfe720 100644 --- a/docs/dc/api-ref/ALL_META.TXT.json +++ b/docs/dc/api-ref/ALL_META.TXT.json @@ -1,441 +1,1438 @@ [ { - "uri":"en-dc_topic_0055025300.html", + "dockw":"API Reference" + }, + { + "uri":"en-us_topic_0055025300.html", + "node_id":"en-us_topic_0055025300.xml", "product_code":"dc", "code":"1", "des":"Public cloud APIs comply with the RESTful API design principles. REST-based web services are organized into resources. Each resource is identified by one or more Uniform ", "doc_type":"api", "kw":"API Usage Guidelines,API Reference", + "search_title":"", + "metedata":[ + { + "documenttype":"api", + "prodname":"dc", + "opensource":"true", + "operation_id":"ShowDirectConnectLocation" + } + ], "title":"API Usage Guidelines", "githuburl":"" }, { - "uri":"en-dc_topic_0055025301.html", + "uri":"en-us_topic_0055025301.html", + "node_id":"en-us_topic_0055025301.xml", "product_code":"dc", "code":"2", "des":"Direct Connect APIs allow you to use all Direct Connect functions.", "doc_type":"api", "kw":"API Overview,API Reference", + "search_title":"", + "metedata":[ + { + "documenttype":"api", + "prodname":"dc", + "opensource":"true", + "operation_id":"ShowDirectConnectLocation" + } + ], "title":"API Overview", "githuburl":"" }, { - "uri":"en-dc_topic_0055025308.html", + "uri":"en-us_topic_0055025308.html", + "node_id":"en-us_topic_0055025308.xml", "product_code":"dc", "code":"3", "des":"Direct Connect has independent endpoints. When API calls are made to Direct Connect, the Direct Connect APIs are used. Therefore, you need pay special attention to the se", "doc_type":"api", "kw":"API Usage,API Reference", + "search_title":"", + "metedata":[ + { + "documenttype":"api", + "prodname":"dc", + "opensource":"true", + "operation_id":"ShowDirectConnectLocation" + } + ], "title":"API Usage", "githuburl":"" }, { - "uri":"en-dc_topic_0055025309.html", + "uri":"en-us_topic_0055025309.html", + "node_id":"en-us_topic_0055025309.xml", "product_code":"dc", "code":"4", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"api", - "kw":"APIs", - "title":"APIs", + "kw":"APIs v2.0", + "search_title":"", + "metedata":[ + { + "documenttype":"api", + "prodname":"dc", + "opensource":"true", + "operation_id":"ShowDirectConnectLocation" + } + ], + "title":"APIs v2.0", "githuburl":"" }, { - "uri":"en-dc_topic_0055025310.html", + "uri":"en-us_topic_0055025310.html", + "node_id":"en-us_topic_0055025310.xml", "product_code":"dc", "code":"5", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"api", - "kw":"Obtaining the API Version Information", - "title":"Obtaining the API Version Information", + "kw":"API Version", + "search_title":"", + "metedata":[ + { + "documenttype":"api", + "prodname":"dc", + "opensource":"true", + "operation_id":"ShowDirectConnectLocation" + } + ], + "title":"API Version", "githuburl":"" }, { - "uri":"en-dc_topic_0055025311.html", + "uri":"en-us_topic_0055025311.html", + "node_id":"en-us_topic_0055025311.xml", "product_code":"dc", "code":"6", "des":"This API is used to query all API versions supported by Direct Connect.GET /NoneTable 1 lists the response parameters.Example requestGET /Example response{\n \"versions\"", "doc_type":"api", - "kw":"Querying All API Versions,Obtaining the API Version Information,API Reference", + "kw":"Querying All API Versions,API Version,API Reference", + "search_title":"", + "metedata":[ + { + "documenttype":"api", + "prodname":"dc", + "opensource":"true", + "operation_id":"ShowDirectConnectLocation" + } + ], "title":"Querying All API Versions", "githuburl":"" }, { - "uri":"en-dc_topic_0055025312.html", + "uri":"en-us_topic_0055025312.html", + "node_id":"en-us_topic_0055025312.xml", "product_code":"dc", "code":"7", "des":"This API is used to query a specified API version supported by Direct Connect.GET /{api_version}NoneTable 1 lists the response parameters.Example requestGET /v2.0Example ", "doc_type":"api", - "kw":"Querying a Specified API Version,Obtaining the API Version Information,API Reference", + "kw":"Querying a Specified API Version,API Version,API Reference", + "search_title":"", + "metedata":[ + { + "documenttype":"api", + "prodname":"dc", + "opensource":"true", + "operation_id":"ShowDirectConnectLocation" + } + ], "title":"Querying a Specified API Version", "githuburl":"" }, { - "uri":"en-dc_topic_0055025313.html", + "uri":"en-us_topic_0055025313.html", + "node_id":"en-us_topic_0055025313.xml", "product_code":"dc", "code":"8", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"api", "kw":"Connection", + "search_title":"", + "metedata":[ + { + "documenttype":"api", + "prodname":"dc", + "opensource":"true", + "operation_id":"ShowDirectConnectLocation" + } + ], "title":"Connection", "githuburl":"" }, { - "uri":"en-dc_topic_0055025314.html", + "uri":"en-us_topic_0055025314.html", + "node_id":"en-us_topic_0055025314.xml", "product_code":"dc", "code":"9", "des":"This section describes the APIs for managing connections, including the API used to create a hosted connection, the APIs used to query, update, and delete a connection, a", "doc_type":"api", "kw":"Overview,Connection,API Reference", + "search_title":"", + "metedata":[ + { + "documenttype":"api", + "prodname":"dc", + "opensource":"true", + "operation_id":"ShowDirectConnectLocation" + } + ], "title":"Overview", "githuburl":"" }, { - "uri":"en-dc_topic_0055025315.html", + "uri":"en-us_topic_0055025315.html", + "node_id":"en-us_topic_0055025315.xml", "product_code":"dc", "code":"10", "des":"This API is used to create a hosted connection.This API can only be used to create hosted connections.POST /v2.0/dcaas/direct-connectsFor details about the direct_connect", "doc_type":"api", "kw":"Creating a Connection,Connection,API Reference", + "search_title":"", + "metedata":[ + { + "documenttype":"api", + "prodname":"dc", + "opensource":"true", + "operation_id":"ShowDirectConnectLocation" + } + ], "title":"Creating a Connection", "githuburl":"" }, { - "uri":"en-dc_topic_0055025316.html", + "uri":"en-us_topic_0055025316.html", + "node_id":"en-us_topic_0055025316.xml", "product_code":"dc", "code":"11", "des":"This API is used to query the connection list.GET /v2.0/dcaas/direct-connectsTable 2 lists the request parameter.Table 3 lists the response parameter.For details about th", "doc_type":"api", "kw":"Querying the Connection List,Connection,API Reference", + "search_title":"", + "metedata":[ + { + "documenttype":"api", + "prodname":"dc", + "opensource":"true", + "operation_id":"ShowDirectConnectLocation" + } + ], "title":"Querying the Connection List", "githuburl":"" }, { - "uri":"en-dc_topic_0055025317.html", + "uri":"en-us_topic_0055025317.html", + "node_id":"en-us_topic_0055025317.xml", "product_code":"dc", "code":"12", "des":"This API is used to delete a connection.DELETE /v2.0/dcaas/direct-connects/{direct_connect_id}NoneNoneExample requestFor details, see Common Status Codes.", "doc_type":"api", "kw":"Deleting a Connection,Connection,API Reference", + "search_title":"", + "metedata":[ + { + "documenttype":"api", + "prodname":"dc", + "opensource":"true", + "operation_id":"ShowDirectConnectLocation" + } + ], "title":"Deleting a Connection", "githuburl":"" }, { - "uri":"en-dc_topic_0055025318.html", + "uri":"en-us_topic_0055025318.html", + "node_id":"en-us_topic_0055025318.xml", "product_code":"dc", "code":"13", "des":"This API is used to query a connection.GET /v2.0/dcaas/direct-connects/{direct_connect_id}NoneTable 2 lists the response parameter.For details about the direct_connect fi", "doc_type":"api", "kw":"Querying a Connection,Connection,API Reference", + "search_title":"", + "metedata":[ + { + "documenttype":"api", + "prodname":"dc", + "opensource":"true", + "operation_id":"ShowDirectConnectLocation" + } + ], "title":"Querying a Connection", "githuburl":"" }, { - "uri":"en-dc_topic_0055025319.html", + "uri":"en-us_topic_0055025319.html", + "node_id":"en-us_topic_0055025319.xml", "product_code":"dc", "code":"14", "des":"This API is used to update a connection.PUT /v2.0/dcaas/direct-connects/{direct_connect_id}Table 2 lists the request parameter.Table 4 lists the response parameter.For de", "doc_type":"api", "kw":"Updating a Connection,Connection,API Reference", + "search_title":"", + "metedata":[ + { + "documenttype":"api", + "prodname":"dc", + "opensource":"true", + "operation_id":"ShowDirectConnectLocation" + } + ], "title":"Updating a Connection", "githuburl":"" }, { - "uri":"en-dc_topic_0055025320.html", + "uri":"en-us_topic_0055025320.html", + "node_id":"en-us_topic_0055025320.xml", "product_code":"dc", "code":"15", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"api", "kw":"Virtual Gateway", + "search_title":"", + "metedata":[ + { + "documenttype":"api", + "prodname":"dc", + "opensource":"true", + "operation_id":"ShowDirectConnectLocation" + } + ], "title":"Virtual Gateway", "githuburl":"" }, { - "uri":"en-dc_topic_0055025321.html", + "uri":"en-us_topic_0055025321.html", + "node_id":"en-us_topic_0055025321.xml", "product_code":"dc", "code":"16", "des":"This section describes the APIs for managing and operating the virtual gateway, including the APIs used to create, query, update, and delete a virtual gateway, and the AP", "doc_type":"api", "kw":"Overview,Virtual Gateway,API Reference", + "search_title":"", + "metedata":[ + { + "documenttype":"api", + "prodname":"dc", + "opensource":"true", + "operation_id":"ShowDirectConnectLocation" + } + ], "title":"Overview", "githuburl":"" }, { - "uri":"en-dc_topic_0055025322.html", + "uri":"en-us_topic_0055025322.html", + "node_id":"en-us_topic_0055025322.xml", "product_code":"dc", "code":"17", "des":"This API is used to create a virtual gateway.POST /v2.0/dcaas/virtual-gatewaysFor details about the virtual_gateway field, see Table 2.Table 3 lists the response paramete", "doc_type":"api", "kw":"Creating a Virtual Gateway,Virtual Gateway,API Reference", + "search_title":"", + "metedata":[ + { + "documenttype":"api", + "prodname":"dc", + "opensource":"true", + "operation_id":"ShowDirectConnectLocation" + } + ], "title":"Creating a Virtual Gateway", "githuburl":"" }, { - "uri":"en-dc_topic_0055025323.html", + "uri":"en-us_topic_0055025323.html", + "node_id":"en-us_topic_0055025323.xml", "product_code":"dc", "code":"18", "des":"This API is used to query the virtual gateway list.GET /v2.0/dcaas/virtual-gatewaysTable 1 lists the request parameter.Table 2 lists the response parameter.For details ab", "doc_type":"api", "kw":"Querying the Virtual Gateway List,Virtual Gateway,API Reference", + "search_title":"", + "metedata":[ + { + "documenttype":"api", + "prodname":"dc", + "opensource":"true", + "operation_id":"ShowDirectConnectLocation" + } + ], "title":"Querying the Virtual Gateway List", "githuburl":"" }, { - "uri":"en-dc_topic_0055025324.html", + "uri":"en-us_topic_0055025324.html", + "node_id":"en-us_topic_0055025324.xml", "product_code":"dc", "code":"19", "des":"This API is used to delete a virtual gateway.DELETE /v2.0/dcaas/virtual-gateways/{virtual_gateway_id}Table 2 lists the request parameter.NoneExample requestResponse examp", "doc_type":"api", "kw":"Deleting a Virtual Gateway,Virtual Gateway,API Reference", + "search_title":"", + "metedata":[ + { + "documenttype":"api", + "prodname":"dc", + "opensource":"true", + "operation_id":"ShowDirectConnectLocation" + } + ], "title":"Deleting a Virtual Gateway", "githuburl":"" }, { - "uri":"en-dc_topic_0055025325.html", + "uri":"en-us_topic_0055025325.html", + "node_id":"en-us_topic_0055025325.xml", "product_code":"dc", "code":"20", "des":"This API is used to query a virtual gateway.GET /v2.0/dcaas/virtual-gateways/{virtual_gateway_id}Table 2 lists the request parameter.Table 3 lists the response parameter.", "doc_type":"api", "kw":"Querying a Virtual Gateway,Virtual Gateway,API Reference", + "search_title":"", + "metedata":[ + { + "documenttype":"api", + "prodname":"dc", + "opensource":"true", + "operation_id":"ShowDirectConnectLocation" + } + ], "title":"Querying a Virtual Gateway", "githuburl":"" }, { - "uri":"en-dc_topic_0055025326.html", + "uri":"en-us_topic_0055025326.html", + "node_id":"en-us_topic_0055025326.xml", "product_code":"dc", "code":"21", "des":"This API is used to update a virtual gateway.PUT /v2.0/dcaas/virtual-gateways/{virtual_gateway_id}Table 2 lists the request parameter.Table 3 lists the response parameter", "doc_type":"api", "kw":"Updating a Virtual Gateway,Virtual Gateway,API Reference", + "search_title":"", + "metedata":[ + { + "documenttype":"api", + "prodname":"dc", + "opensource":"true", + "operation_id":"ShowDirectConnectLocation" + } + ], "title":"Updating a Virtual Gateway", "githuburl":"" }, { - "uri":"en-dc_topic_0055025327.html", + "uri":"en-us_topic_0055025327.html", + "node_id":"en-us_topic_0055025327.xml", "product_code":"dc", "code":"22", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"api", "kw":"Virtual Interface", + "search_title":"", + "metedata":[ + { + "documenttype":"api", + "prodname":"dc", + "opensource":"true", + "operation_id":"ShowDirectConnectLocation" + } + ], "title":"Virtual Interface", "githuburl":"" }, { - "uri":"en-dc_topic_0055025328.html", + "uri":"en-us_topic_0055025328.html", + "node_id":"en-us_topic_0055025328.xml", "product_code":"dc", "code":"23", "des":"This section describes the APIs for managing and operating the virtual interfaces, including the APIs used to create, query, update, and delete a virtual interface, and t", "doc_type":"api", "kw":"Overview,Virtual Interface,API Reference", + "search_title":"", + "metedata":[ + { + "documenttype":"api", + "prodname":"dc", + "opensource":"true", + "operation_id":"ShowDirectConnectLocation" + } + ], "title":"Overview", "githuburl":"" }, { - "uri":"en-dc_topic_0055025329.html", + "uri":"en-us_topic_0055025329.html", + "node_id":"en-us_topic_0055025329.xml", "product_code":"dc", "code":"24", "des":"This API is used to create a virtual interface.POST /v2.0/dcaas/virtual-interfacesTable 1 lists the request parameter.Table 3 lists the response parameter.For details abo", "doc_type":"api", "kw":"Creating a Virtual Interface,Virtual Interface,API Reference", + "search_title":"", + "metedata":[ + { + "documenttype":"api", + "prodname":"dc", + "opensource":"true", + "operation_id":"ShowDirectConnectLocation" + } + ], "title":"Creating a Virtual Interface", "githuburl":"" }, { - "uri":"en-dc_topic_0055025330.html", + "uri":"en-us_topic_0055025330.html", + "node_id":"en-us_topic_0055025330.xml", "product_code":"dc", "code":"25", "des":"This API is used to query the virtual interface list.GET /v2.0/dcaas/virtual-interfacesTable 1 lists the request parameter.Table 2 lists the response parameter.For detail", "doc_type":"api", "kw":"Querying the Virtual Interface List,Virtual Interface,API Reference", + "search_title":"", + "metedata":[ + { + "documenttype":"api", + "prodname":"dc", + "opensource":"true", + "operation_id":"ShowDirectConnectLocation" + } + ], "title":"Querying the Virtual Interface List", "githuburl":"" }, { - "uri":"en-dc_topic_0055025331.html", + "uri":"en-us_topic_0055025331.html", + "node_id":"en-us_topic_0055025331.xml", "product_code":"dc", "code":"26", "des":"This API is used to delete a virtual interface.DELETE /v2.0/dcaas/virtual-interfaces/{virtual_interface_id}Table 2 lists the request parameter.NoneExample requestResponse", "doc_type":"api", "kw":"Deleting a Virtual Interface,Virtual Interface,API Reference", + "search_title":"", + "metedata":[ + { + "documenttype":"api", + "prodname":"dc", + "opensource":"true", + "operation_id":"ShowDirectConnectLocation" + } + ], "title":"Deleting a Virtual Interface", "githuburl":"" }, { - "uri":"en-dc_topic_0055025332.html", + "uri":"en-us_topic_0055025332.html", + "node_id":"en-us_topic_0055025332.xml", "product_code":"dc", "code":"27", "des":"This API is used to query a virtual interface.GET /v2.0/dcaas/virtual-interfaces/{virtual_interface_id}Table 2 lists the request parameter.Table 3 lists the response para", "doc_type":"api", "kw":"Querying a Virtual Interface,Virtual Interface,API Reference", + "search_title":"", + "metedata":[ + { + "documenttype":"api", + "prodname":"dc", + "opensource":"true", + "operation_id":"ShowDirectConnectLocation" + } + ], "title":"Querying a Virtual Interface", "githuburl":"" }, { - "uri":"en-dc_topic_0055025333.html", + "uri":"en-us_topic_0055025333.html", + "node_id":"en-us_topic_0055025333.xml", "product_code":"dc", "code":"28", "des":"This API is used to update a virtual interface.The bandwidth specified for a virtual interface associated with a standard connection can be increased or decreased, but th", "doc_type":"api", "kw":"Updating a Virtual Interface,Virtual Interface,API Reference", + "search_title":"", + "metedata":[ + { + "documenttype":"api", + "prodname":"dc", + "opensource":"true", + "operation_id":"ShowDirectConnectLocation" + } + ], "title":"Updating a Virtual Interface", "githuburl":"" }, { - "uri":"en-dc_topic_0055025334.html", + "uri":"en-us_topic_0055025334.html", + "node_id":"en-us_topic_0055025334.xml", "product_code":"dc", "code":"29", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"api", "kw":"Direct Connect Endpoint Group", + "search_title":"", + "metedata":[ + { + "documenttype":"api", + "prodname":"dc", + "opensource":"true", + "operation_id":"ShowDirectConnectLocation" + } + ], "title":"Direct Connect Endpoint Group", "githuburl":"" }, { - "uri":"en-dc_topic_0055025335.html", + "uri":"en-us_topic_0055025335.html", + "node_id":"en-us_topic_0055025335.xml", "product_code":"dc", "code":"30", "des":"This section describes the APIs for managing and operating Direct Connect endpoint groups, including the APIs used to create, query, update, and delete a Direct Connect e", "doc_type":"api", "kw":"Overview,Direct Connect Endpoint Group,API Reference", + "search_title":"", + "metedata":[ + { + "documenttype":"api", + "prodname":"dc", + "opensource":"true", + "operation_id":"ShowDirectConnectLocation" + } + ], "title":"Overview", "githuburl":"" }, { - "uri":"en-dc_topic_0055025336.html", + "uri":"en-us_topic_0055025336.html", + "node_id":"en-us_topic_0055025336.xml", "product_code":"dc", "code":"31", "des":"This API is used to create a Direct Connect endpoint group.POST /v2.0/dcaas/dc-endpoint-groupsTable 1 lists the request parameter.Table 3 lists the response parameter.Exa", "doc_type":"api", "kw":"Creating an Endpoint Group,Direct Connect Endpoint Group,API Reference", + "search_title":"", + "metedata":[ + { + "documenttype":"api", + "prodname":"dc", + "opensource":"true", + "operation_id":"ShowDirectConnectLocation" + } + ], "title":"Creating an Endpoint Group", "githuburl":"" }, { - "uri":"en-dc_topic_0055025337.html", + "uri":"en-us_topic_0055025337.html", + "node_id":"en-us_topic_0055025337.xml", "product_code":"dc", "code":"32", "des":"This API is used to query the Direct Connect endpoint group list.GET /v2.0/dcaas/dc-endpoint-groupsTable 1 lists the request parameter.Table 2 lists the response paramete", "doc_type":"api", "kw":"Querying the Direct Connect Endpoint Group List,Direct Connect Endpoint Group,API Reference", + "search_title":"", + "metedata":[ + { + "documenttype":"api", + "prodname":"dc", + "opensource":"true", + "operation_id":"ShowDirectConnectLocation" + } + ], "title":"Querying the Direct Connect Endpoint Group List", "githuburl":"" }, { - "uri":"en-dc_topic_0055025338.html", + "uri":"en-us_topic_0055025338.html", + "node_id":"en-us_topic_0055025338.xml", "product_code":"dc", "code":"33", "des":"This API is used to delete a Direct Connect endpoint group.DELETE /v2.0/dcaas/dc-endpoint-groups/{endpoint_group_id}Table 2 lists the request parameter.NoneExample reques", "doc_type":"api", "kw":"Deleting an Endpoint Group,Direct Connect Endpoint Group,API Reference", + "search_title":"", + "metedata":[ + { + "documenttype":"api", + "prodname":"dc", + "opensource":"true", + "operation_id":"ShowDirectConnectLocation" + } + ], "title":"Deleting an Endpoint Group", "githuburl":"" }, { - "uri":"en-dc_topic_0055025339.html", + "uri":"en-us_topic_0055025339.html", + "node_id":"en-us_topic_0055025339.xml", "product_code":"dc", "code":"34", "des":"This API is used to query a Direct Connect endpoint group.GET /v2.0/dcaas/dc-endpoint-groups/{endpoint_group_id}Table 2 lists the request parameter.Table 3 lists the resp", "doc_type":"api", "kw":"Querying a Direct Connect Endpoint Group,Direct Connect Endpoint Group,API Reference", + "search_title":"", + "metedata":[ + { + "documenttype":"api", + "prodname":"dc", + "opensource":"true", + "operation_id":"ShowDirectConnectLocation" + } + ], "title":"Querying a Direct Connect Endpoint Group", "githuburl":"" }, { - "uri":"en-dc_topic_0055025340.html", + "uri":"dc_07_0000.html", + "node_id":"dc_07_0000.xml", "product_code":"dc", "code":"35", - "des":"This API is used to update a Direct Connect endpoint group.PUT /v2.0/dcaas/dc-endpoint-groups/{endpoint_group_id}Table 2 lists the request parameter.Table 4 lists the res", + "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"api", - "kw":"Updating a Direct Connect Endpoint Group,Direct Connect Endpoint Group,API Reference", - "title":"Updating a Direct Connect Endpoint Group", + "kw":"APIs v3", + "search_title":"", + "metedata":[ + { + "documenttype":"api", + "prodname":"dc", + "opensource":"true", + "operation_id":"ShowDirectConnectLocation" + } + ], + "title":"APIs v3", "githuburl":"" }, { - "uri":"dc_08_0000.html", + "uri":"topic_300000000.html", + "node_id":"topic_300000000.xml", "product_code":"dc", "code":"36", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"api", - "kw":"Permissions Policies and Supported Actions", - "title":"Permissions Policies and Supported Actions", + "kw":"Connection", + "search_title":"", + "metedata":[ + { + "documenttype":"api", + "prodname":"dc" + } + ], + "title":"Connection", + "githuburl":"" + }, + { + "uri":"ShowDirectConnect.html", + "node_id":"showdirectconnect.xml", + "product_code":"dc", + "code":"37", + "des":"This API is used to query details about a connection.GET /v3/{project_id}/dcaas/direct-connects/{direct_connect_id}Status code: 200Querying details about a connectionStat", + "doc_type":"api", + "kw":"Querying Details About a Connection,Connection,API Reference", + "search_title":"", + "metedata":[ + { + "opensource":"true", + "documenttype":"api", + "prodname":"dc", + "operation_id":"ShowDirectConnect" + } + ], + "title":"Querying Details About a Connection", + "githuburl":"" + }, + { + "uri":"UpdateDirectConnect.html", + "node_id":"updatedirectconnect.xml", + "product_code":"dc", + "code":"38", + "des":"This API is used to update a connection, including updating its name and description.PUT /v3/{project_id}/dcaas/direct-connects/{direct_connect_id}Status code: 200Updatin", + "doc_type":"api", + "kw":"Updating a Connection,Connection,API Reference", + "search_title":"", + "metedata":[ + { + "opensource":"true", + "documenttype":"api", + "prodname":"dc", + "operation_id":"UpdateDirectConnect" + } + ], + "title":"Updating a Connection", + "githuburl":"" + }, + { + "uri":"DeleteDirectConnect.html", + "node_id":"deletedirectconnect.xml", + "product_code":"dc", + "code":"39", + "des":"This API is used to delete pay-per-use connections only. To delete yearly/monthly connections, you need to first unsubscribe them.DELETE /v3/{project_id}/dcaas/direct-con", + "doc_type":"api", + "kw":"Deleting a Connection,Connection,API Reference", + "search_title":"", + "metedata":[ + { + "opensource":"true", + "documenttype":"api", + "prodname":"dc", + "operation_id":"DeleteDirectConnect" + } + ], + "title":"Deleting a Connection", + "githuburl":"" + }, + { + "uri":"ListDirectConnects.html", + "node_id":"listdirectconnects.xml", + "product_code":"dc", + "code":"40", + "des":"This API is used to query all direct connections created by a tenant.GET /v3/{project_id}/dcaas/direct-connectsStatus code: 200Querying the connection listStatus code: 20", + "doc_type":"api", + "kw":"Querying the Connection List,Connection,API Reference", + "search_title":"", + "metedata":[ + { + "opensource":"true", + "documenttype":"api", + "prodname":"dc", + "operation_id":"ListDirectConnects" + } + ], + "title":"Querying the Connection List", + "githuburl":"" + }, + { + "uri":"ListHostedDirectConnects.html", + "node_id":"listhosteddirectconnects.xml", + "product_code":"dc", + "code":"41", + "des":"This API is used to query hosted connections created by partners.GET /v3/{project_id}/dcaas/hosted-connectsStatus code: 200Querying the list of hosted connections created", + "doc_type":"api", + "kw":"Querying the Hosted Connection List,Connection,API Reference", + "search_title":"", + "metedata":[ + { + "opensource":"true", + "documenttype":"api", + "prodname":"dc", + "operation_id":"ListHostedDirectConnects" + } + ], + "title":"Querying the Hosted Connection List", + "githuburl":"" + }, + { + "uri":"CreateHostedDirectConnect.html", + "node_id":"createhosteddirectconnect.xml", + "product_code":"dc", + "code":"42", + "des":"This API is used by partners to create hosted connections for their users. The creator must have the partner qualification and have an operations connection.POST /v3/{pro", + "doc_type":"api", + "kw":"Creating a Hosted Connection,Connection,API Reference", + "search_title":"", + "metedata":[ + { + "opensource":"true", + "documenttype":"api", + "prodname":"dc", + "operation_id":"CreateHostedDirectConnect" + } + ], + "title":"Creating a Hosted Connection", + "githuburl":"" + }, + { + "uri":"ShowHostedDirectConnect.html", + "node_id":"showhosteddirectconnect.xml", + "product_code":"dc", + "code":"43", + "des":"This API is used to query a hosted connection of a partner.GET /v3/{project_id}/dcaas/hosted-connects/{hosted_connect_id}Status code: 200Querying details about a hosted c", + "doc_type":"api", + "kw":"Querying Details About a Hosted Connection,Connection,API Reference", + "search_title":"", + "metedata":[ + { + "opensource":"true", + "documenttype":"api", + "prodname":"dc", + "operation_id":"ShowHostedDirectConnect" + } + ], + "title":"Querying Details About a Hosted Connection", + "githuburl":"" + }, + { + "uri":"UpdateHostedDirectConnect.html", + "node_id":"updatehosteddirectconnect.xml", + "product_code":"dc", + "code":"44", + "des":"Updating a hosted connection by a partnerPUT /v3/{project_id}/dcaas/hosted-connects/{hosted_connect_id}Status code: 200Updating the name and description of a hosted conne", + "doc_type":"api", + "kw":"Updating a Hosted Connection,Connection,API Reference", + "search_title":"", + "metedata":[ + { + "opensource":"true", + "documenttype":"api", + "prodname":"dc", + "operation_id":"UpdateHostedDirectConnect" + } + ], + "title":"Updating a Hosted Connection", + "githuburl":"" + }, + { + "uri":"DeleteHostedDirectConnect.html", + "node_id":"deletehosteddirectconnect.xml", + "product_code":"dc", + "code":"45", + "des":"This API is used by partners to delete hosted connections.DELETE /v3/{project_id}/dcaas/hosted-connects/{hosted_connect_id}NoneDeleting a hosted connectionNoneSee Error C", + "doc_type":"api", + "kw":"Deleting a Hosted Connection,Connection,API Reference", + "search_title":"", + "metedata":[ + { + "opensource":"true", + "documenttype":"api", + "prodname":"dc", + "operation_id":"DeleteHostedDirectConnect" + } + ], + "title":"Deleting a Hosted Connection", + "githuburl":"" + }, + { + "uri":"topic_300000001.html", + "node_id":"topic_300000001.xml", + "product_code":"dc", + "code":"46", + "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "doc_type":"api", + "kw":"Virtual Gateway", + "search_title":"", + "metedata":[ + { + "documenttype":"api", + "prodname":"dc" + } + ], + "title":"Virtual Gateway", + "githuburl":"" + }, + { + "uri":"ShowVirtualGateway.html", + "node_id":"showvirtualgateway.xml", + "product_code":"dc", + "code":"47", + "des":"This API is used to query details about a specified virtual gateway.GET /v3/{project_id}/dcaas/virtual-gateways/{virtual_gateway_id}Status code: 200Querying a virtual gat", + "doc_type":"api", + "kw":"Querying Details About a Virtual Gateway,Virtual Gateway,API Reference", + "search_title":"", + "metedata":[ + { + "opensource":"true", + "documenttype":"api", + "prodname":"dc", + "operation_id":"ShowVirtualGateway" + } + ], + "title":"Querying Details About a Virtual Gateway", + "githuburl":"" + }, + { + "uri":"UpdateVirtualGateway.html", + "node_id":"updatevirtualgateway.xml", + "product_code":"dc", + "code":"48", + "des":"This API is used to update a virtual gateway.PUT /v3/{project_id}/dcaas/virtual-gateways/{virtual_gateway_id}Status code: 200Updating the name and description of a virtua", + "doc_type":"api", + "kw":"Updating a Virtual Gateway,Virtual Gateway,API Reference", + "search_title":"", + "metedata":[ + { + "opensource":"true", + "documenttype":"api", + "prodname":"dc", + "operation_id":"UpdateVirtualGateway" + } + ], + "title":"Updating a Virtual Gateway", + "githuburl":"" + }, + { + "uri":"DeleteVirtualGateway.html", + "node_id":"deletevirtualgateway.xml", + "product_code":"dc", + "code":"49", + "des":"The API is used to delete a specified virtual gateway.DELETE /v3/{project_id}/dcaas/virtual-gateways/{virtual_gateway_id}NoneDeleting a virtual gatewayNoneSee Error Codes", + "doc_type":"api", + "kw":"Deleting a Virtual Gateway,Virtual Gateway,API Reference", + "search_title":"", + "metedata":[ + { + "opensource":"true", + "documenttype":"api", + "prodname":"dc", + "operation_id":"DeleteVirtualGateway" + } + ], + "title":"Deleting a Virtual Gateway", + "githuburl":"" + }, + { + "uri":"ListVirtualGateways.html", + "node_id":"listvirtualgateways.xml", + "product_code":"dc", + "code":"50", + "des":"This API is used to query virtual gateways.GET /v3/{project_id}/dcaas/virtual-gatewaysStatus code: 200Querying the virtual gateway listStatus code: 200OKThe list of virtu", + "doc_type":"api", + "kw":"Querying Virtual Gateways,Virtual Gateway,API Reference", + "search_title":"", + "metedata":[ + { + "opensource":"true", + "documenttype":"api", + "prodname":"dc", + "operation_id":"ListVirtualGateways" + } + ], + "title":"Querying Virtual Gateways", + "githuburl":"" + }, + { + "uri":"CreateVirtualGateway.html", + "node_id":"createvirtualgateway.xml", + "product_code":"dc", + "code":"51", + "des":"This API is used to create a virtual gateway.POST /v3/{project_id}/dcaas/virtual-gatewaysStatus code: 201Creating a virtual gateway that will be used to access a VPC, wit", + "doc_type":"api", + "kw":"Creating a Virtual Gateway,Virtual Gateway,API Reference", + "search_title":"", + "metedata":[ + { + "opensource":"true", + "documenttype":"api", + "prodname":"dc", + "operation_id":"CreateVirtualGateway" + } + ], + "title":"Creating a Virtual Gateway", + "githuburl":"" + }, + { + "uri":"topic_300000002.html", + "node_id":"topic_300000002.xml", + "product_code":"dc", + "code":"52", + "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "doc_type":"api", + "kw":"Virtual Interface", + "search_title":"", + "metedata":[ + { + "documenttype":"api", + "prodname":"dc" + } + ], + "title":"Virtual Interface", + "githuburl":"" + }, + { + "uri":"ShowVirtualInterface.html", + "node_id":"showvirtualinterface.xml", + "product_code":"dc", + "code":"53", + "des":"This API is used to querying details about a virtual interface.GET /v3/{project_id}/dcaas/virtual-interfaces/{virtual_interface_id}Status code: 200Querying a virtual inte", + "doc_type":"api", + "kw":"Querying Details About a Virtual Interface,Virtual Interface,API Reference", + "search_title":"", + "metedata":[ + { + "opensource":"true", + "documenttype":"api", + "prodname":"dc", + "operation_id":"ShowVirtualInterface" + } + ], + "title":"Querying Details About a Virtual Interface", + "githuburl":"" + }, + { + "uri":"UpdateVirtualInterface.html", + "node_id":"updatevirtualinterface.xml", + "product_code":"dc", + "code":"54", + "des":"This API is used to update a virtual interface.PUT /v3/{project_id}/dcaas/virtual-interfaces/{virtual_interface_id}Status code: 200Updating the name and description of a ", + "doc_type":"api", + "kw":"Updating a Virtual Interface,Virtual Interface,API Reference", + "search_title":"", + "metedata":[ + { + "opensource":"true", + "documenttype":"api", + "prodname":"dc", + "operation_id":"UpdateVirtualInterface" + } + ], + "title":"Updating a Virtual Interface", + "githuburl":"" + }, + { + "uri":"DeleteVirtualInterface.html", + "node_id":"deletevirtualinterface.xml", + "product_code":"dc", + "code":"55", + "des":"This API is used to delete a virtual interface.DELETE /v3/{project_id}/dcaas/virtual-interfaces/{virtual_interface_id}NoneDeleting a virtual interfaceNoneSee Error Codes.", + "doc_type":"api", + "kw":"Deleting a Virtual Interface,Virtual Interface,API Reference", + "search_title":"", + "metedata":[ + { + "opensource":"true", + "documenttype":"api", + "prodname":"dc", + "operation_id":"DeleteVirtualInterface" + } + ], + "title":"Deleting a Virtual Interface", + "githuburl":"" + }, + { + "uri":"ListVirtualInterfaces.html", + "node_id":"listvirtualinterfaces.xml", + "product_code":"dc", + "code":"56", + "des":"This API is used to query all virtual interfaces of a tenant.GET /v3/{project_id}/dcaas/virtual-interfacesStatus code: 200Querying the virtual interface listStatus code: ", + "doc_type":"api", + "kw":"Querying the Virtual Interface List,Virtual Interface,API Reference", + "search_title":"", + "metedata":[ + { + "opensource":"true", + "documenttype":"api", + "prodname":"dc", + "operation_id":"ListVirtualInterfaces" + } + ], + "title":"Querying the Virtual Interface List", + "githuburl":"" + }, + { + "uri":"CreateVirtualInterface.html", + "node_id":"createvirtualinterface.xml", + "product_code":"dc", + "code":"57", + "des":"This API is used to create a virtual interface.POST /v3/{project_id}/dcaas/virtual-interfacesStatus code: 201Creating a private virtual interface, with the bandwidth set ", + "doc_type":"api", + "kw":"Creating a Virtual Interface,Virtual Interface,API Reference", + "search_title":"", + "metedata":[ + { + "opensource":"true", + "documenttype":"api", + "prodname":"dc", + "operation_id":"CreateVirtualInterface" + } + ], + "title":"Creating a Virtual Interface", + "githuburl":"" + }, + { + "uri":"dc_08_0000.html", + "node_id":"dc_08_0000.xml", + "product_code":"dc", + "code":"58", + "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "doc_type":"api", + "kw":"Permissions Policies and Supported Actions (APIs v2.0)", + "search_title":"", + "metedata":[ + { + "documenttype":"api", + "prodname":"dc", + "opensource":"true", + "operation_id":"ShowDirectConnectLocation" + } + ], + "title":"Permissions Policies and Supported Actions (APIs v2.0)", "githuburl":"" }, { "uri":"dc_08_0001.html", + "node_id":"dc_08_0001.xml", "product_code":"dc", - "code":"37", - "des":"This chapter describes fine-grained permissions management for your Direct Connect. If your cloud account does not need individual Identity and Access Management (IAM) us", + "code":"59", + "des":"This chapter describes fine-grained permissions management for Direct Connect. If your cloud account does not need individual Identity and Access Management (IAM) users, ", "doc_type":"api", - "kw":"Introduction,Permissions Policies and Supported Actions,API Reference", + "kw":"Introduction,Permissions Policies and Supported Actions (APIs v2.0),API Reference", + "search_title":"", + "metedata":[ + { + "documenttype":"api", + "prodname":"dc", + "opensource":"true", + "operation_id":"ShowDirectConnectLocation" + } + ], "title":"Introduction", "githuburl":"" }, { "uri":"dc_08_0002.html", + "node_id":"dc_08_0002.xml", "product_code":"dc", - "code":"38", + "code":"60", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"api", - "kw":"Connections,Permissions Policies and Supported Actions,API Reference", + "kw":"Connections,Permissions Policies and Supported Actions (APIs v2.0),API Reference", + "search_title":"", + "metedata":[ + { + "documenttype":"api", + "prodname":"dc", + "opensource":"true", + "operation_id":"ShowDirectConnectLocation" + } + ], "title":"Connections", "githuburl":"" }, { "uri":"dc_08_0003.html", + "node_id":"dc_08_0003.xml", "product_code":"dc", - "code":"39", + "code":"61", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"api", - "kw":"Virtual Gateways,Permissions Policies and Supported Actions,API Reference", + "kw":"Virtual Gateways,Permissions Policies and Supported Actions (APIs v2.0),API Reference", + "search_title":"", + "metedata":[ + { + "documenttype":"api", + "prodname":"dc", + "opensource":"true", + "operation_id":"ShowDirectConnectLocation" + } + ], "title":"Virtual Gateways", "githuburl":"" }, { "uri":"dc_08_0004.html", + "node_id":"dc_08_0004.xml", "product_code":"dc", - "code":"40", + "code":"62", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"api", - "kw":"Virtual Interfaces,Permissions Policies and Supported Actions,API Reference", + "kw":"Virtual Interfaces,Permissions Policies and Supported Actions (APIs v2.0),API Reference", + "search_title":"", + "metedata":[ + { + "documenttype":"api", + "prodname":"dc", + "opensource":"true", + "operation_id":"ShowDirectConnectLocation" + } + ], "title":"Virtual Interfaces", "githuburl":"" }, { - "uri":"en-dc_topic_0055025341.html", + "uri":"dc_08_3000.html", + "node_id":"dc_08_3000.xml", "product_code":"dc", - "code":"41", + "code":"63", + "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "doc_type":"api", + "kw":"Permissions Policies and Supported Actions (APIs v3)", + "search_title":"", + "metedata":[ + { + "documenttype":"api", + "prodname":"dc", + "opensource":"true", + "operation_id":"ShowDirectConnectLocation" + } + ], + "title":"Permissions Policies and Supported Actions (APIs v3)", + "githuburl":"" + }, + { + "uri":"dc_08_3001.html", + "node_id":"dc_08_3001.xml", + "product_code":"dc", + "code":"64", + "des":"This topic describes fine-grained permissions management for Direct Connect. If your cloud account does not need individual Identity and Access Management (IAM) users, yo", + "doc_type":"api", + "kw":"Introduction,Permissions Policies and Supported Actions (APIs v3),API Reference", + "search_title":"", + "metedata":[ + { + "documenttype":"api", + "prodname":"dc", + "opensource":"true", + "operation_id":"ShowDirectConnectLocation" + } + ], + "title":"Introduction", + "githuburl":"" + }, + { + "uri":"dc_08_3002.html", + "node_id":"dc_08_3002.xml", + "product_code":"dc", + "code":"65", + "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "doc_type":"api", + "kw":"Connections,Permissions Policies and Supported Actions (APIs v3),API Reference", + "search_title":"", + "metedata":[ + { + "documenttype":"api", + "prodname":"dc", + "opensource":"true", + "operation_id":"ShowDirectConnectLocation" + } + ], + "title":"Connections", + "githuburl":"" + }, + { + "uri":"dc_08_3003.html", + "node_id":"dc_08_3003.xml", + "product_code":"dc", + "code":"66", + "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "doc_type":"api", + "kw":"Virtual Gateways,Permissions Policies and Supported Actions (APIs v3),API Reference", + "search_title":"", + "metedata":[ + { + "documenttype":"api", + "prodname":"dc", + "opensource":"true", + "operation_id":"ShowDirectConnectLocation" + } + ], + "title":"Virtual Gateways", + "githuburl":"" + }, + { + "uri":"dc_08_3004.html", + "node_id":"dc_08_3004.xml", + "product_code":"dc", + "code":"67", + "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "doc_type":"api", + "kw":"Virtual Interfaces,Permissions Policies and Supported Actions (APIs v3),API Reference", + "search_title":"", + "metedata":[ + { + "documenttype":"api", + "prodname":"dc", + "opensource":"true", + "operation_id":"ShowDirectConnectLocation" + } + ], + "title":"Virtual Interfaces", + "githuburl":"" + }, + { + "uri":"en-us_topic_0055025341.html", + "node_id":"en-us_topic_0055025341.xml", + "product_code":"dc", + "code":"68", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"api", "kw":"Public Parameters", + "search_title":"", + "metedata":[ + { + "documenttype":"api", + "prodname":"dc", + "opensource":"true", + "operation_id":"ShowDirectConnectLocation" + } + ], "title":"Public Parameters", "githuburl":"" }, { - "uri":"en-dc_topic_0055025342.html", + "uri":"en-us_topic_0055025342.html", + "node_id":"en-us_topic_0055025342.xml", "product_code":"dc", - "code":"42", + "code":"69", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"api", "kw":"Common Status Codes,Public Parameters,API Reference", + "search_title":"", + "metedata":[ + { + "documenttype":"api", + "prodname":"dc", + "opensource":"true", + "operation_id":"ShowDirectConnectLocation" + } + ], "title":"Common Status Codes", "githuburl":"" }, { - "uri":"en-dc_topic_0055025343.html", + "uri":"en-us_topic_0055025343.html", + "node_id":"en-us_topic_0055025343.xml", "product_code":"dc", - "code":"43", + "code":"70", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"api", - "kw":"Error Codes,Public Parameters,API Reference", - "title":"Error Codes", + "kw":"Error Codes (APIs v2.0),Public Parameters,API Reference", + "search_title":"", + "metedata":[ + { + "documenttype":"api", + "prodname":"dc", + "opensource":"true", + "operation_id":"ShowDirectConnectLocation" + } + ], + "title":"Error Codes (APIs v2.0)", "githuburl":"" }, { - "uri":"en-dc_topic_0055025347.html", + "uri":"ErrorCode.html", + "node_id":"errorcode.xml", "product_code":"dc", - "code":"44", + "code":"71", + "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "doc_type":"api", + "kw":"Error Codes (APIs v3),Public Parameters,API Reference", + "search_title":"", + "metedata":[ + { + "documenttype":"api", + "prodname":"dc", + "opensource":"true", + "operation_id":"ShowDirectConnectLocation" + } + ], + "title":"Error Codes (APIs v3)", + "githuburl":"" + }, + { + "uri":"en-us_topic_0055025347.html", + "node_id":"en-us_topic_0055025347.xml", + "product_code":"dc", + "code":"72", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"api", "kw":"Change History,API Reference", + "search_title":"", + "metedata":[ + { + "documenttype":"api", + "prodname":"dc", + "opensource":"true", + "operation_id":"ShowDirectConnectLocation" + } + ], "title":"Change History", "githuburl":"" } diff --git a/docs/dc/api-ref/CLASS.TXT.json b/docs/dc/api-ref/CLASS.TXT.json index 6dc8e081..613d58db 100644 --- a/docs/dc/api-ref/CLASS.TXT.json +++ b/docs/dc/api-ref/CLASS.TXT.json @@ -3,7 +3,7 @@ "desc":"Public cloud APIs comply with the RESTful API design principles. REST-based web services are organized into resources. Each resource is identified by one or more Uniform ", "product_code":"dc", "title":"API Usage Guidelines", - "uri":"en-dc_topic_0055025300.html", + "uri":"en-us_topic_0055025300.html", "doc_type":"api", "p_code":"", "code":"1" @@ -12,7 +12,7 @@ "desc":"Direct Connect APIs allow you to use all Direct Connect functions.", "product_code":"dc", "title":"API Overview", - "uri":"en-dc_topic_0055025301.html", + "uri":"en-us_topic_0055025301.html", "doc_type":"api", "p_code":"", "code":"2" @@ -21,7 +21,7 @@ "desc":"Direct Connect has independent endpoints. When API calls are made to Direct Connect, the Direct Connect APIs are used. Therefore, you need pay special attention to the se", "product_code":"dc", "title":"API Usage", - "uri":"en-dc_topic_0055025308.html", + "uri":"en-us_topic_0055025308.html", "doc_type":"api", "p_code":"", "code":"3" @@ -29,8 +29,8 @@ { "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "product_code":"dc", - "title":"APIs", - "uri":"en-dc_topic_0055025309.html", + "title":"APIs v2.0", + "uri":"en-us_topic_0055025309.html", "doc_type":"api", "p_code":"", "code":"4" @@ -38,8 +38,8 @@ { "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "product_code":"dc", - "title":"Obtaining the API Version Information", - "uri":"en-dc_topic_0055025310.html", + "title":"API Version", + "uri":"en-us_topic_0055025310.html", "doc_type":"api", "p_code":"4", "code":"5" @@ -48,7 +48,7 @@ "desc":"This API is used to query all API versions supported by Direct Connect.GET /NoneTable 1 lists the response parameters.Example requestGET /Example response{\n \"versions\"", "product_code":"dc", "title":"Querying All API Versions", - "uri":"en-dc_topic_0055025311.html", + "uri":"en-us_topic_0055025311.html", "doc_type":"api", "p_code":"5", "code":"6" @@ -57,7 +57,7 @@ "desc":"This API is used to query a specified API version supported by Direct Connect.GET /{api_version}NoneTable 1 lists the response parameters.Example requestGET /v2.0Example ", "product_code":"dc", "title":"Querying a Specified API Version", - "uri":"en-dc_topic_0055025312.html", + "uri":"en-us_topic_0055025312.html", "doc_type":"api", "p_code":"5", "code":"7" @@ -66,7 +66,7 @@ "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "product_code":"dc", "title":"Connection", - "uri":"en-dc_topic_0055025313.html", + "uri":"en-us_topic_0055025313.html", "doc_type":"api", "p_code":"4", "code":"8" @@ -75,7 +75,7 @@ "desc":"This section describes the APIs for managing connections, including the API used to create a hosted connection, the APIs used to query, update, and delete a connection, a", "product_code":"dc", "title":"Overview", - "uri":"en-dc_topic_0055025314.html", + "uri":"en-us_topic_0055025314.html", "doc_type":"api", "p_code":"8", "code":"9" @@ -84,7 +84,7 @@ "desc":"This API is used to create a hosted connection.This API can only be used to create hosted connections.POST /v2.0/dcaas/direct-connectsFor details about the direct_connect", "product_code":"dc", "title":"Creating a Connection", - "uri":"en-dc_topic_0055025315.html", + "uri":"en-us_topic_0055025315.html", "doc_type":"api", "p_code":"8", "code":"10" @@ -93,7 +93,7 @@ "desc":"This API is used to query the connection list.GET /v2.0/dcaas/direct-connectsTable 2 lists the request parameter.Table 3 lists the response parameter.For details about th", "product_code":"dc", "title":"Querying the Connection List", - "uri":"en-dc_topic_0055025316.html", + "uri":"en-us_topic_0055025316.html", "doc_type":"api", "p_code":"8", "code":"11" @@ -102,7 +102,7 @@ "desc":"This API is used to delete a connection.DELETE /v2.0/dcaas/direct-connects/{direct_connect_id}NoneNoneExample requestFor details, see Common Status Codes.", "product_code":"dc", "title":"Deleting a Connection", - "uri":"en-dc_topic_0055025317.html", + "uri":"en-us_topic_0055025317.html", "doc_type":"api", "p_code":"8", "code":"12" @@ -111,7 +111,7 @@ "desc":"This API is used to query a connection.GET /v2.0/dcaas/direct-connects/{direct_connect_id}NoneTable 2 lists the response parameter.For details about the direct_connect fi", "product_code":"dc", "title":"Querying a Connection", - "uri":"en-dc_topic_0055025318.html", + "uri":"en-us_topic_0055025318.html", "doc_type":"api", "p_code":"8", "code":"13" @@ -120,7 +120,7 @@ "desc":"This API is used to update a connection.PUT /v2.0/dcaas/direct-connects/{direct_connect_id}Table 2 lists the request parameter.Table 4 lists the response parameter.For de", "product_code":"dc", "title":"Updating a Connection", - "uri":"en-dc_topic_0055025319.html", + "uri":"en-us_topic_0055025319.html", "doc_type":"api", "p_code":"8", "code":"14" @@ -129,7 +129,7 @@ "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "product_code":"dc", "title":"Virtual Gateway", - "uri":"en-dc_topic_0055025320.html", + "uri":"en-us_topic_0055025320.html", "doc_type":"api", "p_code":"4", "code":"15" @@ -138,7 +138,7 @@ "desc":"This section describes the APIs for managing and operating the virtual gateway, including the APIs used to create, query, update, and delete a virtual gateway, and the AP", "product_code":"dc", "title":"Overview", - "uri":"en-dc_topic_0055025321.html", + "uri":"en-us_topic_0055025321.html", "doc_type":"api", "p_code":"15", "code":"16" @@ -147,7 +147,7 @@ "desc":"This API is used to create a virtual gateway.POST /v2.0/dcaas/virtual-gatewaysFor details about the virtual_gateway field, see Table 2.Table 3 lists the response paramete", "product_code":"dc", "title":"Creating a Virtual Gateway", - "uri":"en-dc_topic_0055025322.html", + "uri":"en-us_topic_0055025322.html", "doc_type":"api", "p_code":"15", "code":"17" @@ -156,7 +156,7 @@ "desc":"This API is used to query the virtual gateway list.GET /v2.0/dcaas/virtual-gatewaysTable 1 lists the request parameter.Table 2 lists the response parameter.For details ab", "product_code":"dc", "title":"Querying the Virtual Gateway List", - "uri":"en-dc_topic_0055025323.html", + "uri":"en-us_topic_0055025323.html", "doc_type":"api", "p_code":"15", "code":"18" @@ -165,7 +165,7 @@ "desc":"This API is used to delete a virtual gateway.DELETE /v2.0/dcaas/virtual-gateways/{virtual_gateway_id}Table 2 lists the request parameter.NoneExample requestResponse examp", "product_code":"dc", "title":"Deleting a Virtual Gateway", - "uri":"en-dc_topic_0055025324.html", + "uri":"en-us_topic_0055025324.html", "doc_type":"api", "p_code":"15", "code":"19" @@ -174,7 +174,7 @@ "desc":"This API is used to query a virtual gateway.GET /v2.0/dcaas/virtual-gateways/{virtual_gateway_id}Table 2 lists the request parameter.Table 3 lists the response parameter.", "product_code":"dc", "title":"Querying a Virtual Gateway", - "uri":"en-dc_topic_0055025325.html", + "uri":"en-us_topic_0055025325.html", "doc_type":"api", "p_code":"15", "code":"20" @@ -183,7 +183,7 @@ "desc":"This API is used to update a virtual gateway.PUT /v2.0/dcaas/virtual-gateways/{virtual_gateway_id}Table 2 lists the request parameter.Table 3 lists the response parameter", "product_code":"dc", "title":"Updating a Virtual Gateway", - "uri":"en-dc_topic_0055025326.html", + "uri":"en-us_topic_0055025326.html", "doc_type":"api", "p_code":"15", "code":"21" @@ -192,7 +192,7 @@ "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "product_code":"dc", "title":"Virtual Interface", - "uri":"en-dc_topic_0055025327.html", + "uri":"en-us_topic_0055025327.html", "doc_type":"api", "p_code":"4", "code":"22" @@ -201,7 +201,7 @@ "desc":"This section describes the APIs for managing and operating the virtual interfaces, including the APIs used to create, query, update, and delete a virtual interface, and t", "product_code":"dc", "title":"Overview", - "uri":"en-dc_topic_0055025328.html", + "uri":"en-us_topic_0055025328.html", "doc_type":"api", "p_code":"22", "code":"23" @@ -210,7 +210,7 @@ "desc":"This API is used to create a virtual interface.POST /v2.0/dcaas/virtual-interfacesTable 1 lists the request parameter.Table 3 lists the response parameter.For details abo", "product_code":"dc", "title":"Creating a Virtual Interface", - "uri":"en-dc_topic_0055025329.html", + "uri":"en-us_topic_0055025329.html", "doc_type":"api", "p_code":"22", "code":"24" @@ -219,7 +219,7 @@ "desc":"This API is used to query the virtual interface list.GET /v2.0/dcaas/virtual-interfacesTable 1 lists the request parameter.Table 2 lists the response parameter.For detail", "product_code":"dc", "title":"Querying the Virtual Interface List", - "uri":"en-dc_topic_0055025330.html", + "uri":"en-us_topic_0055025330.html", "doc_type":"api", "p_code":"22", "code":"25" @@ -228,7 +228,7 @@ "desc":"This API is used to delete a virtual interface.DELETE /v2.0/dcaas/virtual-interfaces/{virtual_interface_id}Table 2 lists the request parameter.NoneExample requestResponse", "product_code":"dc", "title":"Deleting a Virtual Interface", - "uri":"en-dc_topic_0055025331.html", + "uri":"en-us_topic_0055025331.html", "doc_type":"api", "p_code":"22", "code":"26" @@ -237,7 +237,7 @@ "desc":"This API is used to query a virtual interface.GET /v2.0/dcaas/virtual-interfaces/{virtual_interface_id}Table 2 lists the request parameter.Table 3 lists the response para", "product_code":"dc", "title":"Querying a Virtual Interface", - "uri":"en-dc_topic_0055025332.html", + "uri":"en-us_topic_0055025332.html", "doc_type":"api", "p_code":"22", "code":"27" @@ -246,7 +246,7 @@ "desc":"This API is used to update a virtual interface.The bandwidth specified for a virtual interface associated with a standard connection can be increased or decreased, but th", "product_code":"dc", "title":"Updating a Virtual Interface", - "uri":"en-dc_topic_0055025333.html", + "uri":"en-us_topic_0055025333.html", "doc_type":"api", "p_code":"22", "code":"28" @@ -255,7 +255,7 @@ "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "product_code":"dc", "title":"Direct Connect Endpoint Group", - "uri":"en-dc_topic_0055025334.html", + "uri":"en-us_topic_0055025334.html", "doc_type":"api", "p_code":"4", "code":"29" @@ -264,7 +264,7 @@ "desc":"This section describes the APIs for managing and operating Direct Connect endpoint groups, including the APIs used to create, query, update, and delete a Direct Connect e", "product_code":"dc", "title":"Overview", - "uri":"en-dc_topic_0055025335.html", + "uri":"en-us_topic_0055025335.html", "doc_type":"api", "p_code":"29", "code":"30" @@ -273,7 +273,7 @@ "desc":"This API is used to create a Direct Connect endpoint group.POST /v2.0/dcaas/dc-endpoint-groupsTable 1 lists the request parameter.Table 3 lists the response parameter.Exa", "product_code":"dc", "title":"Creating an Endpoint Group", - "uri":"en-dc_topic_0055025336.html", + "uri":"en-us_topic_0055025336.html", "doc_type":"api", "p_code":"29", "code":"31" @@ -282,7 +282,7 @@ "desc":"This API is used to query the Direct Connect endpoint group list.GET /v2.0/dcaas/dc-endpoint-groupsTable 1 lists the request parameter.Table 2 lists the response paramete", "product_code":"dc", "title":"Querying the Direct Connect Endpoint Group List", - "uri":"en-dc_topic_0055025337.html", + "uri":"en-us_topic_0055025337.html", "doc_type":"api", "p_code":"29", "code":"32" @@ -291,7 +291,7 @@ "desc":"This API is used to delete a Direct Connect endpoint group.DELETE /v2.0/dcaas/dc-endpoint-groups/{endpoint_group_id}Table 2 lists the request parameter.NoneExample reques", "product_code":"dc", "title":"Deleting an Endpoint Group", - "uri":"en-dc_topic_0055025338.html", + "uri":"en-us_topic_0055025338.html", "doc_type":"api", "p_code":"29", "code":"33" @@ -300,37 +300,235 @@ "desc":"This API is used to query a Direct Connect endpoint group.GET /v2.0/dcaas/dc-endpoint-groups/{endpoint_group_id}Table 2 lists the request parameter.Table 3 lists the resp", "product_code":"dc", "title":"Querying a Direct Connect Endpoint Group", - "uri":"en-dc_topic_0055025339.html", + "uri":"en-us_topic_0055025339.html", "doc_type":"api", "p_code":"29", "code":"34" }, { - "desc":"This API is used to update a Direct Connect endpoint group.PUT /v2.0/dcaas/dc-endpoint-groups/{endpoint_group_id}Table 2 lists the request parameter.Table 4 lists the res", + "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "product_code":"dc", - "title":"Updating a Direct Connect Endpoint Group", - "uri":"en-dc_topic_0055025340.html", + "title":"APIs v3", + "uri":"dc_07_0000.html", "doc_type":"api", - "p_code":"29", + "p_code":"", "code":"35" }, { "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "product_code":"dc", - "title":"Permissions Policies and Supported Actions", - "uri":"dc_08_0000.html", + "title":"Connection", + "uri":"topic_300000000.html", "doc_type":"api", - "p_code":"", + "p_code":"35", "code":"36" }, { - "desc":"This chapter describes fine-grained permissions management for your Direct Connect. If your cloud account does not need individual Identity and Access Management (IAM) us", + "desc":"This API is used to query details about a connection.GET /v3/{project_id}/dcaas/direct-connects/{direct_connect_id}Status code: 200Querying details about a connectionStat", + "product_code":"dc", + "title":"Querying Details About a Connection", + "uri":"ShowDirectConnect.html", + "doc_type":"api", + "p_code":"36", + "code":"37" + }, + { + "desc":"This API is used to update a connection, including updating its name and description.PUT /v3/{project_id}/dcaas/direct-connects/{direct_connect_id}Status code: 200Updatin", + "product_code":"dc", + "title":"Updating a Connection", + "uri":"UpdateDirectConnect.html", + "doc_type":"api", + "p_code":"36", + "code":"38" + }, + { + "desc":"This API is used to delete pay-per-use connections only. To delete yearly/monthly connections, you need to first unsubscribe them.DELETE /v3/{project_id}/dcaas/direct-con", + "product_code":"dc", + "title":"Deleting a Connection", + "uri":"DeleteDirectConnect.html", + "doc_type":"api", + "p_code":"36", + "code":"39" + }, + { + "desc":"This API is used to query all direct connections created by a tenant.GET /v3/{project_id}/dcaas/direct-connectsStatus code: 200Querying the connection listStatus code: 20", + "product_code":"dc", + "title":"Querying the Connection List", + "uri":"ListDirectConnects.html", + "doc_type":"api", + "p_code":"36", + "code":"40" + }, + { + "desc":"This API is used to query hosted connections created by partners.GET /v3/{project_id}/dcaas/hosted-connectsStatus code: 200Querying the list of hosted connections created", + "product_code":"dc", + "title":"Querying the Hosted Connection List", + "uri":"ListHostedDirectConnects.html", + "doc_type":"api", + "p_code":"36", + "code":"41" + }, + { + "desc":"This API is used by partners to create hosted connections for their users. The creator must have the partner qualification and have an operations connection.POST /v3/{pro", + "product_code":"dc", + "title":"Creating a Hosted Connection", + "uri":"CreateHostedDirectConnect.html", + "doc_type":"api", + "p_code":"36", + "code":"42" + }, + { + "desc":"This API is used to query a hosted connection of a partner.GET /v3/{project_id}/dcaas/hosted-connects/{hosted_connect_id}Status code: 200Querying details about a hosted c", + "product_code":"dc", + "title":"Querying Details About a Hosted Connection", + "uri":"ShowHostedDirectConnect.html", + "doc_type":"api", + "p_code":"36", + "code":"43" + }, + { + "desc":"Updating a hosted connection by a partnerPUT /v3/{project_id}/dcaas/hosted-connects/{hosted_connect_id}Status code: 200Updating the name and description of a hosted conne", + "product_code":"dc", + "title":"Updating a Hosted Connection", + "uri":"UpdateHostedDirectConnect.html", + "doc_type":"api", + "p_code":"36", + "code":"44" + }, + { + "desc":"This API is used by partners to delete hosted connections.DELETE /v3/{project_id}/dcaas/hosted-connects/{hosted_connect_id}NoneDeleting a hosted connectionNoneSee Error C", + "product_code":"dc", + "title":"Deleting a Hosted Connection", + "uri":"DeleteHostedDirectConnect.html", + "doc_type":"api", + "p_code":"36", + "code":"45" + }, + { + "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "product_code":"dc", + "title":"Virtual Gateway", + "uri":"topic_300000001.html", + "doc_type":"api", + "p_code":"35", + "code":"46" + }, + { + "desc":"This API is used to query details about a specified virtual gateway.GET /v3/{project_id}/dcaas/virtual-gateways/{virtual_gateway_id}Status code: 200Querying a virtual gat", + "product_code":"dc", + "title":"Querying Details About a Virtual Gateway", + "uri":"ShowVirtualGateway.html", + "doc_type":"api", + "p_code":"46", + "code":"47" + }, + { + "desc":"This API is used to update a virtual gateway.PUT /v3/{project_id}/dcaas/virtual-gateways/{virtual_gateway_id}Status code: 200Updating the name and description of a virtua", + "product_code":"dc", + "title":"Updating a Virtual Gateway", + "uri":"UpdateVirtualGateway.html", + "doc_type":"api", + "p_code":"46", + "code":"48" + }, + { + "desc":"The API is used to delete a specified virtual gateway.DELETE /v3/{project_id}/dcaas/virtual-gateways/{virtual_gateway_id}NoneDeleting a virtual gatewayNoneSee Error Codes", + "product_code":"dc", + "title":"Deleting a Virtual Gateway", + "uri":"DeleteVirtualGateway.html", + "doc_type":"api", + "p_code":"46", + "code":"49" + }, + { + "desc":"This API is used to query virtual gateways.GET /v3/{project_id}/dcaas/virtual-gatewaysStatus code: 200Querying the virtual gateway listStatus code: 200OKThe list of virtu", + "product_code":"dc", + "title":"Querying Virtual Gateways", + "uri":"ListVirtualGateways.html", + "doc_type":"api", + "p_code":"46", + "code":"50" + }, + { + "desc":"This API is used to create a virtual gateway.POST /v3/{project_id}/dcaas/virtual-gatewaysStatus code: 201Creating a virtual gateway that will be used to access a VPC, wit", + "product_code":"dc", + "title":"Creating a Virtual Gateway", + "uri":"CreateVirtualGateway.html", + "doc_type":"api", + "p_code":"46", + "code":"51" + }, + { + "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "product_code":"dc", + "title":"Virtual Interface", + "uri":"topic_300000002.html", + "doc_type":"api", + "p_code":"35", + "code":"52" + }, + { + "desc":"This API is used to querying details about a virtual interface.GET /v3/{project_id}/dcaas/virtual-interfaces/{virtual_interface_id}Status code: 200Querying a virtual inte", + "product_code":"dc", + "title":"Querying Details About a Virtual Interface", + "uri":"ShowVirtualInterface.html", + "doc_type":"api", + "p_code":"52", + "code":"53" + }, + { + "desc":"This API is used to update a virtual interface.PUT /v3/{project_id}/dcaas/virtual-interfaces/{virtual_interface_id}Status code: 200Updating the name and description of a ", + "product_code":"dc", + "title":"Updating a Virtual Interface", + "uri":"UpdateVirtualInterface.html", + "doc_type":"api", + "p_code":"52", + "code":"54" + }, + { + "desc":"This API is used to delete a virtual interface.DELETE /v3/{project_id}/dcaas/virtual-interfaces/{virtual_interface_id}NoneDeleting a virtual interfaceNoneSee Error Codes.", + "product_code":"dc", + "title":"Deleting a Virtual Interface", + "uri":"DeleteVirtualInterface.html", + "doc_type":"api", + "p_code":"52", + "code":"55" + }, + { + "desc":"This API is used to query all virtual interfaces of a tenant.GET /v3/{project_id}/dcaas/virtual-interfacesStatus code: 200Querying the virtual interface listStatus code: ", + "product_code":"dc", + "title":"Querying the Virtual Interface List", + "uri":"ListVirtualInterfaces.html", + "doc_type":"api", + "p_code":"52", + "code":"56" + }, + { + "desc":"This API is used to create a virtual interface.POST /v3/{project_id}/dcaas/virtual-interfacesStatus code: 201Creating a private virtual interface, with the bandwidth set ", + "product_code":"dc", + "title":"Creating a Virtual Interface", + "uri":"CreateVirtualInterface.html", + "doc_type":"api", + "p_code":"52", + "code":"57" + }, + { + "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "product_code":"dc", + "title":"Permissions Policies and Supported Actions (APIs v2.0)", + "uri":"dc_08_0000.html", + "doc_type":"api", + "p_code":"", + "code":"58" + }, + { + "desc":"This chapter describes fine-grained permissions management for Direct Connect. If your cloud account does not need individual Identity and Access Management (IAM) users, ", "product_code":"dc", "title":"Introduction", "uri":"dc_08_0001.html", "doc_type":"api", - "p_code":"36", - "code":"37" + "p_code":"58", + "code":"59" }, { "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", @@ -338,8 +536,8 @@ "title":"Connections", "uri":"dc_08_0002.html", "doc_type":"api", - "p_code":"36", - "code":"38" + "p_code":"58", + "code":"60" }, { "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", @@ -347,8 +545,8 @@ "title":"Virtual Gateways", "uri":"dc_08_0003.html", "doc_type":"api", - "p_code":"36", - "code":"39" + "p_code":"58", + "code":"61" }, { "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", @@ -356,43 +554,97 @@ "title":"Virtual Interfaces", "uri":"dc_08_0004.html", "doc_type":"api", - "p_code":"36", - "code":"40" + "p_code":"58", + "code":"62" + }, + { + "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "product_code":"dc", + "title":"Permissions Policies and Supported Actions (APIs v3)", + "uri":"dc_08_3000.html", + "doc_type":"api", + "p_code":"", + "code":"63" + }, + { + "desc":"This topic describes fine-grained permissions management for Direct Connect. If your cloud account does not need individual Identity and Access Management (IAM) users, yo", + "product_code":"dc", + "title":"Introduction", + "uri":"dc_08_3001.html", + "doc_type":"api", + "p_code":"63", + "code":"64" + }, + { + "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "product_code":"dc", + "title":"Connections", + "uri":"dc_08_3002.html", + "doc_type":"api", + "p_code":"63", + "code":"65" + }, + { + "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "product_code":"dc", + "title":"Virtual Gateways", + "uri":"dc_08_3003.html", + "doc_type":"api", + "p_code":"63", + "code":"66" + }, + { + "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "product_code":"dc", + "title":"Virtual Interfaces", + "uri":"dc_08_3004.html", + "doc_type":"api", + "p_code":"63", + "code":"67" }, { "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "product_code":"dc", "title":"Public Parameters", - "uri":"en-dc_topic_0055025341.html", + "uri":"en-us_topic_0055025341.html", "doc_type":"api", "p_code":"", - "code":"41" + "code":"68" }, { "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "product_code":"dc", "title":"Common Status Codes", - "uri":"en-dc_topic_0055025342.html", + "uri":"en-us_topic_0055025342.html", "doc_type":"api", - "p_code":"41", - "code":"42" + "p_code":"68", + "code":"69" }, { "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "product_code":"dc", - "title":"Error Codes", - "uri":"en-dc_topic_0055025343.html", + "title":"Error Codes (APIs v2.0)", + "uri":"en-us_topic_0055025343.html", "doc_type":"api", - "p_code":"41", - "code":"43" + "p_code":"68", + "code":"70" + }, + { + "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "product_code":"dc", + "title":"Error Codes (APIs v3)", + "uri":"ErrorCode.html", + "doc_type":"api", + "p_code":"68", + "code":"71" }, { "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "product_code":"dc", "title":"Change History", - "uri":"en-dc_topic_0055025347.html", + "uri":"en-us_topic_0055025347.html", "doc_type":"api", "p_code":"", - "code":"44" + "code":"72" } ] \ No newline at end of file diff --git a/docs/dc/api-ref/CreateHostedDirectConnect.html b/docs/dc/api-ref/CreateHostedDirectConnect.html new file mode 100644 index 00000000..513f0fe5 --- /dev/null +++ b/docs/dc/api-ref/CreateHostedDirectConnect.html @@ -0,0 +1,417 @@ + + +
This API is used by partners to create hosted connections for their users. The creator must have the partner qualification and have an operations connection.
+POST /v3/{project_id}/dcaas/hosted-connects
+ +Parameter + |
+Mandatory + |
+Type + |
+Description + |
+
---|---|---|---|
project_id + |
+Yes + |
+String + |
+Specifies the project ID. + |
+
Parameter + |
+Mandatory + |
+Type + |
+Description + |
+
---|---|---|---|
X-Auth-Token + |
+Yes + |
+String + |
+Specifies the user token. To obtain the token, see section "Obtaining the User Token" in the Identity and Access Management API Reference. The token is the value of X-Subject-Token in the response header. +Minimum: 0 +Maximum: 10240 + |
+
Parameter + |
+Mandatory + |
+Type + |
+Description + |
+
---|---|---|---|
hosted_connect + |
+Yes + |
+CreateHostedDirectConnect object + |
+Specifies the parameters for creating a hosted connection. + |
+
Parameter + |
+Mandatory + |
+Type + |
+Description + |
+
---|---|---|---|
name + |
+No + |
+String + |
+Specifies the hosted connection name. +Minimum: 0 +Maximum: 64 + |
+
description + |
+No + |
+String + |
+Provides supplementary information about the hosted connection. +Minimum: 0 +Maximum: 128 + |
+
bandwidth + |
+Yes + |
+Integer + |
+Specifies the bandwidth size of the hosted connection in Mbit/s. +Minimum: 2 +Maximum: 400000 + |
+
hosting_id + |
+Yes + |
+String + |
+Specifies the ID of the operations connection on which the hosted connection is created. + |
+
vlan + |
+Yes + |
+Integer + |
+Specifies the VLAN allocated to the hosted connection. +Minimum: 0 +Maximum: 3999 + |
+
resource_tenant_id + |
+Yes + |
+String + |
+Specifies the project ID of the specified tenant for whom a hosted connection is to be created. +Minimum: 0 +Maximum: 32 + |
+
peer_location + |
+No + |
+String + |
+Specifies the location of the on-premises facility at the other end of the connection, specific to the street or data center name. +Minimum: 0 +Maximum: 255 + |
+
Status code: 201
+ +Parameter + |
+Type + |
+Description + |
+
---|---|---|
request_id + |
+String + |
+Specifies the request ID. + |
+
hosted_connect + |
+HostedDirectConnect object + |
+Specifies the parameters for creating a hosted connection. + |
+
Parameter + |
+Type + |
+Description + |
+
---|---|---|
id + |
+String + |
+Specifies the hosted connection ID. +Minimum: 36 +Maximum: 36 + |
+
tenant_id + |
+String + |
+Specifies the ID of the project that the instance belongs to. + |
+
name + |
+String + |
+Specifies the connection name. +Minimum: 0 +Maximum: 64 + |
+
description + |
+String + |
+Provides supplementary information about the connection. +Minimum: 0 +Maximum: 128 + |
+
bandwidth + |
+Integer + |
+Specifies the connection bandwidth in Mbit/s. +Minimum: 2 +Maximum: 400000 + |
+
location + |
+String + |
+Specifies information about the Direct Connect location. +Minimum: 0 +Maximum: 255 + |
+
peer_location + |
+String + |
+Specifies the location of the on-premises facility at the other end of the connection, specific to the street or data center name. +Minimum: 0 +Maximum: 255 + |
+
hosting_id + |
+String + |
+Specifies the ID of the operations connection on which the hosted connection is created. + |
+
provider + |
+String + |
+Specifies the provider of the leased line. + |
+
admin_state_up + |
+Boolean + |
+Specifies the administrative status, which can be true or false. +Default: true + |
+
vlan + |
+Integer + |
+Specifies the VLAN allocated to the hosted connection. +Minimum: 0 +Maximum: 3999 + |
+
status + |
+String + |
+Specifies the operating status of the hosted connection. The options are as follows: +
Enumeration values: +
|
+
apply_time + |
+String + |
+Specifies when the connection was requested. The UTC time format yyyy-MM-ddTHH:mm:ss.SSSZ is used. + |
+
create_time + |
+String + |
+Specifies when the connection was created. The UTC time format yyyy-MM-ddTHH:mm:ss.SSSZ is used. + |
+
provider_status + |
+String + |
+Specifies the status of the carrier's leased line. The status can be ACTIVE or DOWN. +Enumeration values: +
|
+
port_type + |
+String + |
+Specifies the type of the port used by the connection. The value can be 1G, 10G, 40G, or 100G. +Enumeration values: +
|
+
type + |
+String + |
+Specifies the type of a connection. The value can be standard (a standard connection), hosting (an operations connection) or hosted (a hosted connection). +Default: standard +Enumeration values: +
|
+
Creating a hosting connection with the bandwidth set to 10 Mbit/s and VLAN to 441
+POST https://{dc_endpoint}/v3/6fbe9263116a4b68818cf1edce16bc4f/dcaas/hosted-connects + +{ + "hosted_connect" : { + "name" : "client-dc-faf1", + "description" : "Hosted Connect", + "resource_tenant_id" : "0605768a3300d5762f82c01180692873", + "hosting_id" : "2cfb53be-b05f-40d5-a2f8-3a59ac383836", + "vlan" : 441, + "bandwidth" : 10 + } +}+
Status code: 201
+Created
+{ + "hosted_connect" : { + "id" : "0278b472-ffa5-4eb3-8c0d-979d479f8ef6", + "name" : "client-dc-faf1", + "description" : "Hosted Connect", + "tenant_id" : "0605768a3300d5762f82c01180692873", + "hosting_id" : "2cfb53be-b05f-40d5-a2f8-3a59ac383836", + "vlan" : 441, + "bandwidth" : 10, + "location" : "Biere", + "peer_location" : "", + "provider" : "OTC", + "type" : "hosted", + "port_type" : "10G", + "provider_status" : "ACTIVE", + "status" : "ACTIVE", + "apply_time" : "2022-07-13T08:25:38.000Z", + "admin_state_up" : true, + "create_time" : "2022-07-13T08:25:38.000Z" + }, + "request_id" : "a59a3776faa1d055f8124dc7b0977a90" +}+
Status Code + |
+Description + |
+
---|---|
201 + |
+Created + |
+
See Error Codes.
+This API is used to create a virtual gateway.
+POST /v3/{project_id}/dcaas/virtual-gateways
+ +Parameter + |
+Mandatory + |
+Type + |
+Description + |
+
---|---|---|---|
project_id + |
+Yes + |
+String + |
+Specifies the project ID. + |
+
Parameter + |
+Mandatory + |
+Type + |
+Description + |
+
---|---|---|---|
X-Auth-Token + |
+Yes + |
+String + |
+Specifies the user token. To obtain the token, see section "Obtaining the User Token" in the Identity and Access Management API Reference. The token is the value of X-Subject-Token in the response header. +Minimum: 0 +Maximum: 10240 + |
+
Parameter + |
+Mandatory + |
+Type + |
+Description + |
+
---|---|---|---|
virtual_gateway + |
+No + |
+CreateVirtualGateway object + |
+Specifies parameters for creating a virtual gateway. + |
+
Parameter + |
+Mandatory + |
+Type + |
+Description + |
+
---|---|---|---|
vpc_id + |
+Yes + |
+String + |
+Specifies the ID of the VPC that the virtual gateway is associated with. This parameter is mandatory when a virtual gateway is used by a connection for accessing a VPC. + |
+
enterprise_router_id + |
+No + |
+String + |
+Specifies the ID of the enterprise router that the virtual gateway is attached to. This parameter is mandatory when a virtual gateway is attached to an enterprise router. + |
+
name + |
+No + |
+String + |
+Specifies the virtual gateway name. +Minimum: 0 +Maximum: 64 + |
+
description + |
+No + |
+String + |
+Provides supplementary information about the virtual gateway. +Minimum: 0 +Maximum: 128 + |
+
local_ep_group + |
+Yes + |
+Array of strings + |
+Lists the IPv4 subnets that can be accessed over the virtual gateway. Generally, the list contains the subnet CIDR blocks of the associated VPC. This parameter is mandatory when a virtual gateway is used by a connection for accessing a VPC. + |
+
local_ep_group_ipv6 + |
+No + |
+Array of strings + |
+Specifies the IPv6 subnets connected by the virtual gateway, which is usually the CIDR blocks of a VPC. This is a reserved field. + |
+
bgp_asn + |
+No + |
+Integer + |
+Specifies the local BGP autonomous system number (ASN) of the virtual gateway. +Minimum: 1 +Maximum: 4294967295 + |
+
enterprise_project_id + |
+No + |
+String + |
+Specifies the ID of the enterprise project that the virtual gateway belongs to. +Minimum: 36 +Maximum: 36 + |
+
Status code: 201
+ +Parameter + |
+Type + |
+Description + |
+
---|---|---|
virtual_gateway + |
+VirtualGateway object + |
+Specifies parameters for creating a virtual gateway. + |
+
request_id + |
+String + |
+Specifies the request ID. + |
+
Parameter + |
+Type + |
+Description + |
+
---|---|---|
id + |
+String + |
+Specifies the virtual gateway ID. + |
+
vpc_id + |
+String + |
+Specifies the ID of the VPC connected by the virtual gateway. + |
+
enterprise_router_id + |
+String + |
+Specifies the ID of the enterprise router that the virtual gateway is attached to. + |
+
tenant_id + |
+String + |
+Specifies the ID of the project that the instance belongs to. +Minimum: 32 +Maximum: 32 + |
+
name + |
+String + |
+Specifies the virtual gateway name. +Minimum: 0 +Maximum: 64 + |
+
description + |
+String + |
+Provides supplementary information about the virtual gateway. +Minimum: 0 +Maximum: 128 + |
+
type + |
+String + |
+Specifies the virtual gateway type. The value can only be default. +Default: default + |
+
local_ep_group + |
+Array of strings + |
+Specifies the IPv4 subnets connected by the virtual gateway, which is usually the CIDR blocks of a VPC. + |
+
local_ep_group_ipv6 + |
+Array of strings + |
+Specifies the IPv6 subnets connected by the virtual gateway, which is usually the CIDR blocks of a VPC. This is a reserved field. + |
+
admin_state_up + |
+Boolean + |
+Specifies the administrative status, which can be true or false. +Default: true + |
+
status + |
+String + |
+Specifies the virtual gateway status, which can be ACTIVE, DOWN, BUILD, ERROR, PENDING_CREATE, PENDING_UPDATE, or PENDING_DELETE. + |
+
bgp_asn + |
+Integer + |
+Specifies the local BGP ASN of the virtual gateway. +Minimum: 1 +Maximum: 4294967295 + |
+
enterprise_project_id + |
+String + |
+Specifies the ID of the enterprise project that the virtual gateway belongs to. +Minimum: 36 +Maximum: 36 + |
+
device_id + |
+String + |
+Specifies the ID of the device that the virtual interface belongs to. + |
+
redundant_device_id + |
+String + |
+Specifies the ID of the redundant device. + |
+
public_border_group + |
+String + |
+Specifies the public border group of the AZ, indicating whether the site is a HomeZones site. + |
+
POST https://{dc_endpoint}/v3/0605768a3300d5762f82c01180692873/dcaas/virtual-gateways + +{ + "virtual_gateway" : { + "name" : "vgw-c7b22", + "description" : "", + "vpc_id" : "6592c28e-95d7-4b0a-9f61-004fdf03420c", + "bgp_asn" : 64512, + "local_ep_group" : [ "192.168.1.0/24" ] + } +}+
POST https://{dc_endpoint}/v3/92ea72fe26294aa180a2712c28e43c21/dcaas/virtual-gateways + +{ + "virtual_gateway" : { + "name" : "vgw-er", + "description" : "", + "type" : "default", + "enterprise_router_id" : "61fa53c9-4446-4ebd-89b9-11a52b653a9c", + "bgp_asn" : 64512 + } +}+
Status code: 201
+Created
+{ + "virtual_gateway" : { + "id" : "20082c1b-3c99-48d8-8e8c-116af5d7e9f0", + "name" : "vgw-c7b22", + "description" : "", + "tenant_id" : "0605768a3300d5762f82c01180692873", + "vpc_id" : "6592c28e-95d7-4b0a-9f61-004fdf03420c", + "device_id" : "26.151.63.100", + "redundant_device_id" : "26.152.128.20", + "type" : "default", + "status" : "ACTIVE", + "admin_state_up" : true, + "bgp_asn" : 64512, + "local_ep_group" : [ "192.168.1.0/24" ], + "enterprise_project_id" : "0", + "public_border_group" : "center" + } +}+
{ + "virtual_gateway" : { + "name" : "vgw-er", + "id" : "7a91797a-cbda-42ff-9f42-73f26c993dd9", + "description" : "", + "tenant_id" : "92ea72fe26294aa180a2712c28e43c21", + "vpc_id" : null, + "enterprise_router_id" : "61fa53c9-4446-4ebd-89b9-11a52b653a9c", + "device_id" : "26.151.63.100", + "redundant_device_id" : "26.152.128.20", + "type" : "default", + "status" : "ACTIVE", + "admin_state_up" : true, + "bgp_asn" : 64512, + "local_ep_group" : null, + "local_ep_group_ipv6" : null, + "public_border_group" : null + } +}+
Status Code + |
+Description + |
+
---|---|
201 + |
+Created + |
+
See Error Codes.
+This API is used to create a virtual interface.
+POST /v3/{project_id}/dcaas/virtual-interfaces
+ +Parameter + |
+Mandatory + |
+Type + |
+Description + |
+
---|---|---|---|
project_id + |
+Yes + |
+String + |
+Specifies the project ID. + |
+
Parameter + |
+Mandatory + |
+Type + |
+Description + |
+
---|---|---|---|
X-Auth-Token + |
+Yes + |
+String + |
+Specifies the user token. To obtain the token, see section "Obtaining the User Token" in the Identity and Access Management API Reference. The token is the value of X-Subject-Token in the response header. +Minimum: 0 +Maximum: 10240 + |
+
Parameter + |
+Mandatory + |
+Type + |
+Description + |
+
---|---|---|---|
virtual_interface + |
+Yes + |
+CreateVirtualInterface object + |
+Specifies parameters for creating a virtual interface. + |
+
Parameter + |
+Mandatory + |
+Type + |
+Description + |
+
---|---|---|---|
name + |
+No + |
+String + |
+Specifies the virtual interface name. +Minimum: 0 +Maximum: 64 + |
+
description + |
+No + |
+String + |
+Provides supplementary information about the virtual interface. +Minimum: 0 +Maximum: 128 + |
+
direct_connect_id + |
+No + |
+String + |
+Specifies the ID of the connection associated with the virtual interface. When creating a virtual interface, you need to specify direct_connect_id or lag_id. This parameter is mandatory when LAG is not supported at the site. + |
+
type + |
+Yes + |
+String + |
+Specifies the type of the virtual interface. The value is private. +Enumeration values: +
|
+
service_type + |
+No + |
+String + |
+Specifies the gateway type, which can be VGW, GDGW, or LGW. +Enumeration values: +
|
+
vlan + |
+Yes + |
+Integer + |
+Specifies the customer VLAN to be connected. If you select a hosted connection, the VLAN must be the same as that of the hosted connection. +Minimum: 0 +Maximum: 3999 + |
+
bandwidth + |
+Yes + |
+Integer + |
+Specifies the virtual interface bandwidth. +Minimum: 2 +Maximum: 2147483647 + |
+
local_gateway_v4_ip + |
+No + |
+String + |
+Specifies the IPv4 interface address of the gateway used on the cloud. This parameter is mandatory if address_family is set to an IPv4 address. + |
+
remote_gateway_v4_ip + |
+No + |
+String + |
+Specifies the IPv4 interface address of the gateway on the on-premises network. This parameter is mandatory if address_family is set to an IPv4 address. + |
+
address_family + |
+No + |
+String + |
+Specifies the address family type of the virtual interface, which can be IPv4 or IPv6. +Default: ipv4 + |
+
local_gateway_v6_ip + |
+No + |
+String + |
+Specifies the IPv6 interface address of the gateway used on the cloud. This parameter is mandatory if address_family is set to an IPv6 address. + |
+
remote_gateway_v6_ip + |
+No + |
+String + |
+Specifies the IPv6 interface address of the gateway on the on-premises network. This parameter is mandatory if address_family is set to an IPv6 address. + |
+
vgw_id + |
+Yes + |
+String + |
+Specifies the ID of the virtual gateway connected by the virtual interface. + |
+
route_mode + |
+Yes + |
+String + |
+Specifies the routing mode, which can be static or bgp. +Default: static +Enumeration values: +
|
+
bgp_asn + |
+No + |
+Integer + |
+Specifies the ASN of the BGP peer on the customer side. +Minimum: 1 +Maximum: 4294967295 + |
+
bgp_md5 + |
+No + |
+String + |
+Specifies the MD5 password of the BGP peer. + |
+
remote_ep_group + |
+Yes + |
+Array of strings + |
+Specifies the remote subnet list, which records the CIDR blocks used in the on-premises data center. + |
+
service_ep_group + |
+No + |
+Array of strings + |
+Specifies the subnets that access Internet services through a direct connection. + |
+
enable_bfd + |
+No + |
+Boolean + |
+Specifies whether to enable Bidirectional Forwarding Detection (BFD). The value can be true or false. (This is a reserved parameter and is not supported currently.) +Default: false + |
+
enable_nqa + |
+No + |
+Boolean + |
+Specifies whether to enable NQA. The value can be true or false. (This is a reserved parameter and is not supported currently.) +Default: false + |
+
lag_id + |
+No + |
+String + |
+Specifies the ID of the LAG associated with the virtual interface. +Minimum: 36 +Maximum: 36 + |
+
resource_tenant_id + |
+No + |
+String + |
+Specifies the project ID of another tenant, which is used to create virtual interfaces across tenants. + |
+
enterprise_project_id + |
+No + |
+String + |
+Specifies the ID of the enterprise project that the resource belongs to. +Minimum: 36 +Maximum: 36 + |
+
Status code: 201
+ +Parameter + |
+Type + |
+Description + |
+
---|---|---|
request_id + |
+String + |
+Specifies the request ID. + |
+
virtual_interface + |
+VirtualInterface object + |
+Specifies parameters for creating a virtual interface. + |
+
Parameter + |
+Type + |
+Description + |
+
---|---|---|
id + |
+String + |
+Specifies the virtual interface ID. +Maximum: 36 + |
+
name + |
+String + |
+Specifies the virtual interface name. +Maximum: 64 + |
+
admin_state_up + |
+Boolean + |
+Specifies the administrative status, which can be true or false. + |
+
bandwidth + |
+Integer + |
+Specifies the virtual interface bandwidth. +Minimum: 2 +Maximum: 2147483647 + |
+
create_time + |
+String + |
+Specifies the time when the virtual interface was created. The UTC time format yyyy-MM-ddTHH:mm:ss.SSSZ is used. +Maximum: 255 + |
+
description + |
+String + |
+Provides supplementary information about the virtual interface. +Maximum: 128 + |
+
direct_connect_id + |
+String + |
+Specifies the connection ID. +Maximum: 36 + |
+
service_type + |
+String + |
+Specifies the gateway type, which can be VGW, GDGW, or LGW. +Enumeration values: +
|
+
status + |
+String + |
+Specifies the operating status, which can be ACTIVE, DOWN, BUILD, ERROR, PENDING_CREATE, PENDING_UPDATE, PENDING_DELETE, DELETED, AUTHORIZATION, or REJECTED. + |
+
tenant_id + |
+String + |
+Specifies the project ID. +Minimum: 32 +Maximum: 32 + |
+
type + |
+String + |
+Specifies the type of the virtual interface. The value is private. +Default: private +Maximum: 255 +Enumeration values: +
|
+
vgw_id + |
+String + |
+Specifies the virtual gateway ID. +Minimum: 36 +Maximum: 36 + |
+
vlan + |
+Integer + |
+Specifies the VLAN for connecting to the user gateway. The value ranges from 0 to 3999. +Minimum: 0 +Maximum: 3999 + |
+
route_limit + |
+Integer + |
+Specifies the remote subnet route configurations of the virtual interface. +Minimum: 1 +Maximum: 200 +Default: 50 + |
+
enable_nqa + |
+Boolean + |
+Specifies whether to enable NQA. The value can be true or false. + |
+
enable_bfd + |
+Boolean + |
+Specifies whether to enable Bidirectional Forwarding Detection (BFD). The value can be true or false. + |
+
lag_id + |
+String + |
+Specifies the ID of the LAG associated with the virtual interface. +Minimum: 36 +Maximum: 36 + |
+
device_id + |
+String + |
+Specifies the ID of the device that the virtual interface belongs to. + |
+
enterprise_project_id + |
+String + |
+Specifies the ID of the enterprise project that the virtual interface belongs to. +Minimum: 36 +Maximum: 36 + |
+
local_gateway_v4_ip + |
+String + |
+Specifies the IPv4 interface address of the gateway used on the cloud. This parameter has been migrated to the vifpeer parameter list and will be discarded later. + |
+
remote_gateway_v4_ip + |
+String + |
+Specifies the IPv4 interface address of the gateway used on premises. This parameter has been migrated to the vifpeer parameter list and will be discarded later. + |
+
ies_id + |
+String + |
+Specifies the ID of an IES edge site. (This parameter is not supported currently.) + |
+
reason + |
+String + |
+Displays error information if the status of a line is Error. + |
+
rate_limit + |
+Boolean + |
+Specifies whether rate limiting is enabled on a virtual interface. + |
+
address_family + |
+String + |
+Specifies the address family of the virtual interface, which can be IPv4 or IPv6. This parameter has been migrated to the vifpeer parameter list and will be discarded later. + |
+
local_gateway_v6_ip + |
+String + |
+Specifies the IPv6 interface address of the gateway used on the cloud. This parameter has been migrated to the vifpeer parameter list and will be discarded later. + |
+
remote_gateway_v6_ip + |
+String + |
+Specifies the IPv6 interface address of the gateway used on premises. This parameter has been migrated to the vifpeer parameter list and will be discarded later. + |
+
lgw_id + |
+String + |
+Specifies the ID of the local gateway, which is used in IES scenarios. (This parameter is not supported currently.) + |
+
gateway_id + |
+String + |
+Specifies the ID of the gateway associated with the virtual interface. + |
+
remote_ep_group + |
+Array of strings + |
+Specifies the remote subnet list, which records the CIDR blocks used in the on-premises data center. This parameter has been migrated to the vifpeer parameter list and will be discarded later. + |
+
service_ep_group + |
+Array of strings + |
+Specifies the list of public network addresses that can be accessed by the on-premises data center. This field is required in the APIs of public network connections. This parameter has been migrated to the vifpeer parameter list and will be discarded later. + |
+
bgp_route_limit + |
+Integer + |
+Specifies the BGP route configuration. + |
+
priority + |
+String + |
+Specifies the priority of a virtual interface. The value can be normal or low. If the priorities are the same, the virtual interfaces work in load balancing mode. If the priorities are different, the virtual interfaces work in active/standby pairs. Outbound traffic is preferentially forwarded to the normal virtual interface with a higher priority. This option is only supported by virtual interfaces that use BGP routing. +Default: normal +Enumeration values: +
|
+
vif_peers + |
+Array of VifPeer objects + |
+Provides information about virtual interface peers. (This is a reserved parameter and is not supported currently.) + |
+
extend_attribute + |
+VifExtendAttribute object + |
+Provides extended parameter information. (This is a reserved parameter and is not supported currently.) + |
+
Parameter + |
+Type + |
+Description + |
+
---|---|---|
id + |
+String + |
+Specifies the resource ID. +Minimum: 36 +Maximum: 36 + |
+
tenant_id + |
+String + |
+Specifies the ID of the project that the virtual interface peer belongs to. +Minimum: 36 +Maximum: 36 + |
+
name + |
+String + |
+Specifies the name of the virtual interface peer. +Minimum: 0 +Maximum: 64 + |
+
description + |
+String + |
+Provides supplementary information about the virtual interface peer. +Minimum: 0 +Maximum: 128 + |
+
address_family + |
+String + |
+Specifies the address family type of the virtual interface, which can be IPv4 or IPv6. + |
+
local_gateway_ip + |
+String + |
+Specifies the address of the virtual interface peer used on the cloud. + |
+
remote_gateway_ip + |
+String + |
+Specifies the address of the virtual interface peer used in the on-premises data center. + |
+
route_mode + |
+String + |
+Specifies the routing mode, which can be static or bgp. +Maximum: 255 +Enumeration values: +
|
+
bgp_asn + |
+Integer + |
+Specifies the ASN of the BGP peer. +Minimum: 1 +Maximum: 4294967295 + |
+
bgp_md5 + |
+String + |
+Specifies the MD5 password of the BGP peer. + |
+
remote_ep_group + |
+Array of strings + |
+Specifies the remote subnet list, which records the CIDR blocks used in the on-premises data center. + |
+
service_ep_group + |
+Array of strings + |
+Specifies the list of public network addresses that can be accessed by the on-premises data center. This field is required in the APIs of public network connections. + |
+
device_id + |
+String + |
+Specifies the ID of the device that the virtual interface peer belongs to. + |
+
bgp_route_limit + |
+Integer + |
+Specifies the BGP route configuration. + |
+
bgp_status + |
+String + |
+Specifies the BGP protocol status of the virtual interface peer. If the virtual interface peer uses static routing, the status is null. +Maximum: 10 + |
+
status + |
+String + |
+Specifies the status of the virtual interface peer. + |
+
vif_id + |
+String + |
+Specifies the ID of the virtual interface corresponding to the virtual interface peer. +Minimum: 36 +Maximum: 36 + |
+
receive_route_num + |
+Integer + |
+Specifies the number of received BGP routes if BGP routing is used. If static routing is used, this parameter is meaningless and the value is -1. Note: If this parameter cannot be obtained, contact customer service to migrate your ports. + |
+
enable_nqa + |
+Boolean + |
+Specifies whether to enable NQA. The value can be true or false. + |
+
enable_bfd + |
+Boolean + |
+Specifies whether to enable BFD. The value can be true or false. + |
+
Parameter + |
+Type + |
+Description + |
+
---|---|---|
ha_type + |
+String + |
+Specifies the availability detection type of the virtual interface. +Enumeration values: +
|
+
ha_mode + |
+String + |
+Specifies the availability detection mode. +Enumeration values: +
|
+
detect_multiplier + |
+Integer + |
+Specifies the number of detection retries. +Default: 5 + |
+
min_rx_interval + |
+Integer + |
+Specifies the interval for receiving detection packets. +Default: 1000 + |
+
min_tx_interval + |
+Integer + |
+Specifies the interval for sending detection packets. +Default: 1000 + |
+
remote_disclaim + |
+Integer + |
+Specifies the remote identifier of the static BFD session. + |
+
local_disclaim + |
+Integer + |
+Specifies the local identifier of the static BFD session. + |
+
Creating a private virtual interface, with the bandwidth set to 2 Mbit/s, VLAN to 332, local gateway to 1.1.1.1/30, and remote gateway to 1.1.1.2/30, and routing mode to static routing
+POST https://{dc_endpoint}/v3/0605768a3300d5762f82c01180692873/dcaas/virtual-interfaces + +{ + "virtual_interface" : { + "name" : "vif-0819", + "description" : "mytest", + "direct_connect_id" : "4673e339-8412-4ee1-b73e-2ba9cdfa54c1", + "vgw_id" : "8a47064a-f34c-4f94-b7fe-cac456c9b37b", + "vlan" : 332, + "bandwidth" : 2, + "local_gateway_v4_ip" : "1.1.1.1/30", + "remote_gateway_v4_ip" : "1.1.1.2/30", + "type" : "private", + "route_mode" : "static", + "remote_ep_group" : [ "1.1.2.0/30" ] + } +}+
Status code: 201
+Created
+{ + "virtual_interface" : { + "id" : "0d0fdf63-f2c4-491c-8866-d504796189be", + "name" : "vif-0819", + "description" : "mytest", + "tenant_id" : "0605768a3300d5762f82c01180692873", + "direct_connect_id" : "4673e339-8412-4ee1-b73e-2ba9cdfa54c1", + "vgw_id" : "8a47064a-f34c-4f94-b7fe-cac456c9b37b", + "type" : "private", + "service_type" : "VGW", + "vlan" : 332, + "bandwidth" : 2, + "device_id" : "18.9.215.131", + "status" : "ACTIVE", + "create_time" : "2022-08-19T11:28:06.000Z", + "admin_state_up" : true, + "enable_bfd" : false, + "route_limit" : 50, + "enable_nqa" : false, + "local_gateway_v4_ip" : "1.1.1.1/30", + "remote_gateway_v4_ip" : "1.1.1.2/30", + "ies_id" : null, + "reason" : null, + "rate_limit" : false, + "local_gateway_v6_ip" : null, + "remote_gateway_v6_ip" : null, + "lgw_id" : null, + "lag_id" : null, + "priority" : "normal", + "vif_peers" : [ { + "id" : "c768eb52-12a8-4859-9b43-81194643040c", + "tenant_id" : "0605768a3300d5762f82c01180692873", + "name" : "vif-0819", + "description" : "", + "address_family" : "ipv4", + "local_gateway_ip" : "1.1.1.1/30", + "remote_gateway_ip" : "1.1.1.2/30", + "route_mode" : "static", + "bgp_asn" : null, + "bgp_md5" : null, + "device_id" : "18.9.215.131", + "bgp_route_limit" : 100, + "bgp_status" : null, + "status" : "ACTIVE", + "vif_id" : "0d0fdf63-f2c4-491c-8866-d504796189be", + "receive_route_num" : -1, + "remote_ep_group" : [ "1.1.2.0/30" ], + "enable_bfd" : false, + "enable_nqa" : false, + "service_ep_group" : null + } ], + "enterprise_project_id" : "0" + }, + "request_id" : "5633df7af874576d819a481c76673236" +}+
Status Code + |
+Description + |
+
---|---|
201 + |
+Created + |
+
See Error Codes.
+This API is used to delete pay-per-use connections only. To delete yearly/monthly connections, you need to first unsubscribe them.
+DELETE /v3/{project_id}/dcaas/direct-connects/{direct_connect_id}
+ +Parameter + |
+Mandatory + |
+Type + |
+Description + |
+
---|---|---|---|
direct_connect_id + |
+Yes + |
+String + |
+Specifies the connection ID. +Minimum: 36 +Maximum: 36 + |
+
project_id + |
+Yes + |
+String + |
+Specifies the project ID. + |
+
Parameter + |
+Mandatory + |
+Type + |
+Description + |
+
---|---|---|---|
X-Auth-Token + |
+Yes + |
+String + |
+Specifies the user token. To obtain the token, see section "Obtaining the User Token" in the Identity and Access Management API Reference. The token is the value of X-Subject-Token in the response header. +Minimum: 0 +Maximum: 10240 + |
+
None
+Deleting a connection
+DELETE https://{dc_endpoint}/v3/6fbe9263116a4b68818cf1edce16bc4f/dcaas/direct-connects/6ecd9cf3-ca64-46c7-863f-f2eb1b9e838a+
None
+Status Code + |
+Description + |
+
---|---|
204 + |
+No Content + |
+
See Error Codes.
+This API is used by partners to delete hosted connections.
+DELETE /v3/{project_id}/dcaas/hosted-connects/{hosted_connect_id}
+ +Parameter + |
+Mandatory + |
+Type + |
+Description + |
+
---|---|---|---|
project_id + |
+Yes + |
+String + |
+Specifies the project ID. + |
+
hosted_connect_id + |
+Yes + |
+String + |
+Specifies the hosted connection ID. +Minimum: 36 +Maximum: 36 + |
+
Parameter + |
+Mandatory + |
+Type + |
+Description + |
+
---|---|---|---|
X-Auth-Token + |
+Yes + |
+String + |
+Specifies the user token. To obtain the token, see section "Obtaining the User Token" in the Identity and Access Management API Reference. The token is the value of X-Subject-Token in the response header. +Minimum: 0 +Maximum: 10240 + |
+
None
+Deleting a hosted connection
+DELETE https://{dc_endpoint}/v3/08d5a9564a704afda6039ae2babbef3c/dcaas/hosted-connects/94c2b814-99dc-939a-e811-ae84c61ea3ff+
None
+Status Code + |
+Description + |
+
---|---|
204 + |
+No Content + |
+
See Error Codes.
+The API is used to delete a specified virtual gateway.
+DELETE /v3/{project_id}/dcaas/virtual-gateways/{virtual_gateway_id}
+ +Parameter + |
+Mandatory + |
+Type + |
+Description + |
+
---|---|---|---|
project_id + |
+Yes + |
+String + |
+Specifies the project ID. + |
+
virtual_gateway_id + |
+Yes + |
+String + |
+Specifies the virtual gateway ID. + |
+
Parameter + |
+Mandatory + |
+Type + |
+Description + |
+
---|---|---|---|
X-Auth-Token + |
+Yes + |
+String + |
+Specifies the user token. To obtain the token, see section "Obtaining the User Token" in the Identity and Access Management API Reference. The token is the value of X-Subject-Token in the response header. +Minimum: 0 +Maximum: 10240 + |
+
None
+Deleting a virtual gateway
+DELETE https://{dc_endpoint}/v3/08d5a9564a704afda6039ae2babbef3c/dcaas/virtual-gateways/20082c1b-3c99-48d8-8e8c-116af5d7e9f0+
None
+Status Code + |
+Description + |
+
---|---|
204 + |
+No Content + |
+
See Error Codes.
+This API is used to delete a virtual interface.
+DELETE /v3/{project_id}/dcaas/virtual-interfaces/{virtual_interface_id}
+ +Parameter + |
+Mandatory + |
+Type + |
+Description + |
+
---|---|---|---|
project_id + |
+Yes + |
+String + |
+Specifies the project ID. + |
+
virtual_interface_id + |
+Yes + |
+String + |
+Specifies the virtual interface ID. +Minimum: 36 +Maximum: 36 + |
+
Parameter + |
+Mandatory + |
+Type + |
+Description + |
+
---|---|---|---|
X-Auth-Token + |
+Yes + |
+String + |
+Specifies the user token. To obtain the token, see section "Obtaining the User Token" in the Identity and Access Management API Reference. The token is the value of X-Subject-Token in the response header. +Minimum: 0 +Maximum: 10240 + |
+
None
+Deleting a virtual interface
+DELETE https://{dc_endpoint}/v3/0605768a3300d5762f82c01180692873/dcaas/virtual-interfaces/0d0fdf63-f2c4-491c-8866-d504796189be+
None
+Status Code + |
+Description + |
+
---|---|
204 + |
+No Content + |
+
See Error Codes.
+Status Code + |
+Error Code + |
+Description + |
+Solution + |
+
---|---|---|---|
400 + |
+VPC.1901 + |
+The connection does not exist. + |
+Correct the parameter settings and send the request again. + |
+
400 + |
+VPC.1902 + |
+The virtual gateway does not exist. + |
+Correct the parameter settings and send the request again. + |
+
400 + |
+VPC.1903 + |
+The virtual interface does not exist. + |
+Correct the parameter settings and send the request again. + |
+
400 + |
+VPC.1904 + |
+The operations and hosted connections cannot automatically match each other. + |
+Correct the parameter settings and send the request again. + |
+
400 + |
+VPC.1907 + |
+Some connection parameters are incorrectly configured. + |
+Correct the parameter settings and send the request again. + |
+
400 + |
+VPC.1908 + |
+Some virtual gateway parameters are incorrectly configured. + |
+Correct the parameter settings and send the request again. + |
+
400 + |
+VPC.1909 + |
+Some virtual interface parameters are incorrectly configured. + |
+Correct the parameter settings and send the request again. + |
+
400 + |
+VPC.1911 + |
+Incorrect virtual gateway type. + |
+Correct the parameter settings and send the request again. + |
+
400 + |
+VPC.1918 + |
+A virtual interface can be used by only one hosted connection. + |
+Correct the parameter settings and send the request again. + |
+
400 + |
+VPC.1924 + |
+No Direct Connect resources available. + |
+Contact technical support. + |
+
400 + |
+VPC.1925 + |
+No VLANs are available for operations connections. + |
+Contact technical support. + |
+
400 + |
+VPC.1927 + |
+The bandwidth of a connection cannot be changed to a smaller value. + |
+Correct the parameter settings and send the request again. + |
+
400 + |
+VPC.1931 + |
+Incorrect system configuration. + |
+Contact technical support. + |
+
400 + |
+VPC.1932 + |
+Incorrect system configuration. + |
+Contact technical support. + |
+
400 + |
+VPC.1934 + |
+A VPC can have only one virtual gateway. + |
+Contact technical support. + |
+
Status Code + |
+Error Code + |
+Description + |
+Solution + |
+
---|---|---|---|
400 + |
+DC.0000 + |
+The request body is abnormal. + |
+Correct the parameter settings and send the request again. + |
+
400 + |
+DC.0001 + |
+Request parameter error. + |
+Correct the parameter settings and send the request again. + |
+
400 + |
+DC.0002 + |
+The resource does not exist. + |
+Correct the parameter settings and send the request again. + |
+
400 + |
+DC.0003 + |
+System error. + |
+Correct the parameter settings and send the request again. + |
+
400 + |
+DC.0004 + |
+Invalid IP address. + |
+Correct the parameter settings and send the request again. + |
+
400 + |
+DC.0005 + |
+Failed to call the VPC API. + |
+Correct the parameter settings and send the request again. + |
+
400 + |
+DC.0006 + |
+Failed to call the MO API. + |
+Correct the parameter settings and send the request again. + |
+
400 + |
+DC.0007 + |
+The VPC does not exist. + |
+Correct the parameter settings and send the request again. + |
+
400 + |
+DC.0008 + |
+The BGP ASN is out of range. + |
+Correct the parameter settings and send the request again. + |
+
400 + |
+DC.0009 + |
+Invalid policy. + |
+Contact technical support. + |
+
400 + |
+DC.0010 + |
+The VPC_VNI does not exist. + |
+Contact technical support. + |
+
400 + |
+DC.0011 + |
+The AGENT is abnormal. + |
+Correct the parameter settings and send the request again. + |
+
400 + |
+DC.0012 + |
+Failed to call the CBC API. + |
+Contact technical support. + |
+
400 + |
+DC.0013 + |
+You have no permission to operate the field. + |
+Contact technical support. + |
+
400 + |
+DC.1000 + |
+Insufficient connection bandwidth. + |
+Contact technical support. + |
+
400 + |
+DC.1001 + |
+A VLAN is specified for a non-hosted connection. + |
+Contact technical support. + |
+
400 + |
+DC.1002 + |
+Failed to create a hosted connection. + |
+Contact technical support. + |
+
400 + |
+DC.1003 + |
+A VLAN is not specified for a hosted connection. + |
+Contact technical support. + |
+
400 + |
+DC.1004 + |
+A non-operations connection is selected for creating a hosted connection. + |
+Contact technical support. + |
+
400 + |
+DC.1005 + |
+The connection is abnormal. + |
+Contact technical support. + |
+
400 + |
+DC.1006 + |
+The device and type cannot be modified when the connection is in use. + |
+Contact technical support. + |
+
400 + |
+DC.1007 + |
+The connection is in use. + |
+Contact technical support. + |
+
400 + |
+DC.1008 + |
+Hosted connection VLANs conflict. + |
+Contact technical support. + |
+
400 + |
+DC.1010 + |
+Connection bandwidth is decreased. + |
+Contact technical support. + |
+
400 + |
+DC.1011 + |
+Connection bandwidth cannot be changed. + |
+Contact technical support. + |
+
400 + |
+DC.1012 + |
+The connection does not exist. + |
+Contact technical support. + |
+
400 + |
+DC.1014 + |
+A redundant connection is set for a non-standard connection. + |
+Contact technical support. + |
+
400 + |
+DC.1015 + |
+The connection or LAG does not exist. + |
+Contact technical support. + |
+
400 + |
+DC.1017 + |
+The VLAN ID of the hosted connection is 0. + |
+Contact technical support. + |
+
400 + |
+DC.1019 + |
+The connection quota has been used up. + |
+Contact technical support. + |
+
400 + |
+DC.1100 + |
+The local endpoint group ID of the virtual gateway is invalid. + |
+Contact technical support. + |
+
400 + |
+DC.1101 + |
+The number of local subnets exceeds the limit. + |
+Contact technical support. + |
+
400 + |
+DC.1102 + |
+The standby device is specified when the active device is not specified. + |
+Contact technical support. + |
+
400 + |
+DC.1103 + |
+The active and standby devices are the same. + |
+Contact technical support. + |
+
400 + |
+DC.1104 + |
+The device information cannot be updated for the virtual gateway. + |
+Contact technical support. + |
+
400 + |
+DC.1105 + |
+The local CIDR block overlap with the remote CIDR block. + |
+Contact technical support. + |
+
400 + |
+DC.1106 + |
+The virtual gateway is in use. + |
+Contact technical support. + |
+
400 + |
+DC.1107 + |
+Virtual gateway VLANs are exhausted. + |
+Contact technical support. + |
+
400 + |
+DC.1108 + |
+Virtual gateway VNIs are exhausted. + |
+Contact technical support. + |
+
400 + |
+DC.1109 + |
+Virtual gateway VRFs are exhausted. + |
+Contact technical support. + |
+
400 + |
+DC.1110 + |
+A virtual gateway has been associated with the VPC. + |
+Contact technical support. + |
+
400 + |
+DC.1111 + |
+The virtual gateway does not exist. + |
+Contact technical support. + |
+
400 + |
+DC.1112 + |
+The devices used by the virtual gateway are not in active/standby mode. + |
+Contact technical support. + |
+
400 + |
+DC.1113 + |
+The virtual gateway is in the cutover state. + |
+Contact technical support. + |
+
400 + |
+DC.1114 + |
+traffic_mode cannot be updated for VLANs or virtual gateways with a single VTEP device. + |
+Contact technical support. + |
+
400 + |
+DC.1115 + |
+The VNI of the virtual gateway does not exist. + |
+Contact technical support. + |
+
400 + |
+DC.1116 + |
+Failed to update the route gateway. + |
+Contact technical support. + |
+
400 + |
+DC.1117 + |
+The virtual gateway has been associated with two connections and cannot be associated with more connections. + |
+Contact technical support. + |
+
400 + |
+DC.1118 + |
+The virtual gateway is being operated (locked). + |
+Contact technical support. + |
+
400 + |
+DC.1119 + |
+Failed to create the route gateway device group. + |
+Contact technical support. + |
+
400 + |
+DC.1120 + |
+The main_az_list configuration item is incorrect. + |
+Contact technical support. + |
+
400 + |
+DC.1200 + |
+No LAG or connection is specified for the virtual interface. + |
+Contact technical support. + |
+
400 + |
+DC.1201 + |
+The connection does not match the virtual gateway type. + |
+Contact technical support. + |
+
400 + |
+DC.1202 + |
+Virtual interfaces of the double ipsec type cannot be created. + |
+Contact technical support. + |
+
400 + |
+DC.1203 + |
+No ASN is specified for the BGP virtual interface. + |
+Contact technical support. + |
+
400 + |
+DC.1204 + |
+Creating virtual interfaces is not supported for operations connections. + |
+Contact technical support. + |
+
400 + |
+DC.1205 + |
+The status of the resource associated with the virtual interface is abnormal. + |
+Contact technical support. + |
+
400 + |
+DC.1206 + |
+The hosted connection has been associated with a virtual interface. + |
+Contact technical support. + |
+
400 + |
+DC.1207 + |
+The VLAN of the virtual interface is inconsistent with that of the hosted connection. + |
+Contact technical support. + |
+
400 + |
+DC.1208 + |
+The bandwidth of the virtual interface associated with a hosted connection cannot be modified. + |
+Contact technical support. + |
+
400 + |
+DC.1209 + |
+Virtual interface VLANs conflict. + |
+Contact technical support. + |
+
400 + |
+DC.1210 + |
+The virtual interface status cannot be changed. + |
+Contact technical support. + |
+
400 + |
+DC.1211 + |
+The virtual interface does not exist. + |
+Contact technical support. + |
+
400 + |
+DC.1212 + |
+The virtual gateway is in a different group from the connection. + |
+Contact technical support. + |
+
400 + |
+DC.1213 + |
+The virtual interface does not match the tenant. + |
+Contact technical support. + |
+
400 + |
+DC.1214 + |
+The virtual interface has been used. + |
+Contact technical support. + |
+
400 + |
+DC.1215 + |
+The virtual interface type does not match. + |
+Contact technical support. + |
+
400 + |
+DC.1216 + |
+The local gateway is invalid. + |
+Contact technical support. + |
+
400 + |
+DC.1217 + |
+The IES edge site ID of the connection does not match that of the local gateway. + |
+Contact technical support. + |
+
400 + |
+DC.1218 + |
+The local gateway does not match. + |
+Contact technical support. + |
+
400 + |
+DC.1219 + |
+A virtual interface with VLAN 0 is created. + |
+Contact technical support. + |
+
400 + |
+DC.1220 + |
+The vif email field on the public network is empty. + |
+Contact technical support. + |
+
400 + |
+DC.1221 + |
+The selected virtual gateway device does not support access from Direct Connect locations. + |
+Contact technical support. + |
+
400 + |
+DC.1222 + |
+Insufficient POP VNIs. + |
+Contact technical support. + |
+
400 + |
+DC.1223 + |
+The local BGP ASN is the same as the remote BGP ASN. + |
+Contact technical support. + |
+
400 + |
+DC.1224 + |
+The virtual interface of the connection terminated at a Direct Connect location does not support VLAN 0. + |
+Contact technical support. + |
+
400 + |
+DC.1225 + |
+The number of virtual interfaces for which traffic statistics collection is enabled reaches the limit. + |
+Contact technical support. + |
+
400 + |
+DC.1226 + |
+Traffic statistics collection cannot be enabled on Layer 2 remote interfaces that have no sub-interfaces. + |
+Contact technical support. + |
+
400 + |
+DC.1227 + |
+Traffic statistics cannot be updated because the virtual interface is abnormal. + |
+Contact technical support. + |
+
400 + |
+DC.1400 + |
+The number of endpoint groups reaches the limit. + |
+Contact technical support. + |
+
400 + |
+DC.1401 + |
+Duplicate CIDR blocks. + |
+Contact technical support. + |
+
400 + |
+DC.1402 + |
+The endpoint group is in use. + |
+Contact technical support. + |
+
400 + |
+DC.1403 + |
+The endpoint group does not exist. + |
+Contact technical support. + |
+
This API is used to query all direct connections created by a tenant.
+GET /v3/{project_id}/dcaas/direct-connects
+ +Parameter + |
+Mandatory + |
+Type + |
+Description + |
+
---|---|---|---|
project_id + |
+Yes + |
+String + |
+Specifies the project ID. + |
+
Parameter + |
+Mandatory + |
+Type + |
+Description + |
+
---|---|---|---|
limit + |
+No + |
+Integer + |
+Specifies the number of records returned on each page. Value range: 1 to 2000 +Minimum: 1 +Maximum: 2000 +Default: 2000 + |
+
marker + |
+No + |
+String + |
+Specifies the ID of the last resource record on the previous page. If this parameter is left blank, the first page is queried. This parameter must be used together with limit. +Minimum: 0 +Maximum: 36 + |
+
fields + |
+No + |
+Array + |
+Specifies the list of fields to be displayed. +Array Length: 1 - 5 + |
+
sort_key + |
+No + |
+String + |
+Specifies the sorting field. +Default: id +Minimum: 0 +Maximum: 36 + |
+
sort_dir + |
+No + |
+Array + |
+Specifies the sorting order of returned results, which can be asc (ascending order) or desc (descending order). The default value is asc. + |
+
hosting_id + |
+No + |
+Array + |
+Specifies operations connection ID by which hosted connections are filtered. +Array Length: 0 - 5 + |
+
enterprise_project_id + |
+No + |
+Array + |
+Filters resource instances by enterprise project ID. +Array Length: 1 - 10 + |
+
id + |
+No + |
+Array + |
+Specifies the resource ID by which instances are filtered. +Array Length: 1 - 5 + |
+
name + |
+No + |
+Array + |
+Specifies the resource name by which instances are filtered. You can specify multiple names. +Array Length: 1 - 5 + |
+
Parameter + |
+Mandatory + |
+Type + |
+Description + |
+
---|---|---|---|
X-Auth-Token + |
+Yes + |
+String + |
+Specifies the user token. To obtain the token, see section "Obtaining the User Token" in the Identity and Access Management API Reference. The token is the value of X-Subject-Token in the response header. +Minimum: 0 +Maximum: 10240 + |
+
Status code: 200
+ +Parameter + |
+Type + |
+Description + |
+
---|---|---|
request_id + |
+String + |
+Specifies the request ID. + |
+
direct_connects + |
+Array of DirectConnect objects + |
+Specifies parameters for creating a connection. + |
+
page_info + |
+PageInfo object + |
+Specifies the pagination query information. + |
+
Parameter + |
+Type + |
+Description + |
+
---|---|---|
id + |
+String + |
+Specifies the connection ID. + |
+
tenant_id + |
+String + |
+Specifies the ID of the project that the instance belongs to. + |
+
name + |
+String + |
+Specifies the connection name. +Minimum: 0 +Maximum: 64 + |
+
description + |
+String + |
+Provides supplementary information about the connection. +Minimum: 0 +Maximum: 128 + |
+
port_type + |
+String + |
+Specifies the type of the port used by the connection. The value can be 1G, 10G, 40G, or 100G. +Enumeration values: +
|
+
bandwidth + |
+Integer + |
+Specifies the connection bandwidth in Mbit/s. +Minimum: 2 +Maximum: 100000 + |
+
location + |
+String + |
+Specifies information about the Direct Connect location. +Minimum: 0 +Maximum: 255 + |
+
peer_location + |
+String + |
+Specifies the location of the on-premises facility at the other end of the connection, specific to the street or data center name. +Minimum: 0 +Maximum: 255 + |
+
device_id + |
+String + |
+Specifies the ID of the device connected to the connection. +Minimum: 0 +Maximum: 36 + |
+
type + |
+String + |
+Specifies the type of a connection. The value can be standard (a standard connection), hosting (an operations connection) or hosted (a hosted connection). +Default: standard +Enumeration values: +
|
+
hosting_id + |
+String + |
+Specifies the ID of the operations connection on which the hosted connection is created. + |
+
charge_mode + |
+String + |
+Specifies the billing mode, which can be prepayment, bandwidth, or traffic. +Enumeration values: +
|
+
provider + |
+String + |
+Specifies the line carrier of a connection. + |
+
admin_state_up + |
+Boolean + |
+Specifies the administrative status, which can be true or false. +Default: true + |
+
vlan + |
+Integer + |
+Specifies the VLAN allocated to the hosted connection. +Minimum: 0 +Maximum: 3999 + |
+
status + |
+String + |
+Specifies the connection status. The options are as follows: ACTIVE: The connection is in the normal state. DOWN: The port for the connection is in the down state, which may cause line faults. BUILD: Operations related to the connection are being performed. ERROR: The connection configuration is incorrect. Contact customer service to rectify the fault. PENDING_DELETE: The connection is being deleted. DELETED: The connection has been deleted. APPLY: A request for a connection is submitted. DENY: A site survey is rejected because the customer fails to meet the requirements. PENDING_PAY: The order for the connection is to be paid. PAID: The order for the connection has been paid. PENDING_SURVEY: A site survey is required for the connection. +Enumeration values: +
|
+
apply_time + |
+String + |
+Specifies when the connection was requested. The UTC time format yyyy-MM-ddTHH:mm:ss.SSSZ is used. + |
+
create_time + |
+String + |
+Specifies when the connection was created. The UTC time format yyyy-MM-ddTHH:mm:ss.SSSZ is used. + |
+
provider_status + |
+String + |
+Specifies the status of the carrier's leased line. The status can be ACTIVE or DOWN. +Enumeration values: +
|
+
peer_port_type + |
+String + |
+Specifies the peer port type. + |
+
peer_provider + |
+String + |
+Specifies the carrier connected to the connection. + |
+
order_id + |
+String + |
+Specifies the connection order ID, which is used to support duration-based billing and identify user orders. + |
+
product_id + |
+String + |
+Specifies the product ID corresponding to the connection's order, which is used to custom billing policies such as duration-based packages. + |
+
spec_code + |
+String + |
+Specifies the product specifications corresponding to the connection's order, which is used to custom billing policies such as duration-based packages. + |
+
period_type + |
+Integer + |
+Specifies whether a connection in a specified order is billed by year or month. + |
+
period_num + |
+Integer + |
+Specifies the required service duration of a yearly/monthly connection. + |
+
vgw_type + |
+String + |
+Specifies the gateway type required by a direct connection. +Default: default +Enumeration values: +
|
+
lag_id + |
+String + |
+Specifies the ID of the LAG that the connection belongs to. + |
+
enterprise_project_id + |
+String + |
+Specifies the ID of the enterprise project that the connection belongs to. +Minimum: 36 +Maximum: 36 + |
+
locales + |
+LocalesBody object + |
+Specifies the region of the connection. (This parameter is not supported currently.) + |
+
support_feature + |
+Array of strings + |
+Lists the features supported by the connection. (This parameter is not supported currently.) + |
+
ies_id + |
+String + |
+Specifies the ID of an IES edge site. (This parameter is not supported currently.) + |
+
reason + |
+String + |
+Displays error information if the status of a line is Error. (This parameter is not supported currently.) + |
+
String + |
+Specifies the customer email information. (This parameter is not supported currently.) + |
+|
onestop_product_id + |
+String + |
+Specifies the product ID of a full-service connection. This parameter is used in line sales scenarios. (This parameter is not supported currently.) + |
+
building_line_product_id + |
+String + |
+Specifies the product ID of the line resource used in the equipment room. This parameter is used in line sales scenarios. (This parameter is not supported currently.) + |
+
last_onestop_product_id + |
+String + |
+Specifies the product ID of a full-service connection before the change. This parameter is used in line sales scenarios and used to save the last record when the line bandwidth is changed. (This parameter is not supported currently.) + |
+
last_building_line_product_id + |
+String + |
+Specifies the product ID of the line resource used in the equipment room before the change. This parameter is used in line sales scenarios and used to save the last record when the line bandwidth is changed. (This parameter is not supported currently.) + |
+
modified_bandwidth + |
+Integer + |
+Specifies the new bandwidth after the line bandwidth is changed. (This parameter is not supported currently.) + |
+
change_mode + |
+Integer + |
+Specifies the status of a renewal change. (This parameter is not supported currently.) + |
+
onestopdc_status + |
+String + |
+Specifies the status of a full-service connection. (This parameter is not supported currently.) + |
+
public_border_group + |
+String + |
+Specifies the public border group of the AZ, indicating whether the site is a HomeZones site. (This parameter is not supported currently.) + |
+
auto_renew + |
+Integer + |
+Specifies whether to automatically renew a yearly/monthly subscription. (This parameter is not supported currently.) + |
+
ratio_95peak + |
+Integer + |
+Specifies the percentage of the minimum bandwidth for 95th percentile billing. (This parameter is not supported currently.) +Minimum: 0 +Maximum: 100 + |
+
Parameter + |
+Type + |
+Description + |
+
---|---|---|
en_us + |
+String + |
+Specifies the region name in English. +Minimum: 0 +Maximum: 255 + |
+
zh_cn + |
+String + |
+Specifies the region name in Chinese. +Minimum: 0 +Maximum: 255 + |
+
Parameter + |
+Type + |
+Description + |
+
---|---|---|
previous_marker + |
+String + |
+Specifies the marker of the previous page. The value is the resource UUID. +Minimum: 0 +Maximum: 36 + |
+
current_count + |
+Integer + |
+Specifies the number of resources in the current list. +Minimum: 0 +Maximum: 2000 + |
+
next_marker + |
+String + |
+Specifies the marker of the next page. The value is the resource UUID. If the value is empty, the resource is on the last page. +Minimum: 0 +Maximum: 36 + |
+
Querying the connection list
+GET https://{dc_endpoint}/v3/6fbe9263116a4b68818cf1edce16bc4f/dcaas/direct-connects+
Status code: 200
+OK
+{ + "request_id" : "9a4f4dfc4fb2fc101e65bba07d908535", + "direct_connects" : [ { + "bandwidth" : 100, + "create_time" : "2018-10-19T09:53:26.000Z", + "port_type" : "10G", + "id" : "6ecd9cf3-ca64-46c7-863f-f2eb1b9e838a", + "apply_time" : "2018-10-19T09:53:26.000Z", + "peer_location" : "", + "peer_port_type" : null, + "peer_provider" : null, + "location" : "Biere", + "provider" : "OTC", + "type" : "standard", + "status" : "BUILD", + "description" : "", + "provider_status" : "ACTIVE", + "order_id" : "", + "vlan" : null, + "device_id" : "172.16.40.2", + "name" : "direct connect1", + "admin_state_up" : true, + "tenant_id" : "6fbe9263116a4b68818cf1edce16bc4f", + "hosting_id" : null, + "product_id" : "", + "vgw_type" : "default", + "spec_code" : "100ge", + "charge_mode" : null, + "support_feature" : [ ], + "ies_id" : null, + "reason" : null, + "email" : "cloud@example.com", + "onestop_product_id" : null, + "building_line_product_id" : null, + "last_building_line_product_id" : null, + "last_onestop_product_id" : null, + "modified_bandwidth" : null, + "change_mode" : null, + "onestopdc_status" : null, + "public_border_group" : "center", + "auto_renew" : 0, + "ratio_95peak" : null + } ] +}+
Status Code + |
+Description + |
+
---|---|
200 + |
+OK + |
+
See Error Codes.
+This API is used to query hosted connections created by partners.
+GET /v3/{project_id}/dcaas/hosted-connects
+ +Parameter + |
+Mandatory + |
+Type + |
+Description + |
+
---|---|---|---|
project_id + |
+Yes + |
+String + |
+Specifies the project ID. + |
+
Parameter + |
+Mandatory + |
+Type + |
+Description + |
+
---|---|---|---|
limit + |
+No + |
+Integer + |
+Specifies the number of records returned on each page. Value range: 1 to 2000 +Minimum: 1 +Maximum: 2000 +Default: 2000 + |
+
marker + |
+No + |
+String + |
+Specifies the ID of the last resource record on the previous page. If this parameter is left blank, the first page is queried. This parameter must be used together with limit. +Minimum: 0 +Maximum: 36 + |
+
fields + |
+No + |
+Array + |
+Specifies the list of fields to be displayed. +Array Length: 1 - 5 + |
+
sort_dir + |
+No + |
+Array + |
+Specifies the sorting order of returned results, which can be asc (ascending order) or desc (descending order). The default value is asc. + |
+
sort_key + |
+No + |
+String + |
+Specifies the sorting field. +Default: id +Minimum: 0 +Maximum: 36 + |
+
hosting_id + |
+No + |
+Array + |
+Specifies operations connection ID by which hosted connections are filtered. +Array Length: 0 - 5 + |
+
id + |
+No + |
+Array + |
+Specifies the resource ID by which instances are filtered. +Array Length: 1 - 5 + |
+
name + |
+No + |
+Array + |
+Specifies the resource name by which instances are filtered. You can specify multiple names. +Array Length: 1 - 5 + |
+
Parameter + |
+Mandatory + |
+Type + |
+Description + |
+
---|---|---|---|
X-Auth-Token + |
+Yes + |
+String + |
+Specifies the user token. To obtain the token, see section "Obtaining the User Token" in the Identity and Access Management API Reference. The token is the value of X-Subject-Token in the response header. +Minimum: 0 +Maximum: 10240 + |
+
Status code: 200
+ +Parameter + |
+Type + |
+Description + |
+
---|---|---|
request_id + |
+String + |
+Specifies the request ID of the current operation. + |
+
hosted_connects + |
+Array of HostedDirectConnect objects + |
+Specifies the parameters for creating a hosted connection. + |
+
page_info + |
+PageInfo object + |
+Specifies the pagination query information. + |
+
Parameter + |
+Type + |
+Description + |
+
---|---|---|
id + |
+String + |
+Specifies the hosted connection ID. +Minimum: 36 +Maximum: 36 + |
+
tenant_id + |
+String + |
+Specifies the ID of the project that the instance belongs to. + |
+
name + |
+String + |
+Specifies the connection name. +Minimum: 0 +Maximum: 64 + |
+
description + |
+String + |
+Provides supplementary information about the connection. +Minimum: 0 +Maximum: 128 + |
+
bandwidth + |
+Integer + |
+Specifies the connection bandwidth in Mbit/s. +Minimum: 2 +Maximum: 400000 + |
+
location + |
+String + |
+Specifies information about the Direct Connect location. +Minimum: 0 +Maximum: 255 + |
+
peer_location + |
+String + |
+Specifies the location of the on-premises facility at the other end of the connection, specific to the street or data center name. +Minimum: 0 +Maximum: 255 + |
+
hosting_id + |
+String + |
+Specifies the ID of the operations connection on which the hosted connection is created. + |
+
provider + |
+String + |
+Specifies the provider of the leased line. + |
+
admin_state_up + |
+Boolean + |
+Specifies the administrative status, which can be true or false. +Default: true + |
+
vlan + |
+Integer + |
+Specifies the VLAN allocated to the hosted connection. +Minimum: 0 +Maximum: 3999 + |
+
status + |
+String + |
+Specifies the operating status of the hosted connection. The options are as follows: +
Enumeration values: +
|
+
apply_time + |
+String + |
+Specifies when the connection was requested. The UTC time format yyyy-MM-ddTHH:mm:ss.SSSZ is used. + |
+
create_time + |
+String + |
+Specifies when the connection was created. The UTC time format yyyy-MM-ddTHH:mm:ss.SSSZ is used. + |
+
provider_status + |
+String + |
+Specifies the status of the carrier's leased line. The status can be ACTIVE or DOWN. +Enumeration values: +
|
+
port_type + |
+String + |
+Specifies the type of the port used by the connection. The value can be 1G, 10G, 40G, or 100G. +Enumeration values: +
|
+
type + |
+String + |
+Specifies the type of a connection. The value can be standard (a standard connection), hosting (an operations connection) or hosted (a hosted connection). +Default: standard +Enumeration values: +
|
+
Parameter + |
+Type + |
+Description + |
+
---|---|---|
previous_marker + |
+String + |
+Specifies the marker of the previous page. The value is the resource UUID. +Minimum: 0 +Maximum: 36 + |
+
current_count + |
+Integer + |
+Specifies the number of resources in the current list. +Minimum: 0 +Maximum: 2000 + |
+
next_marker + |
+String + |
+Specifies the marker of the next page. The value is the resource UUID. If the value is empty, the resource is on the last page. +Minimum: 0 +Maximum: 36 + |
+
Querying the list of hosted connections created by a partner
+POST https://{dc_endpoint}/v3/6fbe9263116a4b68818cf1edce16bc4f/dcaas/hosted-connects+
Status code: 200
+OK
+{ + "request_id" : "a59a3776faa1d055f8124dc7b0977a90", + "hosted_connects" : [ { + "id" : "0278b472-ffa5-4eb3-8c0d-979d479f8ef6", + "name" : "client-dc-faf1", + "description" : "Hosted Connect", + "tenant_id" : "0605768a3300d5762f82c01180692873", + "hosting_id" : "2cfb53be-b05f-40d5-a2f8-3a59ac383836", + "vlan" : 441, + "bandwidth" : 10, + "location" : "Biere", + "peer_location" : "", + "provider" : "OTC", + "type" : "hosted", + "port_type" : "10G", + "provider_status" : "ACTIVE", + "status" : "ACTIVE", + "apply_time" : "2022-07-13T08:25:38.000Z", + "admin_state_up" : true, + "create_time" : "2022-07-13T08:25:38.000Z" + } ] +}+
Status Code + |
+Description + |
+
---|---|
200 + |
+OK + |
+
See Error Codes.
+This API is used to query virtual gateways.
+GET /v3/{project_id}/dcaas/virtual-gateways
+ +Parameter + |
+Mandatory + |
+Type + |
+Description + |
+
---|---|---|---|
project_id + |
+Yes + |
+String + |
+Specifies the project ID. + |
+
Parameter + |
+Mandatory + |
+Type + |
+Description + |
+
---|---|---|---|
limit + |
+No + |
+Integer + |
+Specifies the number of records returned on each page. Value range: 1 to 2000 +Minimum: 1 +Maximum: 2000 +Default: 2000 + |
+
marker + |
+No + |
+String + |
+Specifies the ID of the last resource record on the previous page. If this parameter is left blank, the first page is queried. This parameter must be used together with limit. +Minimum: 0 +Maximum: 36 + |
+
fields + |
+No + |
+Array + |
+Specifies the list of fields to be displayed. +Array Length: 1 - 5 + |
+
sort_dir + |
+No + |
+Array + |
+Specifies the sorting order of returned results, which can be asc (ascending order) or desc (descending order). The default value is asc. + |
+
sort_key + |
+No + |
+String + |
+Specifies the sorting field. +Default: id +Minimum: 0 +Maximum: 36 + |
+
id + |
+No + |
+Array + |
+Specifies the resource ID by which instances are filtered. +Array Length: 1 - 5 + |
+
enterprise_project_id + |
+No + |
+Array + |
+Filters resource instances by enterprise project ID. +Array Length: 1 - 10 + |
+
vpc_id + |
+No + |
+Array + |
+Specifies the VPC ID by which virtual gateways are filtered. + |
+
Parameter + |
+Mandatory + |
+Type + |
+Description + |
+
---|---|---|---|
X-Auth-Token + |
+Yes + |
+String + |
+Specifies the user token. To obtain the token, see section "Obtaining the User Token" in the Identity and Access Management API Reference. The token is the value of X-Subject-Token in the response header. +Minimum: 0 +Maximum: 10240 + |
+
Status code: 200
+ +Parameter + |
+Type + |
+Description + |
+
---|---|---|
request_id + |
+String + |
+Specifies the request ID. + |
+
virtual_gateways + |
+Array of VirtualGateway objects + |
+Specifies parameters for creating a virtual gateway. + |
+
page_info + |
+PageInfo object + |
+Specifies the pagination query information. + |
+
Parameter + |
+Type + |
+Description + |
+
---|---|---|
id + |
+String + |
+Specifies the virtual gateway ID. + |
+
vpc_id + |
+String + |
+Specifies the ID of the VPC connected by the virtual gateway. + |
+
enterprise_router_id + |
+String + |
+Specifies the ID of the enterprise router that the virtual gateway is attached to. + |
+
tenant_id + |
+String + |
+Specifies the ID of the project that the instance belongs to. +Minimum: 32 +Maximum: 32 + |
+
name + |
+String + |
+Specifies the virtual gateway name. +Minimum: 0 +Maximum: 64 + |
+
description + |
+String + |
+Provides supplementary information about the virtual gateway. +Minimum: 0 +Maximum: 128 + |
+
type + |
+String + |
+Specifies the virtual gateway type. The value can only be default. +Default: default + |
+
local_ep_group + |
+Array of strings + |
+Specifies the IPv4 subnets connected by the virtual gateway, which is usually the CIDR blocks of a VPC. + |
+
local_ep_group_ipv6 + |
+Array of strings + |
+Specifies the IPv6 subnets connected by the virtual gateway, which is usually the CIDR blocks of a VPC. This is a reserved field. + |
+
admin_state_up + |
+Boolean + |
+Specifies the administrative status, which can be true or false. +Default: true + |
+
status + |
+String + |
+Specifies the virtual gateway status, which can be ACTIVE, DOWN, BUILD, ERROR, PENDING_CREATE, PENDING_UPDATE, or PENDING_DELETE. + |
+
bgp_asn + |
+Integer + |
+Specifies the local BGP ASN of the virtual gateway. +Minimum: 1 +Maximum: 4294967295 + |
+
enterprise_project_id + |
+String + |
+Specifies the ID of the enterprise project that the virtual gateway belongs to. +Minimum: 36 +Maximum: 36 + |
+
device_id + |
+String + |
+Specifies the ID of the device that the virtual interface belongs to. + |
+
redundant_device_id + |
+String + |
+Specifies the ID of the redundant device. + |
+
public_border_group + |
+String + |
+Specifies the public border group of the AZ, indicating whether the site is a HomeZones site. + |
+
Parameter + |
+Type + |
+Description + |
+
---|---|---|
previous_marker + |
+String + |
+Specifies the marker of the previous page. The value is the resource UUID. +Minimum: 0 +Maximum: 36 + |
+
current_count + |
+Integer + |
+Specifies the number of resources in the current list. +Minimum: 0 +Maximum: 2000 + |
+
next_marker + |
+String + |
+Specifies the marker of the next page. The value is the resource UUID. If the value is empty, the resource is on the last page. +Minimum: 0 +Maximum: 36 + |
+
Querying the virtual gateway list
+GET https://{dc_endpoint}/v3/0605768a3300d5762f82c01180692873/dcaas/virtual-gateways+
Status code: 200
+OK
+{ + "virtual_gateways" : [ { + "id" : "20082c1b-3c99-48d8-8e8c-116af5d7e9f0", + "name" : "vgw-c7b22", + "description" : "", + "tenant_id" : "0605768a3300d5762f82c01180692873", + "vpc_id" : "6592c28e-95d7-4b0a-9f61-004fdf03420c", + "device_id" : "26.151.63.100", + "redundant_device_id" : "26.152.128.20", + "type" : "default", + "status" : "ACTIVE", + "admin_state_up" : true, + "bgp_asn" : 64512, + "local_ep_group" : [ "192.168.1.0/24" ], + "enterprise_project_id" : "0", + "public_border_group" : "center" + } ], + "request_id" : "765f7aaf8f2edd0e719de564ef72e2de" +}+
{ + "virtual_gateways" : [ { + "name" : "vgw-er", + "id" : "7a91797a-cbda-42ff-9f42-73f26c993dd9", + "description" : "", + "tenant_id" : "92ea72fe26294aa180a2712c28e43c21", + "vpc_id" : null, + "enterprise_router_id" : "61fa53c9-4446-4ebd-89b9-11a52b653a9c", + "device_id" : "26.151.63.100", + "redundant_device_id" : "26.152.128.20", + "type" : "default", + "status" : "ACTIVE", + "admin_state_up" : true, + "bgp_asn" : 64512, + "local_ep_group" : null, + "local_ep_group_ipv6" : null, + "public_border_group" : null + } ], + "request_id" : "765f7aaf8f2edd0e719de564e6174dfa" +}+
Status Code + |
+Description + |
+
---|---|
200 + |
+OK + |
+
See Error Codes.
+This API is used to query all virtual interfaces of a tenant.
+GET /v3/{project_id}/dcaas/virtual-interfaces
+ +Parameter + |
+Mandatory + |
+Type + |
+Description + |
+
---|---|---|---|
project_id + |
+Yes + |
+String + |
+Specifies the project ID. + |
+
Parameter + |
+Mandatory + |
+Type + |
+Description + |
+
---|---|---|---|
limit + |
+No + |
+Integer + |
+Specifies the number of records returned on each page. Value range: 1 to 2000 +Minimum: 1 +Maximum: 2000 +Default: 2000 + |
+
marker + |
+No + |
+String + |
+Specifies the ID of the last resource record on the previous page. If this parameter is left blank, the first page is queried. This parameter must be used together with limit. +Minimum: 0 +Maximum: 36 + |
+
fields + |
+No + |
+Array + |
+Specifies the list of fields to be displayed. +Array Length: 1 - 5 + |
+
sort_dir + |
+No + |
+Array + |
+Specifies the sorting order of returned results, which can be asc (ascending order) or desc (descending order). The default value is asc. + |
+
sort_key + |
+No + |
+String + |
+Specifies the sorting field. +Default: id +Minimum: 0 +Maximum: 36 + |
+
enterprise_project_id + |
+No + |
+Array + |
+Filters resource instances by enterprise project ID. +Array Length: 1 - 10 + |
+
id + |
+No + |
+Array + |
+Specifies the resource ID by which instances are filtered. +Array Length: 1 - 5 + |
+
status + |
+No + |
+Array + |
+Specifies the status by which instances are filtered. +Array Length: 1 - 5 + |
+
direct_connect_id + |
+No + |
+Array + |
+Specifies the connection ID by which connections are filtered and queried. +Array Length: 1 - 5 + |
+
vgw_id + |
+No + |
+Array + |
+Specifies the virtual gateway ID by which virtual gateways are filtered and queried. +Array Length: 1 - 5 + |
+
Parameter + |
+Mandatory + |
+Type + |
+Description + |
+
---|---|---|---|
X-Auth-Token + |
+Yes + |
+String + |
+Specifies the user token. To obtain the token, see section "Obtaining the User Token" in the Identity and Access Management API Reference. The token is the value of X-Subject-Token in the response header. +Minimum: 0 +Maximum: 10240 + |
+
Status code: 200
+ +Parameter + |
+Type + |
+Description + |
+
---|---|---|
request_id + |
+String + |
+Specifies the request ID. + |
+
virtual_interfaces + |
+Array of VirtualInterface objects + |
+Specifies parameters for creating a virtual interface. + |
+
page_info + |
+PageInfo object + |
+Specifies the pagination query information. + |
+
Parameter + |
+Type + |
+Description + |
+
---|---|---|
id + |
+String + |
+Specifies the virtual interface ID. +Maximum: 36 + |
+
name + |
+String + |
+Specifies the virtual interface name. +Maximum: 64 + |
+
admin_state_up + |
+Boolean + |
+Specifies the administrative status, which can be true or false. + |
+
bandwidth + |
+Integer + |
+Specifies the virtual interface bandwidth. +Minimum: 2 +Maximum: 2147483647 + |
+
create_time + |
+String + |
+Specifies the time when the virtual interface was created. The UTC time format yyyy-MM-ddTHH:mm:ss.SSSZ is used. +Maximum: 255 + |
+
description + |
+String + |
+Provides supplementary information about the virtual interface. +Maximum: 128 + |
+
direct_connect_id + |
+String + |
+Specifies the connection ID. +Maximum: 36 + |
+
service_type + |
+String + |
+Specifies the gateway type, which can be VGW, GDGW, or LGW. +Enumeration values: +
|
+
status + |
+String + |
+Specifies the operating status, which can be ACTIVE, DOWN, BUILD, ERROR, PENDING_CREATE, PENDING_UPDATE, PENDING_DELETE, DELETED, AUTHORIZATION, or REJECTED. + |
+
tenant_id + |
+String + |
+Specifies the project ID. +Minimum: 32 +Maximum: 32 + |
+
type + |
+String + |
+Specifies the type of the virtual interface. The value is private. +Default: private +Maximum: 255 +Enumeration values: +
|
+
vgw_id + |
+String + |
+Specifies the virtual gateway ID. +Minimum: 36 +Maximum: 36 + |
+
vlan + |
+Integer + |
+Specifies the VLAN for connecting to the user gateway. The value ranges from 0 to 3999. +Minimum: 0 +Maximum: 3999 + |
+
route_limit + |
+Integer + |
+Specifies the remote subnet route configurations of the virtual interface. +Minimum: 1 +Maximum: 200 +Default: 50 + |
+
enable_nqa + |
+Boolean + |
+Specifies whether to enable NQA. The value can be true or false. + |
+
enable_bfd + |
+Boolean + |
+Specifies whether to enable Bidirectional Forwarding Detection (BFD). The value can be true or false. + |
+
lag_id + |
+String + |
+Specifies the ID of the LAG associated with the virtual interface. +Minimum: 36 +Maximum: 36 + |
+
device_id + |
+String + |
+Specifies the ID of the device that the virtual interface belongs to. + |
+
enterprise_project_id + |
+String + |
+Specifies the ID of the enterprise project that the virtual interface belongs to. +Minimum: 36 +Maximum: 36 + |
+
local_gateway_v4_ip + |
+String + |
+Specifies the IPv4 interface address of the gateway used on the cloud. This parameter has been migrated to the vifpeer parameter list and will be discarded later. + |
+
remote_gateway_v4_ip + |
+String + |
+Specifies the IPv4 interface address of the gateway used on premises. This parameter has been migrated to the vifpeer parameter list and will be discarded later. + |
+
ies_id + |
+String + |
+Specifies the ID of an IES edge site. (This parameter is not supported currently.) + |
+
reason + |
+String + |
+Displays error information if the status of a line is Error. + |
+
rate_limit + |
+Boolean + |
+Specifies whether rate limiting is enabled on a virtual interface. + |
+
address_family + |
+String + |
+Specifies the address family of the virtual interface, which can be IPv4 or IPv6. This parameter has been migrated to the vifpeer parameter list and will be discarded later. + |
+
local_gateway_v6_ip + |
+String + |
+Specifies the IPv6 interface address of the gateway used on the cloud. This parameter has been migrated to the vifpeer parameter list and will be discarded later. + |
+
remote_gateway_v6_ip + |
+String + |
+Specifies the IPv6 interface address of the gateway used on premises. This parameter has been migrated to the vifpeer parameter list and will be discarded later. + |
+
lgw_id + |
+String + |
+Specifies the ID of the local gateway, which is used in IES scenarios. (This parameter is not supported currently.) + |
+
gateway_id + |
+String + |
+Specifies the ID of the gateway associated with the virtual interface. + |
+
remote_ep_group + |
+Array of strings + |
+Specifies the remote subnet list, which records the CIDR blocks used in the on-premises data center. This parameter has been migrated to the vifpeer parameter list and will be discarded later. + |
+
service_ep_group + |
+Array of strings + |
+Specifies the list of public network addresses that can be accessed by the on-premises data center. This field is required in the APIs of public network connections. This parameter has been migrated to the vifpeer parameter list and will be discarded later. + |
+
bgp_route_limit + |
+Integer + |
+Specifies the BGP route configuration. + |
+
priority + |
+String + |
+Specifies the priority of a virtual interface. The value can be normal or low. If the priorities are the same, the virtual interfaces work in load balancing mode. If the priorities are different, the virtual interfaces work in active/standby pairs. Outbound traffic is preferentially forwarded to the normal virtual interface with a higher priority. This option is only supported by virtual interfaces that use BGP routing. +Default: normal +Enumeration values: +
|
+
vif_peers + |
+Array of VifPeer objects + |
+Provides information about virtual interface peers. (This is a reserved parameter and is not supported currently.) + |
+
extend_attribute + |
+VifExtendAttribute object + |
+Provides extended parameter information. (This is a reserved parameter and is not supported currently.) + |
+
Parameter + |
+Type + |
+Description + |
+
---|---|---|
id + |
+String + |
+Specifies the resource ID. +Minimum: 36 +Maximum: 36 + |
+
tenant_id + |
+String + |
+Specifies the ID of the project that the virtual interface peer belongs to. +Minimum: 36 +Maximum: 36 + |
+
name + |
+String + |
+Specifies the name of the virtual interface peer. +Minimum: 0 +Maximum: 64 + |
+
description + |
+String + |
+Provides supplementary information about the virtual interface peer. +Minimum: 0 +Maximum: 128 + |
+
address_family + |
+String + |
+Specifies the address family type of the virtual interface, which can be IPv4 or IPv6. + |
+
local_gateway_ip + |
+String + |
+Specifies the address of the virtual interface peer used on the cloud. + |
+
remote_gateway_ip + |
+String + |
+Specifies the address of the virtual interface peer used in the on-premises data center. + |
+
route_mode + |
+String + |
+Specifies the routing mode, which can be static or bgp. +Maximum: 255 +Enumeration values: +
|
+
bgp_asn + |
+Integer + |
+Specifies the ASN of the BGP peer. +Minimum: 1 +Maximum: 4294967295 + |
+
bgp_md5 + |
+String + |
+Specifies the MD5 password of the BGP peer. + |
+
remote_ep_group + |
+Array of strings + |
+Specifies the remote subnet list, which records the CIDR blocks used in the on-premises data center. + |
+
service_ep_group + |
+Array of strings + |
+Specifies the list of public network addresses that can be accessed by the on-premises data center. This field is required in the APIs of public network connections. + |
+
device_id + |
+String + |
+Specifies the ID of the device that the virtual interface peer belongs to. + |
+
bgp_route_limit + |
+Integer + |
+Specifies the BGP route configuration. + |
+
bgp_status + |
+String + |
+Specifies the BGP protocol status of the virtual interface peer. If the virtual interface peer uses static routing, the status is null. +Maximum: 10 + |
+
status + |
+String + |
+Specifies the status of the virtual interface peer. + |
+
vif_id + |
+String + |
+Specifies the ID of the virtual interface corresponding to the virtual interface peer. +Minimum: 36 +Maximum: 36 + |
+
receive_route_num + |
+Integer + |
+Specifies the number of received BGP routes if BGP routing is used. If static routing is used, this parameter is meaningless and the value is -1. Note: If this parameter cannot be obtained, contact customer service to migrate your ports. + |
+
enable_nqa + |
+Boolean + |
+Specifies whether to enable NQA. The value can be true or false. + |
+
enable_bfd + |
+Boolean + |
+Specifies whether to enable BFD. The value can be true or false. + |
+
Parameter + |
+Type + |
+Description + |
+
---|---|---|
ha_type + |
+String + |
+Specifies the availability detection type of the virtual interface. +Enumeration values: +
|
+
ha_mode + |
+String + |
+Specifies the availability detection mode. +Enumeration values: +
|
+
detect_multiplier + |
+Integer + |
+Specifies the number of detection retries. +Default: 5 + |
+
min_rx_interval + |
+Integer + |
+Specifies the interval for receiving detection packets. +Default: 1000 + |
+
min_tx_interval + |
+Integer + |
+Specifies the interval for sending detection packets. +Default: 1000 + |
+
remote_disclaim + |
+Integer + |
+Specifies the remote identifier of the static BFD session. + |
+
local_disclaim + |
+Integer + |
+Specifies the local identifier of the static BFD session. + |
+
Parameter + |
+Type + |
+Description + |
+
---|---|---|
previous_marker + |
+String + |
+Specifies the marker of the previous page. The value is the resource UUID. +Minimum: 0 +Maximum: 36 + |
+
current_count + |
+Integer + |
+Specifies the number of resources in the current list. +Minimum: 0 +Maximum: 2000 + |
+
next_marker + |
+String + |
+Specifies the marker of the next page. The value is the resource UUID. If the value is empty, the resource is on the last page. +Minimum: 0 +Maximum: 36 + |
+
Querying the virtual interface list
+GET https://{dc_endpoint}/v3/0605768a3300d5762f82c01180692873/dcaas/virtual-interfaces+
Status code: 200
+OK
+{ + "virtual_interfaces" : [ { + "id" : "0d0fdf63-f2c4-491c-8866-d504796189be", + "name" : "vif-0819", + "description" : "mytest", + "tenant_id" : "0605768a3300d5762f82c01180692873", + "direct_connect_id" : "4673e339-8412-4ee1-b73e-2ba9cdfa54c1", + "vgw_id" : "8a47064a-f34c-4f94-b7fe-cac456c9b37b", + "type" : "private", + "service_type" : "VGW", + "vlan" : 332, + "bandwidth" : 2, + "status" : "ACTIVE", + "create_time" : "2022-08-19T11:28:06.000Z", + "admin_state_up" : true, + "enable_bfd" : false, + "route_limit" : 50, + "enable_nqa" : false, + "local_gateway_v4_ip" : "1.1.1.1/30", + "remote_gateway_v4_ip" : "1.1.1.2/30", + "ies_id" : null, + "reason" : null, + "rate_limit" : false, + "address_family" : "ipv4", + "local_gateway_v6_ip" : null, + "remote_gateway_v6_ip" : null, + "lgw_id" : null, + "gateway_id" : null, + "remote_ep_group" : [ "1.1.2.0/30" ], + "service_ep_group" : [ ], + "bgp_route_limit" : 100, + "priority" : "normal", + "vif_peers" : [ { + "id" : "c768eb52-12a8-4859-9b43-81194643040c", + "tenant_id" : "0605768a3300d5762f82c01180692873", + "name" : "vif-0819", + "description" : "", + "address_family" : "ipv4", + "local_gateway_ip" : "1.1.1.1/30", + "remote_gateway_ip" : "1.1.1.2/30", + "route_mode" : "static", + "bgp_asn" : null, + "bgp_md5" : null, + "device_id" : "18.9.215.131", + "bgp_route_limit" : 100, + "bgp_status" : null, + "status" : "ACTIVE", + "vif_id" : "0d0fdf63-f2c4-491c-8866-d504796189be", + "receive_route_num" : -1, + "remote_ep_group" : [ "1.1.2.0/30" ], + "service_ep_group" : null, + "enable_bfd" : false, + "enable_nqa" : false + } ], + "enterprise_project_id" : "0" + } ], + "request_id" : "5633df7af874576d819a481c76673236" +}+
Status Code + |
+Description + |
+
---|---|
200 + |
+OK + |
+
See Error Codes.
+This API is used to query details about a connection.
+GET /v3/{project_id}/dcaas/direct-connects/{direct_connect_id}
+ +Parameter + |
+Mandatory + |
+Type + |
+Description + |
+
---|---|---|---|
direct_connect_id + |
+Yes + |
+String + |
+Specifies the connection ID. +Minimum: 36 +Maximum: 36 + |
+
project_id + |
+Yes + |
+String + |
+Specifies the project ID. + |
+
Parameter + |
+Mandatory + |
+Type + |
+Description + |
+
---|---|---|---|
fields + |
+No + |
+Array + |
+Specifies the list of fields to be displayed. +Array Length: 1 - 5 + |
+
Parameter + |
+Mandatory + |
+Type + |
+Description + |
+
---|---|---|---|
X-Auth-Token + |
+Yes + |
+String + |
+Specifies the user token. To obtain the token, see section "Obtaining the User Token" in the Identity and Access Management API Reference. The token is the value of X-Subject-Token in the response header. +Minimum: 0 +Maximum: 10240 + |
+
Status code: 200
+ +Parameter + |
+Type + |
+Description + |
+
---|---|---|
request_id + |
+String + |
+Specifies the request ID. + |
+
direct_connect + |
+DirectConnect object + |
+Specifies parameters for creating a connection. + |
+
Parameter + |
+Type + |
+Description + |
+
---|---|---|
id + |
+String + |
+Specifies the connection ID. + |
+
tenant_id + |
+String + |
+Specifies the ID of the project that the instance belongs to. + |
+
name + |
+String + |
+Specifies the connection name. +Minimum: 0 +Maximum: 64 + |
+
description + |
+String + |
+Provides supplementary information about the connection. +Minimum: 0 +Maximum: 128 + |
+
port_type + |
+String + |
+Specifies the type of the port used by the connection. The value can be 1G, 10G, 40G, or 100G. +Enumeration values: +
|
+
bandwidth + |
+Integer + |
+Specifies the connection bandwidth in Mbit/s. +Minimum: 2 +Maximum: 100000 + |
+
location + |
+String + |
+Specifies information about the Direct Connect location. +Minimum: 0 +Maximum: 255 + |
+
peer_location + |
+String + |
+Specifies the location of the on-premises facility at the other end of the connection, specific to the street or data center name. +Minimum: 0 +Maximum: 255 + |
+
device_id + |
+String + |
+Specifies the ID of the device connected to the connection. +Minimum: 0 +Maximum: 36 + |
+
type + |
+String + |
+Specifies the type of a connection. The value can be standard (a standard connection), hosting (an operations connection) or hosted (a hosted connection). +Default: standard +Enumeration values: +
|
+
hosting_id + |
+String + |
+Specifies the ID of the operations connection on which the hosted connection is created. + |
+
charge_mode + |
+String + |
+Specifies the billing mode, which can be prepayment, bandwidth, or traffic. +Enumeration values: +
|
+
provider + |
+String + |
+Specifies the line carrier of a connection. + |
+
admin_state_up + |
+Boolean + |
+Specifies the administrative status, which can be true or false. +Default: true + |
+
vlan + |
+Integer + |
+Specifies the VLAN allocated to the hosted connection. +Minimum: 0 +Maximum: 3999 + |
+
status + |
+String + |
+Specifies the connection status. The options are as follows: ACTIVE: The connection is in the normal state. DOWN: The port for the connection is in the down state, which may cause line faults. BUILD: Operations related to the connection are being performed. ERROR: The connection configuration is incorrect. Contact customer service to rectify the fault. PENDING_DELETE: The connection is being deleted. DELETED: The connection has been deleted. APPLY: A request for a connection is submitted. DENY: A site survey is rejected because the customer fails to meet the requirements. PENDING_PAY: The order for the connection is to be paid. PAID: The order for the connection has been paid. PENDING_SURVEY: A site survey is required for the connection. +Enumeration values: +
|
+
apply_time + |
+String + |
+Specifies when the connection was requested. The UTC time format yyyy-MM-ddTHH:mm:ss.SSSZ is used. + |
+
create_time + |
+String + |
+Specifies when the connection was created. The UTC time format yyyy-MM-ddTHH:mm:ss.SSSZ is used. + |
+
provider_status + |
+String + |
+Specifies the status of the carrier's leased line. The status can be ACTIVE or DOWN. +Enumeration values: +
|
+
peer_port_type + |
+String + |
+Specifies the peer port type. + |
+
peer_provider + |
+String + |
+Specifies the carrier connected to the connection. + |
+
order_id + |
+String + |
+Specifies the connection order ID, which is used to support duration-based billing and identify user orders. + |
+
product_id + |
+String + |
+Specifies the product ID corresponding to the connection's order, which is used to custom billing policies such as duration-based packages. + |
+
spec_code + |
+String + |
+Specifies the product specifications corresponding to the connection's order, which is used to custom billing policies such as duration-based packages. + |
+
period_type + |
+Integer + |
+Specifies whether a connection in a specified order is billed by year or month. + |
+
period_num + |
+Integer + |
+Specifies the required service duration of a yearly/monthly connection. + |
+
vgw_type + |
+String + |
+Specifies the gateway type required by a direct connection. +Default: default +Enumeration values: +
|
+
lag_id + |
+String + |
+Specifies the ID of the LAG that the connection belongs to. + |
+
enterprise_project_id + |
+String + |
+Specifies the ID of the enterprise project that the connection belongs to. +Minimum: 36 +Maximum: 36 + |
+
locales + |
+LocalesBody object + |
+Specifies the region of the connection. (This parameter is not supported currently.) + |
+
support_feature + |
+Array of strings + |
+Lists the features supported by the connection. (This parameter is not supported currently.) + |
+
ies_id + |
+String + |
+Specifies the ID of an IES edge site. (This parameter is not supported currently.) + |
+
reason + |
+String + |
+Displays error information if the status of a line is Error. (This parameter is not supported currently.) + |
+
String + |
+Specifies the customer email information. (This parameter is not supported currently.) + |
+|
onestop_product_id + |
+String + |
+Specifies the product ID of a full-service connection. This parameter is used in line sales scenarios. (This parameter is not supported currently.) + |
+
building_line_product_id + |
+String + |
+Specifies the product ID of the line resource used in the equipment room. This parameter is used in line sales scenarios. (This parameter is not supported currently.) + |
+
last_onestop_product_id + |
+String + |
+Specifies the product ID of a full-service connection before the change. This parameter is used in line sales scenarios and used to save the last record when the line bandwidth is changed. (This parameter is not supported currently.) + |
+
last_building_line_product_id + |
+String + |
+Specifies the product ID of the line resource used in the equipment room before the change. This parameter is used in line sales scenarios and used to save the last record when the line bandwidth is changed. (This parameter is not supported currently.) + |
+
modified_bandwidth + |
+Integer + |
+Specifies the new bandwidth after the line bandwidth is changed. (This parameter is not supported currently.) + |
+
change_mode + |
+Integer + |
+Specifies the status of a renewal change. (This parameter is not supported currently.) + |
+
onestopdc_status + |
+String + |
+Specifies the status of a full-service connection. (This parameter is not supported currently.) + |
+
public_border_group + |
+String + |
+Specifies the public border group of the AZ, indicating whether the site is a HomeZones site. (This parameter is not supported currently.) + |
+
auto_renew + |
+Integer + |
+Specifies whether to automatically renew a yearly/monthly subscription. (This parameter is not supported currently.) + |
+
ratio_95peak + |
+Integer + |
+Specifies the percentage of the minimum bandwidth for 95th percentile billing. (This parameter is not supported currently.) +Minimum: 0 +Maximum: 100 + |
+
Querying details about a connection
+GET https://{dc_endpoint}/v3/6fbe9263116a4b68818cf1edce16bc4f/dcaas/direct-connects/6ecd9cf3-ca64-46c7-863f-f2eb1b9e838a+
Status code: 200
+OK
+{ + "direct_connect" : { + "bandwidth" : 100, + "create_time" : "2018-10-19T09:53:26.000Z", + "port_type" : "10G", + "id" : "6ecd9cf3-ca64-46c7-863f-f2eb1b9e838a", + "apply_time" : "2018-10-19T09:53:26.000Z", + "peer_location" : "", + "peer_port_type" : null, + "peer_provider" : null, + "location" : "Biere", + "provider" : "OTC", + "type" : "standard", + "status" : "BUILD", + "description" : "", + "provider_status" : "ACTIVE", + "order_id" : "", + "vlan" : null, + "device_id" : "172.16.40.2", + "name" : "direct connect1", + "admin_state_up" : true, + "tenant_id" : "6fbe9263116a4b68818cf1edce16bc4f", + "hosting_id" : null, + "product_id" : "", + "vgw_type" : "default", + "spec_code" : "100ge", + "charge_mode" : null, + "support_feature" : [ ], + "ies_id" : null, + "reason" : null, + "email" : "cloud@example.com", + "onestop_product_id" : null, + "building_line_product_id" : null, + "last_building_line_product_id" : null, + "last_onestop_product_id" : null, + "modified_bandwidth" : null, + "change_mode" : null, + "onestopdc_status" : null, + "public_border_group" : "center", + "auto_renew" : 0, + "ratio_95peak" : null + } +}+
Status Code + |
+Description + |
+
---|---|
200 + |
+OK + |
+
See Error Codes.
+This API is used to query a hosted connection of a partner.
+GET /v3/{project_id}/dcaas/hosted-connects/{hosted_connect_id}
+ +Parameter + |
+Mandatory + |
+Type + |
+Description + |
+
---|---|---|---|
project_id + |
+Yes + |
+String + |
+Specifies the project ID. + |
+
hosted_connect_id + |
+Yes + |
+String + |
+Specifies the hosted connection ID. +Minimum: 36 +Maximum: 36 + |
+
Parameter + |
+Mandatory + |
+Type + |
+Description + |
+
---|---|---|---|
limit + |
+No + |
+Integer + |
+Specifies the number of records returned on each page. Value range: 1 to 2000 +Minimum: 1 +Maximum: 2000 +Default: 2000 + |
+
marker + |
+No + |
+String + |
+Specifies the ID of the last resource record on the previous page. If this parameter is left blank, the first page is queried. This parameter must be used together with limit. +Minimum: 0 +Maximum: 36 + |
+
fields + |
+No + |
+Array + |
+Specifies the list of fields to be displayed. +Array Length: 1 - 5 + |
+
sort_dir + |
+No + |
+Array + |
+Specifies the sorting order of returned results, which can be asc (ascending order) or desc (descending order). The default value is asc. + |
+
sort_key + |
+No + |
+String + |
+Specifies the sorting field. +Default: id +Minimum: 0 +Maximum: 36 + |
+
hosting_id + |
+No + |
+Array + |
+Specifies operations connection ID by which hosted connections are filtered. +Array Length: 0 - 5 + |
+
Parameter + |
+Mandatory + |
+Type + |
+Description + |
+
---|---|---|---|
X-Auth-Token + |
+Yes + |
+String + |
+Specifies the user token. To obtain the token, see section "Obtaining the User Token" in the Identity and Access Management API Reference. The token is the value of X-Subject-Token in the response header. +Minimum: 0 +Maximum: 10240 + |
+
Status code: 200
+ +Parameter + |
+Type + |
+Description + |
+
---|---|---|
request_id + |
+String + |
+Specifies the request ID. + |
+
hosted_connect + |
+HostedDirectConnect object + |
+Specifies the parameters for creating a hosted connection. + |
+
Parameter + |
+Type + |
+Description + |
+
---|---|---|
id + |
+String + |
+Specifies the hosted connection ID. +Minimum: 36 +Maximum: 36 + |
+
tenant_id + |
+String + |
+Specifies the ID of the project that the instance belongs to. + |
+
name + |
+String + |
+Specifies the connection name. +Minimum: 0 +Maximum: 64 + |
+
description + |
+String + |
+Provides supplementary information about the connection. +Minimum: 0 +Maximum: 128 + |
+
bandwidth + |
+Integer + |
+Specifies the connection bandwidth in Mbit/s. +Minimum: 2 +Maximum: 400000 + |
+
location + |
+String + |
+Specifies information about the Direct Connect location. +Minimum: 0 +Maximum: 255 + |
+
peer_location + |
+String + |
+Specifies the location of the on-premises facility at the other end of the connection, specific to the street or data center name. +Minimum: 0 +Maximum: 255 + |
+
hosting_id + |
+String + |
+Specifies the ID of the operations connection on which the hosted connection is created. + |
+
provider + |
+String + |
+Specifies the provider of the leased line. + |
+
admin_state_up + |
+Boolean + |
+Specifies the administrative status, which can be true or false. +Default: true + |
+
vlan + |
+Integer + |
+Specifies the VLAN allocated to the hosted connection. +Minimum: 0 +Maximum: 3999 + |
+
status + |
+String + |
+Specifies the operating status of the hosted connection. The options are as follows: +
Enumeration values: +
|
+
apply_time + |
+String + |
+Specifies when the connection was requested. The UTC time format yyyy-MM-ddTHH:mm:ss.SSSZ is used. + |
+
create_time + |
+String + |
+Specifies when the connection was created. The UTC time format yyyy-MM-ddTHH:mm:ss.SSSZ is used. + |
+
provider_status + |
+String + |
+Specifies the status of the carrier's leased line. The status can be ACTIVE or DOWN. +Enumeration values: +
|
+
port_type + |
+String + |
+Specifies the type of the port used by the connection. The value can be 1G, 10G, 40G, or 100G. +Enumeration values: +
|
+
type + |
+String + |
+Specifies the type of a connection. The value can be standard (a standard connection), hosting (an operations connection) or hosted (a hosted connection). +Default: standard +Enumeration values: +
|
+
Querying details about a hosted connection created by a partner
+GET https://{dc_endpoint}/v3/6fbe9263116a4b68818cf1edce16bc4f/dcaas/hosted-connects/0278b472-ffa5-4eb3-8c0d-979d479f8ef6+
Status code: 200
+OK
+{ + "hosted_connect" : { + "id" : "0278b472-ffa5-4eb3-8c0d-979d479f8ef6", + "name" : "client-dc-faf1", + "description" : "", + "tenant_id" : "0605768a3300d5762f82c01180692873", + "hosting_id" : "2cfb53be-b05f-40d5-a2f8-3a59ac383836", + "vlan" : 441, + "bandwidth" : 10, + "location" : "Biere", + "peer_location" : "", + "provider" : "OTC", + "type" : "hosted", + "port_type" : "10G", + "provider_status" : "ACTIVE", + "status" : "ACTIVE", + "apply_time" : "2022-07-13T08:25:38.000Z", + "admin_state_up" : true, + "create_time" : "2022-07-13T08:25:38.000Z" + }, + "request_id" : "a59a3776faa1d055f8124dc7b0977a90" +}+
Status Code + |
+Description + |
+
---|---|
200 + |
+OK + |
+
See Error Codes.
+This API is used to query details about a specified virtual gateway.
+GET /v3/{project_id}/dcaas/virtual-gateways/{virtual_gateway_id}
+ +Parameter + |
+Mandatory + |
+Type + |
+Description + |
+
---|---|---|---|
project_id + |
+Yes + |
+String + |
+Specifies the project ID. + |
+
virtual_gateway_id + |
+Yes + |
+String + |
+Specifies the virtual gateway ID. + |
+
Parameter + |
+Mandatory + |
+Type + |
+Description + |
+
---|---|---|---|
fields + |
+No + |
+Array + |
+Specifies the list of fields to be displayed. +Array Length: 1 - 5 + |
+
Parameter + |
+Mandatory + |
+Type + |
+Description + |
+
---|---|---|---|
X-Auth-Token + |
+Yes + |
+String + |
+Specifies the user token. To obtain the token, see section "Obtaining the User Token" in the Identity and Access Management API Reference. The token is the value of X-Subject-Token in the response header. +Minimum: 0 +Maximum: 10240 + |
+
Status code: 200
+ +Parameter + |
+Type + |
+Description + |
+
---|---|---|
virtual_gateway + |
+VirtualGateway object + |
+Specifies parameters for creating a virtual gateway. + |
+
request_id + |
+String + |
+Specifies the request ID. + |
+
Parameter + |
+Type + |
+Description + |
+
---|---|---|
id + |
+String + |
+Specifies the virtual gateway ID. + |
+
vpc_id + |
+String + |
+Specifies the ID of the VPC connected by the virtual gateway. + |
+
enterprise_router_id + |
+String + |
+Specifies the ID of the enterprise router that the virtual gateway is attached to. + |
+
tenant_id + |
+String + |
+Specifies the ID of the project that the instance belongs to. +Minimum: 32 +Maximum: 32 + |
+
name + |
+String + |
+Specifies the virtual gateway name. +Minimum: 0 +Maximum: 64 + |
+
description + |
+String + |
+Provides supplementary information about the virtual gateway. +Minimum: 0 +Maximum: 128 + |
+
type + |
+String + |
+Specifies the virtual gateway type. The value can only be default. +Default: default + |
+
local_ep_group + |
+Array of strings + |
+Specifies the IPv4 subnets connected by the virtual gateway, which is usually the CIDR blocks of a VPC. + |
+
local_ep_group_ipv6 + |
+Array of strings + |
+Specifies the IPv6 subnets connected by the virtual gateway, which is usually the CIDR blocks of a VPC. This is a reserved field. + |
+
admin_state_up + |
+Boolean + |
+Specifies the administrative status, which can be true or false. +Default: true + |
+
status + |
+String + |
+Specifies the virtual gateway status, which can be ACTIVE, DOWN, BUILD, ERROR, PENDING_CREATE, PENDING_UPDATE, or PENDING_DELETE. + |
+
bgp_asn + |
+Integer + |
+Specifies the local BGP ASN of the virtual gateway. +Minimum: 1 +Maximum: 4294967295 + |
+
enterprise_project_id + |
+String + |
+Specifies the ID of the enterprise project that the virtual gateway belongs to. +Minimum: 36 +Maximum: 36 + |
+
device_id + |
+String + |
+Specifies the ID of the device that the virtual interface belongs to. + |
+
redundant_device_id + |
+String + |
+Specifies the ID of the redundant device. + |
+
public_border_group + |
+String + |
+Specifies the public border group of the AZ, indicating whether the site is a HomeZones site. + |
+
Querying a virtual gateway
+GET https://{dc_endpoint}/v3/0605768a3300d5762f82c01180692873/dcaas/virtual-gateways/20082c1b-3c99-48d8-8e8c-116af5d7e9f0+
Status code: 200
+OK
+{ + "virtual_gateway" : { + "id" : "20082c1b-3c99-48d8-8e8c-116af5d7e9f0", + "name" : "vgw-c7b22", + "description" : "", + "tenant_id" : "0605768a3300d5762f82c01180692873", + "vpc_id" : "6592c28e-95d7-4b0a-9f61-004fdf03420c", + "device_id" : "26.151.63.100", + "redundant_device_id" : "26.152.128.20", + "type" : "default", + "status" : "ACTIVE", + "admin_state_up" : true, + "bgp_asn" : 64512, + "local_ep_group" : [ "192.168.1.0/24" ], + "enterprise_project_id" : "0", + "public_border_group" : "center" + }, + "request_id" : "765f7aaf8f2edd0e719de564ef72e2de" +}+
{ + "virtual_gateway" : { + "name" : "vgw-er", + "id" : "7a91797a-cbda-42ff-9f42-73f26c993dd9", + "description" : "", + "tenant_id" : "92ea72fe26294aa180a2712c28e43c21", + "vpc_id" : null, + "enterprise_router_id" : "61fa53c9-4446-4ebd-89b9-11a52b653a9c", + "device_id" : "26.151.63.100", + "redundant_device_id" : "26.152.128.20", + "type" : "default", + "status" : "ACTIVE", + "admin_state_up" : true, + "bgp_asn" : 64512, + "local_ep_group" : null, + "local_ep_group_ipv6" : null, + "public_border_group" : null + }, + "request_id" : "765f7aaf8f2edd0e719de564e8765fg4" +}+
Status Code + |
+Description + |
+
---|---|
200 + |
+OK + |
+
See Error Codes.
+This API is used to querying details about a virtual interface.
+GET /v3/{project_id}/dcaas/virtual-interfaces/{virtual_interface_id}
+ +Parameter + |
+Mandatory + |
+Type + |
+Description + |
+
---|---|---|---|
project_id + |
+Yes + |
+String + |
+Specifies the project ID. + |
+
virtual_interface_id + |
+Yes + |
+String + |
+Specifies the virtual interface ID. +Minimum: 36 +Maximum: 36 + |
+
Parameter + |
+Mandatory + |
+Type + |
+Description + |
+
---|---|---|---|
fields + |
+No + |
+Array + |
+Specifies the list of fields to be displayed. +Array Length: 1 - 5 + |
+
Parameter + |
+Mandatory + |
+Type + |
+Description + |
+
---|---|---|---|
X-Auth-Token + |
+Yes + |
+String + |
+Specifies the user token. To obtain the token, see section "Obtaining the User Token" in the Identity and Access Management API Reference. The token is the value of X-Subject-Token in the response header. +Minimum: 0 +Maximum: 10240 + |
+
Status code: 200
+ +Parameter + |
+Type + |
+Description + |
+
---|---|---|
request_id + |
+String + |
+Specifies the request ID. + |
+
virtual_interface + |
+VirtualInterface object + |
+Specifies parameters for creating a virtual interface. + |
+
Parameter + |
+Type + |
+Description + |
+
---|---|---|
id + |
+String + |
+Specifies the virtual interface ID. +Maximum: 36 + |
+
name + |
+String + |
+Specifies the virtual interface name. +Maximum: 64 + |
+
admin_state_up + |
+Boolean + |
+Specifies the administrative status, which can be true or false. + |
+
bandwidth + |
+Integer + |
+Specifies the virtual interface bandwidth. +Minimum: 2 +Maximum: 2147483647 + |
+
create_time + |
+String + |
+Specifies the time when the virtual interface was created. The UTC time format yyyy-MM-ddTHH:mm:ss.SSSZ is used. +Maximum: 255 + |
+
description + |
+String + |
+Provides supplementary information about the virtual interface. +Maximum: 128 + |
+
direct_connect_id + |
+String + |
+Specifies the connection ID. +Maximum: 36 + |
+
service_type + |
+String + |
+Specifies the gateway type, which can be VGW, GDGW, or LGW. +Enumeration values: +
|
+
status + |
+String + |
+Specifies the operating status, which can be ACTIVE, DOWN, BUILD, ERROR, PENDING_CREATE, PENDING_UPDATE, PENDING_DELETE, DELETED, AUTHORIZATION, or REJECTED. + |
+
tenant_id + |
+String + |
+Specifies the project ID. +Minimum: 32 +Maximum: 32 + |
+
type + |
+String + |
+Specifies the type of the virtual interface. The value is private. +Default: private +Maximum: 255 +Enumeration values: +
|
+
vgw_id + |
+String + |
+Specifies the virtual gateway ID. +Minimum: 36 +Maximum: 36 + |
+
vlan + |
+Integer + |
+Specifies the VLAN for connecting to the user gateway. The value ranges from 0 to 3999. +Minimum: 0 +Maximum: 3999 + |
+
route_limit + |
+Integer + |
+Specifies the remote subnet route configurations of the virtual interface. +Minimum: 1 +Maximum: 200 +Default: 50 + |
+
enable_nqa + |
+Boolean + |
+Specifies whether to enable NQA. The value can be true or false. + |
+
enable_bfd + |
+Boolean + |
+Specifies whether to enable Bidirectional Forwarding Detection (BFD). The value can be true or false. + |
+
lag_id + |
+String + |
+Specifies the ID of the LAG associated with the virtual interface. +Minimum: 36 +Maximum: 36 + |
+
device_id + |
+String + |
+Specifies the ID of the device that the virtual interface belongs to. + |
+
enterprise_project_id + |
+String + |
+Specifies the ID of the enterprise project that the virtual interface belongs to. +Minimum: 36 +Maximum: 36 + |
+
local_gateway_v4_ip + |
+String + |
+Specifies the IPv4 interface address of the gateway used on the cloud. This parameter has been migrated to the vifpeer parameter list and will be discarded later. + |
+
remote_gateway_v4_ip + |
+String + |
+Specifies the IPv4 interface address of the gateway used on premises. This parameter has been migrated to the vifpeer parameter list and will be discarded later. + |
+
ies_id + |
+String + |
+Specifies the ID of an IES edge site. (This parameter is not supported currently.) + |
+
reason + |
+String + |
+Displays error information if the status of a line is Error. + |
+
rate_limit + |
+Boolean + |
+Specifies whether rate limiting is enabled on a virtual interface. + |
+
address_family + |
+String + |
+Specifies the address family of the virtual interface, which can be IPv4 or IPv6. This parameter has been migrated to the vifpeer parameter list and will be discarded later. + |
+
local_gateway_v6_ip + |
+String + |
+Specifies the IPv6 interface address of the gateway used on the cloud. This parameter has been migrated to the vifpeer parameter list and will be discarded later. + |
+
remote_gateway_v6_ip + |
+String + |
+Specifies the IPv6 interface address of the gateway used on premises. This parameter has been migrated to the vifpeer parameter list and will be discarded later. + |
+
lgw_id + |
+String + |
+Specifies the ID of the local gateway, which is used in IES scenarios. (This parameter is not supported currently.) + |
+
gateway_id + |
+String + |
+Specifies the ID of the gateway associated with the virtual interface. + |
+
remote_ep_group + |
+Array of strings + |
+Specifies the remote subnet list, which records the CIDR blocks used in the on-premises data center. This parameter has been migrated to the vifpeer parameter list and will be discarded later. + |
+
service_ep_group + |
+Array of strings + |
+Specifies the list of public network addresses that can be accessed by the on-premises data center. This field is required in the APIs of public network connections. This parameter has been migrated to the vifpeer parameter list and will be discarded later. + |
+
bgp_route_limit + |
+Integer + |
+Specifies the BGP route configuration. + |
+
priority + |
+String + |
+Specifies the priority of a virtual interface. The value can be normal or low. If the priorities are the same, the virtual interfaces work in load balancing mode. If the priorities are different, the virtual interfaces work in active/standby pairs. Outbound traffic is preferentially forwarded to the normal virtual interface with a higher priority. This option is only supported by virtual interfaces that use BGP routing. +Default: normal +Enumeration values: +
|
+
vif_peers + |
+Array of VifPeer objects + |
+Provides information about virtual interface peers. (This is a reserved parameter and is not supported currently.) + |
+
extend_attribute + |
+VifExtendAttribute object + |
+Provides extended parameter information. (This is a reserved parameter and is not supported currently.) + |
+
Parameter + |
+Type + |
+Description + |
+
---|---|---|
id + |
+String + |
+Specifies the resource ID. +Minimum: 36 +Maximum: 36 + |
+
tenant_id + |
+String + |
+Specifies the ID of the project that the virtual interface peer belongs to. +Minimum: 36 +Maximum: 36 + |
+
name + |
+String + |
+Specifies the name of the virtual interface peer. +Minimum: 0 +Maximum: 64 + |
+
description + |
+String + |
+Provides supplementary information about the virtual interface peer. +Minimum: 0 +Maximum: 128 + |
+
address_family + |
+String + |
+Specifies the address family type of the virtual interface, which can be IPv4 or IPv6. + |
+
local_gateway_ip + |
+String + |
+Specifies the address of the virtual interface peer used on the cloud. + |
+
remote_gateway_ip + |
+String + |
+Specifies the address of the virtual interface peer used in the on-premises data center. + |
+
route_mode + |
+String + |
+Specifies the routing mode, which can be static or bgp. +Maximum: 255 +Enumeration values: +
|
+
bgp_asn + |
+Integer + |
+Specifies the ASN of the BGP peer. +Minimum: 1 +Maximum: 4294967295 + |
+
bgp_md5 + |
+String + |
+Specifies the MD5 password of the BGP peer. + |
+
remote_ep_group + |
+Array of strings + |
+Specifies the remote subnet list, which records the CIDR blocks used in the on-premises data center. + |
+
service_ep_group + |
+Array of strings + |
+Specifies the list of public network addresses that can be accessed by the on-premises data center. This field is required in the APIs of public network connections. + |
+
device_id + |
+String + |
+Specifies the ID of the device that the virtual interface peer belongs to. + |
+
bgp_route_limit + |
+Integer + |
+Specifies the BGP route configuration. + |
+
bgp_status + |
+String + |
+Specifies the BGP protocol status of the virtual interface peer. If the virtual interface peer uses static routing, the status is null. +Maximum: 10 + |
+
status + |
+String + |
+Specifies the status of the virtual interface peer. + |
+
vif_id + |
+String + |
+Specifies the ID of the virtual interface corresponding to the virtual interface peer. +Minimum: 36 +Maximum: 36 + |
+
receive_route_num + |
+Integer + |
+Specifies the number of received BGP routes if BGP routing is used. If static routing is used, this parameter is meaningless and the value is -1. Note: If this parameter cannot be obtained, contact customer service to migrate your ports. + |
+
enable_nqa + |
+Boolean + |
+Specifies whether to enable NQA. The value can be true or false. + |
+
enable_bfd + |
+Boolean + |
+Specifies whether to enable BFD. The value can be true or false. + |
+
Parameter + |
+Type + |
+Description + |
+
---|---|---|
ha_type + |
+String + |
+Specifies the availability detection type of the virtual interface. +Enumeration values: +
|
+
ha_mode + |
+String + |
+Specifies the availability detection mode. +Enumeration values: +
|
+
detect_multiplier + |
+Integer + |
+Specifies the number of detection retries. +Default: 5 + |
+
min_rx_interval + |
+Integer + |
+Specifies the interval for receiving detection packets. +Default: 1000 + |
+
min_tx_interval + |
+Integer + |
+Specifies the interval for sending detection packets. +Default: 1000 + |
+
remote_disclaim + |
+Integer + |
+Specifies the remote identifier of the static BFD session. + |
+
local_disclaim + |
+Integer + |
+Specifies the local identifier of the static BFD session. + |
+
Querying a virtual interface
+POST https://{dc_endpoint}/v3/0605768a3300d5762f82c01180692873/dcaas/virtual-interfaces/0d0fdf63-f2c4-491c-8866-d504796189be+
Status code: 200
+OK
+{ + "virtual_interface" : { + "id" : "0d0fdf63-f2c4-491c-8866-d504796189be", + "name" : "vif-0819", + "description" : "", + "tenant_id" : "0605768a3300d5762f82c01180692873", + "direct_connect_id" : "4673e339-8412-4ee1-b73e-2ba9cdfa54c1", + "vgw_id" : "8a47064a-f34c-4f94-b7fe-cac456c9b37b", + "type" : "private", + "service_type" : "VGW", + "vlan" : 332, + "bandwidth" : 2, + "status" : "ACTIVE", + "create_time" : "2022-08-19T11:28:06.000Z", + "admin_state_up" : true, + "enable_bfd" : false, + "route_limit" : 50, + "enable_nqa" : false, + "local_gateway_v4_ip" : "1.1.1.1/30", + "remote_gateway_v4_ip" : "1.1.1.2/30", + "ies_id" : null, + "reason" : null, + "rate_limit" : false, + "address_family" : "ipv4", + "local_gateway_v6_ip" : null, + "remote_gateway_v6_ip" : null, + "lgw_id" : null, + "lag_id" : null, + "gateway_id" : null, + "remote_ep_group" : [ "1.1.2.0/30" ], + "service_ep_group" : [ ], + "bgp_route_limit" : 100, + "priority" : "normal", + "vif_peers" : [ { + "id" : "c768eb52-12a8-4859-9b43-81194643040c", + "tenant_id" : "0605768a3300d5762f82c01180692873", + "name" : "vif-0819", + "description" : "", + "address_family" : "ipv4", + "local_gateway_ip" : "1.1.1.1/30", + "remote_gateway_ip" : "1.1.1.2/30", + "route_mode" : "static", + "bgp_asn" : null, + "bgp_md5" : null, + "device_id" : "18.9.215.131", + "bgp_route_limit" : 100, + "bgp_status" : null, + "status" : "ACTIVE", + "vif_id" : "0d0fdf63-f2c4-491c-8866-d504796189be", + "receive_route_num" : -1, + "remote_ep_group" : [ "1.1.2.0/30" ], + "service_ep_group" : null, + "enable_bfd" : false, + "enable_nqa" : false + } ], + "enterprise_project_id" : "0" + }, + "request_id" : "5633df7af874576d819a481c76673236" +}+
Status Code + |
+Description + |
+
---|---|
200 + |
+OK + |
+
See Error Codes.
+This API is used to update a connection, including updating its name and description.
+PUT /v3/{project_id}/dcaas/direct-connects/{direct_connect_id}
+ +Parameter + |
+Mandatory + |
+Type + |
+Description + |
+
---|---|---|---|
direct_connect_id + |
+Yes + |
+String + |
+Specifies the connection ID. +Minimum: 36 +Maximum: 36 + |
+
project_id + |
+Yes + |
+String + |
+Specifies the project ID. + |
+
Parameter + |
+Mandatory + |
+Type + |
+Description + |
+
---|---|---|---|
X-Auth-Token + |
+Yes + |
+String + |
+Specifies the user token. To obtain the token, see section "Obtaining the User Token" in the Identity and Access Management API Reference. The token is the value of X-Subject-Token in the response header. +Minimum: 0 +Maximum: 10240 + |
+
Parameter + |
+Mandatory + |
+Type + |
+Description + |
+
---|---|---|---|
direct_connect + |
+No + |
+UpdateDirectConnect object + |
+Specifies parameters required for updating a connection. + |
+
Parameter + |
+Mandatory + |
+Type + |
+Description + |
+
---|---|---|---|
name + |
+No + |
+String + |
+Specifies the connection name. +Minimum: 0 +Maximum: 64 + |
+
description + |
+No + |
+String + |
+Provides supplementary information about the connection. +Minimum: 0 +Maximum: 128 + |
+
bandwidth + |
+No + |
+Integer + |
+Specifies the bandwidth size of the hosted connection in Mbit/s. The bandwidth of a standard or operations connection cannot be reduced. +Minimum: 2 +Maximum: 100000 + |
+
peer_location + |
+No + |
+String + |
+Specifies the location of the on-premises facility at the other end of the connection, specific to the street or data center name. +Minimum: 0 +Maximum: 255 + |
+
status + |
+No + |
+String + |
+Specifies the resource status, which can be PENDING_PAY or APPLY. +Enumeration values: +
|
+
provider_status + |
+No + |
+String + |
+Specifies the carrier status, which can be ACTIVE or DOWN. +Enumeration values: +
|
+
Status code: 200
+ +Parameter + |
+Type + |
+Description + |
+
---|---|---|
request_id + |
+String + |
+Specifies the request ID. + |
+
direct_connect + |
+DirectConnect object + |
+Specifies parameters for creating a connection. + |
+
Parameter + |
+Type + |
+Description + |
+
---|---|---|
id + |
+String + |
+Specifies the connection ID. + |
+
tenant_id + |
+String + |
+Specifies the ID of the project that the instance belongs to. + |
+
name + |
+String + |
+Specifies the connection name. +Minimum: 0 +Maximum: 64 + |
+
description + |
+String + |
+Provides supplementary information about the connection. +Minimum: 0 +Maximum: 128 + |
+
port_type + |
+String + |
+Specifies the type of the port used by the connection. The value can be 1G, 10G, 40G, or 100G. +Enumeration values: +
|
+
bandwidth + |
+Integer + |
+Specifies the connection bandwidth in Mbit/s. +Minimum: 2 +Maximum: 100000 + |
+
location + |
+String + |
+Specifies information about the Direct Connect location. +Minimum: 0 +Maximum: 255 + |
+
peer_location + |
+String + |
+Specifies the location of the on-premises facility at the other end of the connection, specific to the street or data center name. +Minimum: 0 +Maximum: 255 + |
+
device_id + |
+String + |
+Specifies the ID of the device connected to the connection. +Minimum: 0 +Maximum: 36 + |
+
type + |
+String + |
+Specifies the type of a connection. The value can be standard (a standard connection), hosting (an operations connection) or hosted (a hosted connection). +Default: standard +Enumeration values: +
|
+
hosting_id + |
+String + |
+Specifies the ID of the operations connection on which the hosted connection is created. + |
+
charge_mode + |
+String + |
+Specifies the billing mode, which can be prepayment, bandwidth, or traffic. +Enumeration values: +
|
+
provider + |
+String + |
+Specifies the line carrier of a connection. + |
+
admin_state_up + |
+Boolean + |
+Specifies the administrative status, which can be true or false. +Default: true + |
+
vlan + |
+Integer + |
+Specifies the VLAN allocated to the hosted connection. +Minimum: 0 +Maximum: 3999 + |
+
status + |
+String + |
+Specifies the connection status. The options are as follows: ACTIVE: The connection is in the normal state. DOWN: The port for the connection is in the down state, which may cause line faults. BUILD: Operations related to the connection are being performed. ERROR: The connection configuration is incorrect. Contact customer service to rectify the fault. PENDING_DELETE: The connection is being deleted. DELETED: The connection has been deleted. APPLY: A request for a connection is submitted. DENY: A site survey is rejected because the customer fails to meet the requirements. PENDING_PAY: The order for the connection is to be paid. PAID: The order for the connection has been paid. PENDING_SURVEY: A site survey is required for the connection. +Enumeration values: +
|
+
apply_time + |
+String + |
+Specifies when the connection was requested. The UTC time format yyyy-MM-ddTHH:mm:ss.SSSZ is used. + |
+
create_time + |
+String + |
+Specifies when the connection was created. The UTC time format yyyy-MM-ddTHH:mm:ss.SSSZ is used. + |
+
provider_status + |
+String + |
+Specifies the status of the carrier's leased line. The status can be ACTIVE or DOWN. +Enumeration values: +
|
+
peer_port_type + |
+String + |
+Specifies the peer port type. + |
+
peer_provider + |
+String + |
+Specifies the carrier connected to the connection. + |
+
order_id + |
+String + |
+Specifies the connection order ID, which is used to support duration-based billing and identify user orders. + |
+
product_id + |
+String + |
+Specifies the product ID corresponding to the connection's order, which is used to custom billing policies such as duration-based packages. + |
+
spec_code + |
+String + |
+Specifies the product specifications corresponding to the connection's order, which is used to custom billing policies such as duration-based packages. + |
+
period_type + |
+Integer + |
+Specifies whether a connection in a specified order is billed by year or month. + |
+
period_num + |
+Integer + |
+Specifies the required service duration of a yearly/monthly connection. + |
+
vgw_type + |
+String + |
+Specifies the gateway type required by a direct connection. +Default: default +Enumeration values: +
|
+
lag_id + |
+String + |
+Specifies the ID of the LAG that the connection belongs to. + |
+
enterprise_project_id + |
+String + |
+Specifies the ID of the enterprise project that the connection belongs to. +Minimum: 36 +Maximum: 36 + |
+
locales + |
+LocalesBody object + |
+Specifies the region of the connection. (This parameter is not supported currently.) + |
+
support_feature + |
+Array of strings + |
+Lists the features supported by the connection. (This parameter is not supported currently.) + |
+
ies_id + |
+String + |
+Specifies the ID of an IES edge site. (This parameter is not supported currently.) + |
+
reason + |
+String + |
+Displays error information if the status of a line is Error. (This parameter is not supported currently.) + |
+
String + |
+Specifies the customer email information. (This parameter is not supported currently.) + |
+|
onestop_product_id + |
+String + |
+Specifies the product ID of a full-service connection. This parameter is used in line sales scenarios. (This parameter is not supported currently.) + |
+
building_line_product_id + |
+String + |
+Specifies the product ID of the line resource used in the equipment room. This parameter is used in line sales scenarios. (This parameter is not supported currently.) + |
+
last_onestop_product_id + |
+String + |
+Specifies the product ID of a full-service connection before the change. This parameter is used in line sales scenarios and used to save the last record when the line bandwidth is changed. (This parameter is not supported currently.) + |
+
last_building_line_product_id + |
+String + |
+Specifies the product ID of the line resource used in the equipment room before the change. This parameter is used in line sales scenarios and used to save the last record when the line bandwidth is changed. (This parameter is not supported currently.) + |
+
modified_bandwidth + |
+Integer + |
+Specifies the new bandwidth after the line bandwidth is changed. (This parameter is not supported currently.) + |
+
change_mode + |
+Integer + |
+Specifies the status of a renewal change. (This parameter is not supported currently.) + |
+
onestopdc_status + |
+String + |
+Specifies the status of a full-service connection. (This parameter is not supported currently.) + |
+
public_border_group + |
+String + |
+Specifies the public border group of the AZ, indicating whether the site is a HomeZones site. (This parameter is not supported currently.) + |
+
auto_renew + |
+Integer + |
+Specifies whether to automatically renew a yearly/monthly subscription. (This parameter is not supported currently.) + |
+
ratio_95peak + |
+Integer + |
+Specifies the percentage of the minimum bandwidth for 95th percentile billing. (This parameter is not supported currently.) +Minimum: 0 +Maximum: 100 + |
+
Updating the name and description of a connection
+PUT https://{dc_endpoint}/v3/6fbe9263116a4b68818cf1edce16bc4f/dcaas/direct-connects/6ecd9cf3-ca64-46c7-863f-f2eb1b9e838a + +{ + "direct_connect" : { + "description" : "", + "name" : "direct connect1" + } +}+
Status code: 200
+OK
+{ + "request_id" : "9a4f4dfc4fb2fc101e65bba07d908535", + "direct_connect" : { + "bandwidth" : 100, + "create_time" : "2018-10-19T09:53:26.000Z", + "port_type" : "10G", + "id" : "6ecd9cf3-ca64-46c7-863f-f2eb1b9e838a", + "apply_time" : "2018-10-19T09:53:26.000Z", + "peer_location" : "", + "peer_port_type" : null, + "peer_provider" : null, + "location" : "Biere", + "provider" : "OTC", + "type" : "standard", + "status" : "BUILD", + "description" : "", + "provider_status" : "ACTIVE", + "order_id" : "", + "vlan" : null, + "device_id" : "172.16.40.2", + "name" : "direct connect1", + "admin_state_up" : true, + "tenant_id" : "6fbe9263116a4b68818cf1edce16bc4f", + "hosting_id" : null, + "product_id" : "", + "vgw_type" : "default", + "spec_code" : "100ge", + "charge_mode" : null, + "support_feature" : [ ], + "ies_id" : null, + "reason" : null, + "email" : "cloud@example.com", + "onestop_product_id" : null, + "building_line_product_id" : null, + "last_building_line_product_id" : null, + "last_onestop_product_id" : null, + "modified_bandwidth" : null, + "change_mode" : null, + "onestopdc_status" : null, + "public_border_group" : "center", + "auto_renew" : 0, + "ratio_95peak" : null + } +}+
Status Code + |
+Description + |
+
---|---|
200 + |
+OK + |
+
See Error Codes.
+Updating a hosted connection by a partner
+PUT /v3/{project_id}/dcaas/hosted-connects/{hosted_connect_id}
+ +Parameter + |
+Mandatory + |
+Type + |
+Description + |
+
---|---|---|---|
project_id + |
+Yes + |
+String + |
+Specifies the project ID. + |
+
hosted_connect_id + |
+Yes + |
+String + |
+Specifies the hosted connection ID. +Minimum: 36 +Maximum: 36 + |
+
Parameter + |
+Mandatory + |
+Type + |
+Description + |
+
---|---|---|---|
X-Auth-Token + |
+Yes + |
+String + |
+Specifies the user token. To obtain the token, see section "Obtaining the User Token" in the Identity and Access Management API Reference. The token is the value of X-Subject-Token in the response header. +Minimum: 0 +Maximum: 10240 + |
+
Parameter + |
+Mandatory + |
+Type + |
+Description + |
+
---|---|---|---|
hosted_connect + |
+No + |
+UpdateHostedDirectConnect object + |
+Specifies parameters required for updating a hosted connection. + |
+
Parameter + |
+Mandatory + |
+Type + |
+Description + |
+
---|---|---|---|
name + |
+No + |
+String + |
+Specifies the connection name. +Minimum: 0 +Maximum: 64 + |
+
description + |
+No + |
+String + |
+Provides supplementary information about the connection. +Minimum: 0 +Maximum: 128 + |
+
bandwidth + |
+No + |
+Integer + |
+Specifies the bandwidth size of the hosted connection in Mbit/s. +Minimum: 2 +Maximum: 400000 + |
+
peer_location + |
+No + |
+String + |
+Specifies the location of the on-premises facility at the other end of the connection, specific to the street or data center name. +Minimum: 0 +Maximum: 255 + |
+
Status code: 200
+ +Parameter + |
+Type + |
+Description + |
+
---|---|---|
request_id + |
+String + |
+Specifies the request ID. + |
+
hosted_connect + |
+HostedDirectConnect object + |
+Specifies the parameters for creating a hosted connection. + |
+
Parameter + |
+Type + |
+Description + |
+
---|---|---|
id + |
+String + |
+Specifies the hosted connection ID. +Minimum: 36 +Maximum: 36 + |
+
tenant_id + |
+String + |
+Specifies the ID of the project that the instance belongs to. + |
+
name + |
+String + |
+Specifies the connection name. +Minimum: 0 +Maximum: 64 + |
+
description + |
+String + |
+Provides supplementary information about the connection. +Minimum: 0 +Maximum: 128 + |
+
bandwidth + |
+Integer + |
+Specifies the connection bandwidth in Mbit/s. +Minimum: 2 +Maximum: 400000 + |
+
location + |
+String + |
+Specifies information about the Direct Connect location. +Minimum: 0 +Maximum: 255 + |
+
peer_location + |
+String + |
+Specifies the location of the on-premises facility at the other end of the connection, specific to the street or data center name. +Minimum: 0 +Maximum: 255 + |
+
hosting_id + |
+String + |
+Specifies the ID of the operations connection on which the hosted connection is created. + |
+
provider + |
+String + |
+Specifies the provider of the leased line. + |
+
admin_state_up + |
+Boolean + |
+Specifies the administrative status, which can be true or false. +Default: true + |
+
vlan + |
+Integer + |
+Specifies the VLAN allocated to the hosted connection. +Minimum: 0 +Maximum: 3999 + |
+
status + |
+String + |
+Specifies the operating status of the hosted connection. The options are as follows: +
Enumeration values: +
|
+
apply_time + |
+String + |
+Specifies when the connection was requested. The UTC time format yyyy-MM-ddTHH:mm:ss.SSSZ is used. + |
+
create_time + |
+String + |
+Specifies when the connection was created. The UTC time format yyyy-MM-ddTHH:mm:ss.SSSZ is used. + |
+
provider_status + |
+String + |
+Specifies the status of the carrier's leased line. The status can be ACTIVE or DOWN. +Enumeration values: +
|
+
port_type + |
+String + |
+Specifies the type of the port used by the connection. The value can be 1G, 10G, 40G, or 100G. +Enumeration values: +
|
+
type + |
+String + |
+Specifies the type of a connection. The value can be standard (a standard connection), hosting (an operations connection) or hosted (a hosted connection). +Default: standard +Enumeration values: +
|
+
Updating the name and description of a hosted connection
+PUT https://{dc_endpoint}/v3/6fbe9263116a4b68818cf1edce16bc4f/dcaas/hosted-connects/0278b472-ffa5-4eb3-8c0d-979d479f8ef6 + +{ + "hosted_connect" : { + "name" : "client-dc-faf1", + "description" : "" + } +}+
Status code: 200
+OK
+{ + "hosted_connect" : { + "id" : "0278b472-ffa5-4eb3-8c0d-979d479f8ef6", + "name" : "client-dc-faf1", + "description" : "", + "tenant_id" : "0605768a3300d5762f82c01180692873", + "hosting_id" : "2cfb53be-b05f-40d5-a2f8-3a59ac383836", + "vlan" : 441, + "bandwidth" : 10, + "location" : "Biere", + "peer_location" : "", + "provider" : "OTC", + "type" : "hosted", + "port_type" : "10G", + "provider_status" : "ACTIVE", + "status" : "ACTIVE", + "apply_time" : "2022-07-13T08:25:38.000Z", + "admin_state_up" : true, + "create_time" : "2022-07-13T08:25:38.000Z" + }, + "request_id" : "a59a3776faa1d055f8124dc7b0977a90" +}+
Status Code + |
+Description + |
+
---|---|
200 + |
+OK + |
+
See Error Codes.
+This API is used to update a virtual gateway.
+PUT /v3/{project_id}/dcaas/virtual-gateways/{virtual_gateway_id}
+ +Parameter + |
+Mandatory + |
+Type + |
+Description + |
+
---|---|---|---|
project_id + |
+Yes + |
+String + |
+Specifies the project ID. + |
+
virtual_gateway_id + |
+Yes + |
+String + |
+Specifies the virtual gateway ID. + |
+
Parameter + |
+Mandatory + |
+Type + |
+Description + |
+
---|---|---|---|
X-Auth-Token + |
+Yes + |
+String + |
+Specifies the user token. To obtain the token, see section "Obtaining the User Token" in the Identity and Access Management API Reference. The token is the value of X-Subject-Token in the response header. +Minimum: 0 +Maximum: 10240 + |
+
Parameter + |
+Mandatory + |
+Type + |
+Description + |
+
---|---|---|---|
virtual_gateway + |
+No + |
+UpdateVirtualGateway object + |
+Specifies the virtual gateway to be updated. + |
+
Parameter + |
+Mandatory + |
+Type + |
+Description + |
+
---|---|---|---|
name + |
+No + |
+String + |
+Specifies the virtual gateway name. +Minimum: 0 +Maximum: 64 + |
+
description + |
+No + |
+String + |
+Provides supplementary information about the virtual gateway. +Minimum: 0 +Maximum: 128 + |
+
local_ep_group + |
+No + |
+Array of strings + |
+Lists the IPv4 subnets that can be accessed over the virtual gateway. Generally, the list contains the subnet CIDR blocks of the associated VPC. The list can be updated only when the virtual gateway is associated with the VPC. +Array Length: 1 - 200 + |
+
local_ep_group_ipv6 + |
+No + |
+Array of strings + |
+Lists the IPv6 subnets that can be accessed using the virtual gateway. Usually, the subnets are those in the VPC associated with the virtual gateway. (This is a reserved parameter and is not supported currently.) +Array Length: 1 - 50 + |
+
Status code: 200
+ +Parameter + |
+Type + |
+Description + |
+
---|---|---|
virtual_gateway + |
+VirtualGateway object + |
+Specifies parameters for creating a virtual gateway. + |
+
request_id + |
+String + |
+Specifies the request ID. + |
+
Parameter + |
+Type + |
+Description + |
+
---|---|---|
id + |
+String + |
+Specifies the virtual gateway ID. + |
+
vpc_id + |
+String + |
+Specifies the ID of the VPC connected by the virtual gateway. + |
+
enterprise_router_id + |
+String + |
+Specifies the ID of the enterprise router that the virtual gateway is attached to. + |
+
tenant_id + |
+String + |
+Specifies the ID of the project that the instance belongs to. +Minimum: 32 +Maximum: 32 + |
+
name + |
+String + |
+Specifies the virtual gateway name. +Minimum: 0 +Maximum: 64 + |
+
description + |
+String + |
+Provides supplementary information about the virtual gateway. +Minimum: 0 +Maximum: 128 + |
+
type + |
+String + |
+Specifies the virtual gateway type. The value can only be default. +Default: default + |
+
local_ep_group + |
+Array of strings + |
+Specifies the IPv4 subnets connected by the virtual gateway, which is usually the CIDR blocks of a VPC. + |
+
local_ep_group_ipv6 + |
+Array of strings + |
+Specifies the IPv6 subnets connected by the virtual gateway, which is usually the CIDR blocks of a VPC. This is a reserved field. + |
+
admin_state_up + |
+Boolean + |
+Specifies the administrative status, which can be true or false. +Default: true + |
+
status + |
+String + |
+Specifies the virtual gateway status, which can be ACTIVE, DOWN, BUILD, ERROR, PENDING_CREATE, PENDING_UPDATE, or PENDING_DELETE. + |
+
bgp_asn + |
+Integer + |
+Specifies the local BGP ASN of the virtual gateway. +Minimum: 1 +Maximum: 4294967295 + |
+
enterprise_project_id + |
+String + |
+Specifies the ID of the enterprise project that the virtual gateway belongs to. +Minimum: 36 +Maximum: 36 + |
+
device_id + |
+String + |
+Specifies the ID of the device that the virtual interface belongs to. + |
+
redundant_device_id + |
+String + |
+Specifies the ID of the redundant device. + |
+
public_border_group + |
+String + |
+Specifies the public border group of the AZ, indicating whether the site is a HomeZones site. + |
+
Updating the name and description of a virtual gateway and changing its IPv4 subnet to 192.168.3.0/24
+PUT https://{dc_endpoint}/v3/0605768a3300d5762f82c01180692873/dcaas/virtual-gateways/20082c1b-3c99-48d8-8e8c-116af5d7e9f0 + +{ + "virtual_gateway" : { + "name" : "update-vgw-c7b22", + "description" : "", + "local_ep_group" : [ "192.168.3.0/24" ] + } +}+
Status code: 200
+OK
+{ + "virtual_gateway" : { + "id" : "20082c1b-3c99-48d8-8e8c-116af5d7e9f0", + "name" : "update-vgw-c7b22", + "description" : "", + "tenant_id" : "0605768a3300d5762f82c01180692873", + "vpc_id" : "6592c28e-95d7-4b0a-9f61-004fdf03420c", + "device_id" : "26.151.63.100", + "redundant_device_id" : "26.152.128.20", + "type" : "default", + "status" : "ACTIVE", + "admin_state_up" : true, + "bgp_asn" : 64512, + "local_ep_group" : [ "192.168.3.0/24" ], + "enterprise_project_id" : "0", + "public_border_group" : "center" + }, + "request_id" : "765f7aaf8f2edd0e719de564ef72e2de" +}+
{ + "virtual_gateway" : { + "name" : "update-vgw-c7b22", + "id" : "7a91797a-cbda-42ff-9f42-73f26c993dd9", + "description" : "", + "tenant_id" : "92ea72fe26294aa180a2712c28e43c21", + "vpc_id" : null, + "enterprise_router_id" : "61fa53c9-4446-4ebd-89b9-11a52b653a9c", + "device_id" : "26.151.63.100", + "redundant_device_id" : "26.152.128.20", + "type" : "default", + "status" : "ACTIVE", + "admin_state_up" : true, + "bgp_asn" : 64512, + "local_ep_group" : [ "192.168.3.0/24" ], + "local_ep_group_ipv6" : null, + "public_border_group" : null + }, + "request_id" : "765f7aaf8f2edd0e719de564e87g452f" +}+
Status Code + |
+Description + |
+
---|---|
200 + |
+OK + |
+
See Error Codes.
+This API is used to update a virtual interface.
+PUT /v3/{project_id}/dcaas/virtual-interfaces/{virtual_interface_id}
+ +Parameter + |
+Mandatory + |
+Type + |
+Description + |
+
---|---|---|---|
project_id + |
+Yes + |
+String + |
+Specifies the project ID. + |
+
virtual_interface_id + |
+Yes + |
+String + |
+Specifies the virtual interface ID. +Minimum: 36 +Maximum: 36 + |
+
Parameter + |
+Mandatory + |
+Type + |
+Description + |
+
---|---|---|---|
X-Auth-Token + |
+Yes + |
+String + |
+Specifies the user token. To obtain the token, see section "Obtaining the User Token" in the Identity and Access Management API Reference. The token is the value of X-Subject-Token in the response header. +Minimum: 0 +Maximum: 10240 + |
+
Parameter + |
+Mandatory + |
+Type + |
+Description + |
+
---|---|---|---|
virtual_interface + |
+Yes + |
+UpdateVirtualInterface object + |
+Virtual interface objects to be updated + |
+
Parameter + |
+Mandatory + |
+Type + |
+Description + |
+
---|---|---|---|
name + |
+No + |
+String + |
+Specifies the virtual interface name. +Minimum: 0 +Maximum: 64 + |
+
description + |
+No + |
+String + |
+Provides supplementary information about the virtual interface. +Minimum: 0 +Maximum: 128 + |
+
bandwidth + |
+No + |
+Integer + |
+Specifies the virtual interface bandwidth configuration. +Minimum: 2 +Maximum: 2147483647 + |
+
remote_ep_group + |
+No + |
+Array of strings + |
+Specifies the remote subnet list, which records the CIDR blocks used in the on-premises data center. + |
+
service_ep_group + |
+No + |
+Array of strings + |
+Specifies the local endpoint group that is connected to the public network over a connection. (This is a reserved parameter and is not supported currently.) + |
+
enable_bfd + |
+No + |
+Boolean + |
+Specifies whether to enable BFD. The value can be true or false. (This is a reserved parameter and is not supported currently.) + |
+
enable_nqa + |
+No + |
+Boolean + |
+Specifies whether to enable NQA. The value can be true or false. (This is a reserved parameter and is not supported currently.) + |
+
status + |
+No + |
+String + |
+Confirms the virtual interfaces created by other users. The value can be ACCEPTED or REJECTED. +Enumeration values: +
|
+
Status code: 200
+ +Parameter + |
+Type + |
+Description + |
+
---|---|---|
request_id + |
+String + |
+Specifies the request ID. + |
+
virtual_interface + |
+VirtualInterface object + |
+Specifies parameters for creating a virtual interface. + |
+
Parameter + |
+Type + |
+Description + |
+
---|---|---|
id + |
+String + |
+Specifies the virtual interface ID. +Maximum: 36 + |
+
name + |
+String + |
+Specifies the virtual interface name. +Maximum: 64 + |
+
admin_state_up + |
+Boolean + |
+Specifies the administrative status, which can be true or false. + |
+
bandwidth + |
+Integer + |
+Specifies the virtual interface bandwidth. +Minimum: 2 +Maximum: 2147483647 + |
+
create_time + |
+String + |
+Specifies the time when the virtual interface was created. The UTC time format yyyy-MM-ddTHH:mm:ss.SSSZ is used. +Maximum: 255 + |
+
description + |
+String + |
+Provides supplementary information about the virtual interface. +Maximum: 128 + |
+
direct_connect_id + |
+String + |
+Specifies the connection ID. +Maximum: 36 + |
+
service_type + |
+String + |
+Specifies the gateway type, which can be VGW, GDGW, or LGW. +Enumeration values: +
|
+
status + |
+String + |
+Specifies the operating status, which can be ACTIVE, DOWN, BUILD, ERROR, PENDING_CREATE, PENDING_UPDATE, PENDING_DELETE, DELETED, AUTHORIZATION, or REJECTED. + |
+
tenant_id + |
+String + |
+Specifies the project ID. +Minimum: 32 +Maximum: 32 + |
+
type + |
+String + |
+Specifies the type of the virtual interface. The value is private. +Default: private +Maximum: 255 +Enumeration values: +
|
+
vgw_id + |
+String + |
+Specifies the virtual gateway ID. +Minimum: 36 +Maximum: 36 + |
+
vlan + |
+Integer + |
+Specifies the VLAN for connecting to the user gateway. The value ranges from 0 to 3999. +Minimum: 0 +Maximum: 3999 + |
+
route_limit + |
+Integer + |
+Specifies the remote subnet route configurations of the virtual interface. +Minimum: 1 +Maximum: 200 +Default: 50 + |
+
enable_nqa + |
+Boolean + |
+Specifies whether to enable NQA. The value can be true or false. + |
+
enable_bfd + |
+Boolean + |
+Specifies whether to enable Bidirectional Forwarding Detection (BFD). The value can be true or false. + |
+
lag_id + |
+String + |
+Specifies the ID of the LAG associated with the virtual interface. +Minimum: 36 +Maximum: 36 + |
+
device_id + |
+String + |
+Specifies the ID of the device that the virtual interface belongs to. + |
+
enterprise_project_id + |
+String + |
+Specifies the ID of the enterprise project that the virtual interface belongs to. +Minimum: 36 +Maximum: 36 + |
+
local_gateway_v4_ip + |
+String + |
+Specifies the IPv4 interface address of the gateway used on the cloud. This parameter has been migrated to the vifpeer parameter list and will be discarded later. + |
+
remote_gateway_v4_ip + |
+String + |
+Specifies the IPv4 interface address of the gateway used on premises. This parameter has been migrated to the vifpeer parameter list and will be discarded later. + |
+
ies_id + |
+String + |
+Specifies the ID of an IES edge site. (This parameter is not supported currently.) + |
+
reason + |
+String + |
+Displays error information if the status of a line is Error. + |
+
rate_limit + |
+Boolean + |
+Specifies whether rate limiting is enabled on a virtual interface. + |
+
address_family + |
+String + |
+Specifies the address family of the virtual interface, which can be IPv4 or IPv6. This parameter has been migrated to the vifpeer parameter list and will be discarded later. + |
+
local_gateway_v6_ip + |
+String + |
+Specifies the IPv6 interface address of the gateway used on the cloud. This parameter has been migrated to the vifpeer parameter list and will be discarded later. + |
+
remote_gateway_v6_ip + |
+String + |
+Specifies the IPv6 interface address of the gateway used on premises. This parameter has been migrated to the vifpeer parameter list and will be discarded later. + |
+
lgw_id + |
+String + |
+Specifies the ID of the local gateway, which is used in IES scenarios. (This parameter is not supported currently.) + |
+
gateway_id + |
+String + |
+Specifies the ID of the gateway associated with the virtual interface. + |
+
remote_ep_group + |
+Array of strings + |
+Specifies the remote subnet list, which records the CIDR blocks used in the on-premises data center. This parameter has been migrated to the vifpeer parameter list and will be discarded later. + |
+
service_ep_group + |
+Array of strings + |
+Specifies the list of public network addresses that can be accessed by the on-premises data center. This field is required in the APIs of public network connections. This parameter has been migrated to the vifpeer parameter list and will be discarded later. + |
+
bgp_route_limit + |
+Integer + |
+Specifies the BGP route configuration. + |
+
priority + |
+String + |
+Specifies the priority of a virtual interface. The value can be normal or low. If the priorities are the same, the virtual interfaces work in load balancing mode. If the priorities are different, the virtual interfaces work in active/standby pairs. Outbound traffic is preferentially forwarded to the normal virtual interface with a higher priority. This option is only supported by virtual interfaces that use BGP routing. +Default: normal +Enumeration values: +
|
+
vif_peers + |
+Array of VifPeer objects + |
+Provides information about virtual interface peers. (This is a reserved parameter and is not supported currently.) + |
+
extend_attribute + |
+VifExtendAttribute object + |
+Provides extended parameter information. (This is a reserved parameter and is not supported currently.) + |
+
Parameter + |
+Type + |
+Description + |
+
---|---|---|
id + |
+String + |
+Specifies the resource ID. +Minimum: 36 +Maximum: 36 + |
+
tenant_id + |
+String + |
+Specifies the ID of the project that the virtual interface peer belongs to. +Minimum: 36 +Maximum: 36 + |
+
name + |
+String + |
+Specifies the name of the virtual interface peer. +Minimum: 0 +Maximum: 64 + |
+
description + |
+String + |
+Provides supplementary information about the virtual interface peer. +Minimum: 0 +Maximum: 128 + |
+
address_family + |
+String + |
+Specifies the address family type of the virtual interface, which can be IPv4 or IPv6. + |
+
local_gateway_ip + |
+String + |
+Specifies the address of the virtual interface peer used on the cloud. + |
+
remote_gateway_ip + |
+String + |
+Specifies the address of the virtual interface peer used in the on-premises data center. + |
+
route_mode + |
+String + |
+Specifies the routing mode, which can be static or bgp. +Maximum: 255 +Enumeration values: +
|
+
bgp_asn + |
+Integer + |
+Specifies the ASN of the BGP peer. +Minimum: 1 +Maximum: 4294967295 + |
+
bgp_md5 + |
+String + |
+Specifies the MD5 password of the BGP peer. + |
+
remote_ep_group + |
+Array of strings + |
+Specifies the remote subnet list, which records the CIDR blocks used in the on-premises data center. + |
+
service_ep_group + |
+Array of strings + |
+Specifies the list of public network addresses that can be accessed by the on-premises data center. This field is required in the APIs of public network connections. + |
+
device_id + |
+String + |
+Specifies the ID of the device that the virtual interface peer belongs to. + |
+
bgp_route_limit + |
+Integer + |
+Specifies the BGP route configuration. + |
+
bgp_status + |
+String + |
+Specifies the BGP protocol status of the virtual interface peer. If the virtual interface peer uses static routing, the status is null. +Maximum: 10 + |
+
status + |
+String + |
+Specifies the status of the virtual interface peer. + |
+
vif_id + |
+String + |
+Specifies the ID of the virtual interface corresponding to the virtual interface peer. +Minimum: 36 +Maximum: 36 + |
+
receive_route_num + |
+Integer + |
+Specifies the number of received BGP routes if BGP routing is used. If static routing is used, this parameter is meaningless and the value is -1. Note: If this parameter cannot be obtained, contact customer service to migrate your ports. + |
+
enable_nqa + |
+Boolean + |
+Specifies whether to enable NQA. The value can be true or false. + |
+
enable_bfd + |
+Boolean + |
+Specifies whether to enable BFD. The value can be true or false. + |
+
Parameter + |
+Type + |
+Description + |
+
---|---|---|
ha_type + |
+String + |
+Specifies the availability detection type of the virtual interface. +Enumeration values: +
|
+
ha_mode + |
+String + |
+Specifies the availability detection mode. +Enumeration values: +
|
+
detect_multiplier + |
+Integer + |
+Specifies the number of detection retries. +Default: 5 + |
+
min_rx_interval + |
+Integer + |
+Specifies the interval for receiving detection packets. +Default: 1000 + |
+
min_tx_interval + |
+Integer + |
+Specifies the interval for sending detection packets. +Default: 1000 + |
+
remote_disclaim + |
+Integer + |
+Specifies the remote identifier of the static BFD session. + |
+
local_disclaim + |
+Integer + |
+Specifies the local identifier of the static BFD session. + |
+
Updating the name and description of a virtual interface and changing its bandwidth to 2 Mbit/s
+PUT https://{dc_endpoint}/v3/0605768a3300d5762f82c01180692873/dcaas/virtual-interfaces/0d0fdf63-f2c4-491c-8866-d504796189be + +{ + "virtual_interface" : { + "name" : "vif-0819", + "description" : "mytest", + "bandwidth" : 2 + } +}+
Status code: 200
+OK
+{ + "virtual_interface" : { + "id" : "0d0fdf63-f2c4-491c-8866-d504796189be", + "name" : "vif-0819", + "description" : "mytest", + "tenant_id" : "0605768a3300d5762f82c01180692873", + "direct_connect_id" : "4673e339-8412-4ee1-b73e-2ba9cdfa54c1", + "vgw_id" : "8a47064a-f34c-4f94-b7fe-cac456c9b37b", + "type" : "private", + "service_type" : "VGW", + "vlan" : 332, + "bandwidth" : 2, + "status" : "ACTIVE", + "create_time" : "2022-08-19T11:28:06.000Z", + "admin_state_up" : true, + "enable_bfd" : false, + "route_limit" : 50, + "enable_nqa" : false, + "local_gateway_v4_ip" : "1.1.1.1/30", + "remote_gateway_v4_ip" : "1.1.1.2/30", + "ies_id" : null, + "reason" : null, + "rate_limit" : false, + "address_family" : "ipv4", + "local_gateway_v6_ip" : null, + "remote_gateway_v6_ip" : null, + "lgw_id" : null, + "lag_id" : null, + "gateway_id" : null, + "remote_ep_group" : [ "1.1.2.0/30" ], + "service_ep_group" : [ ], + "bgp_route_limit" : 100, + "priority" : "normal", + "vif_peers" : [ { + "id" : "c768eb52-12a8-4859-9b43-81194643040c", + "tenant_id" : "0605768a3300d5762f82c01180692873", + "name" : "vif-0819", + "description" : "", + "address_family" : "ipv4", + "local_gateway_ip" : "1.1.1.1/30", + "remote_gateway_ip" : "1.1.1.2/30", + "route_mode" : "static", + "bgp_asn" : null, + "bgp_md5" : null, + "device_id" : "18.9.215.131", + "bgp_route_limit" : 100, + "bgp_status" : null, + "status" : "ACTIVE", + "vif_id" : "0d0fdf63-f2c4-491c-8866-d504796189be", + "receive_route_num" : -1, + "remote_ep_group" : [ "1.1.2.0/30" ], + "service_ep_group" : null, + "enable_bfd" : false, + "enable_nqa" : false + } ], + "enterprise_project_id" : "0" + }, + "request_id" : "5633df7af874576d819a481c76673236" +}+
Status Code + |
+Description + |
+
---|---|
200 + |
+OK + |
+
See Error Codes.
+This chapter describes fine-grained permissions management for your Direct Connect. If your cloud account does not need individual Identity and Access Management (IAM) users, then you may skip over this chapter.
+This chapter describes fine-grained permissions management for Direct Connect. If your cloud account does not need individual Identity and Access Management (IAM) users, you can skip over this chapter.
By default, new IAM users do not have permissions assigned. You need to add a user to one or more groups, and attach permissions policies or roles to these groups. Users inherit permissions from the groups to which they are added and can perform specified operations on cloud services based on the permissions.
You can grant users permissions by using roles and policies. Roles are a type of coarse-grained authorization mechanism that defines permissions related to user responsibilities. Policies define API-based permissions for operations on specific resources under certain conditions, allowing for more fine-grained, secure access control of cloud resources.
Policy-based authorization is useful if you want to allow or deny the access to an API.
@@ -17,7 +17,7 @@This topic describes fine-grained permissions management for Direct Connect. If your cloud account does not need individual Identity and Access Management (IAM) users, you can skip over this chapter.
+By default, new IAM users do not have permissions assigned. You need to add a user to one or more groups, and attach permissions policies or roles to these groups. Users inherit permissions from the groups to which they are added and can perform specified operations on cloud services based on the permissions.
+You can grant users permissions by using roles and policies. Roles are a type of coarse-grained authorization mechanism that defines permissions related to user responsibilities. Policies define API-based permissions for operations on specific resources under certain conditions, allowing for more fine-grained, secure access control of cloud resources.
+Policy-based authorization is useful if you want to allow or deny the access to an API.
+An account has all the permissions required to call all APIs, but IAM users must be assigned the required permissions. The permissions required for calling an API are determined by the actions supported by the API. Only users who have been granted permissions allowing the actions can call the API successfully. For example, if an IAM user wants to query the connections using an API, the user must have been granted permissions that allow the dcaas:directConnect:list action.
+IAM provides system-defined policies that can be directly used. You can also create custom policies to work with system-defined policies for more refined access control. Operations supported by policies are specific to APIs. The following are common concepts related to policies:
+The check mark (√) and cross symbol (x) indicate that an action takes effect or does not take effect for the corresponding type of projects.
+Direct Connect supports the following actions that can be defined in custom policies:
+Permission + |
+API + |
+Action + |
+Related Action + |
+IAM Project + |
+Enterprise Project + |
+
---|---|---|---|---|---|
Creating a hosted connection + |
+POST /v3/{project_id}/dcaas/hosted-connects + |
+dcaas:directConnect:create + |
+vpc:vpcs:get +vpc:vpcs:list + |
+√ + |
+× + |
+
Querying the connection list + |
+GET /v3/{project_id}/dcaas/direct-connects + |
+dcaas:directConnect:list + |
+- + |
+√ + |
+× + |
+
Querying details of a connection + |
+GET /v3/{project_id}/dcaas/direct-connects/{direct_connect_id} + |
+dcaas:directConnect:get + |
+- + |
+√ + |
+× + |
+
Querying the hosted connection list + |
+GET /v3/{project_id}/dcaas/hosted-connects + |
+dcaas:directConnect:list + |
+- + |
+√ + |
+× + |
+
Querying details of a hosted connection + |
+GET /v3/{project_id}/dcaas/hosted-connects/{hosted_connect_id} + |
+dcaas:directConnect:get + |
+- + |
+√ + |
+× + |
+
Updating a Connection + |
+PUT /v3/{project_id}/dcaas/direct-connects/{direct_connect_id} + |
+dcaas:directConnect:update + |
+- + |
+√ + |
+× + |
+
Updating a hosted connection + |
+PUT /v3/{project_id}/dcaas/hosted-connects/{hosted_connect_id} + |
+dcaas:directConnect:update + |
+- + |
+√ + |
+× + |
+
Deleting a connection + |
+DELETE /v3/{project_id}/dcaas/direct-connects/{direct_connect_id} + |
+dcaas:directConnect:delete + |
+- + |
+√ + |
+× + |
+
Deleting a hosted connection + |
+DELETE /v3/{project_id}/dcaas/hosted-connects/{hosted_connect_id} + |
+dcaas:directConnect:delete + |
+- + |
+√ + |
+× + |
+
Permission + |
+API + |
+Action + |
+Related Action + |
+IAM Project + |
+Enterprise Project + |
+
---|---|---|---|---|---|
Creating a virtual gateway + |
+POST /v3/{project_id}/dcaas/virtual-gateways + |
+dcaas:vgw:create + |
+vpc:vpcs:get +vpc:vpcs:list +vpc:subnets:get + |
+√ + |
+× + |
+
Querying the virtual gateway list + |
+GET /v3/{project_id}/dcaas/virtual-gateways + |
+dcaas:vgw:list + |
+- + |
+√ + |
+× + |
+
Querying a virtual gateway + |
+GET /v3/{project_id}/dcaas/virtual-gateways/{virtual_gateway_id} + |
+dcaas:vgw:get + |
+- + |
+√ + |
+× + |
+
Updating a virtual gateway + |
+PUT /v3/{project_id}/dcaas/virtual-gateways/{virtual_gateway_id} + |
+dcaas:vgw:update + |
+- + |
+√ + |
+× + |
+
Deleting a virtual gateway + |
+DELETE /v3/{project_id}/dcaas/virtual-gateways/{virtual_gateway_id} + |
+dcaas:vgw:delete + |
+- + |
+√ + |
+× + |
+
Permission + |
+API + |
+Action + |
+Related Action + |
+IAM Project + |
+Enterprise Project + |
+
---|---|---|---|---|---|
Creating a virtual interface + |
+POST /v3/{project_id}/dcaas/virtual-interfaces + |
+dcaas:vif:create + |
+vpc:vpcs:get +vpc:vpcs:list +vpc:subnets:get + |
+√ + |
+× + |
+
Querying the virtual interface list + |
+GET /v3/{project_id}/dcaas/virtual-interfaces + |
+dcaas:vif:list + |
+- + |
+√ + |
+× + |
+
Querying a virtual interface + |
+GET /v3/{project_id}/dcaas/virtual-interfaces/{virtual_interface_id} + |
+dcaas:vif:get + |
+- + |
+√ + |
+× + |
+
Updating a virtual interface + |
+PUT /v3/{project_id}/dcaas/virtual-interfaces/{virtual_interface_id} + |
+dcaas:vif:update + |
+- + |
+√ + |
+× + |
+
Deleting a virtual interface + |
+DELETE /v3/{project_id}/dcaas/virtual-interfaces/{virtual_interface_id} + |
+dcaas:vif:delete + |
+- + |
+√ + |
+× + |
+
Direct Connect APIs allow you to use all Direct Connect functions.
- -Category - |
-Subcategory - |
-Description - |
-
---|---|---|
Direct Connect API - |
-Connection - |
-Used to manage connections, including the API used to create a hosted connection, the APIs used to query, delete, and update a connection, and the API to query the connection list. - |
-
Virtual gateway - |
-Used to manage virtual gateways, including the APIs used to create, delete, query, and update a virtual gateway, and the API to query the virtual gateway list. - |
-|
Virtual interface - |
-Used to manage virtual interfaces, including the APIs used to create, delete, query, and update a virtual interface, and the API to query the virtual interface list. - |
-|
Direct Connect endpoint group - |
-Used to manage Direct Connect endpoint groups, including the APIs used to create, delete, query, and update a Direct Connect endpoint group, and the API to query the Direct Connect endpoint group list. - |
-
DELETE /v2.0/dcaas/direct-connects/{direct_connect_id}
- -Parameter - |
-Type - |
-Mandatory - |
-Description - |
-
---|---|---|---|
direct_connect_id - |
-String - |
-Yes - |
-Specifies the connection ID. - |
-
None
-None
-DELETE /v2.0/dcaas/direct-connects/{direct_connect_id}-
For details, see Common Status Codes.
-This API is used to delete a virtual gateway.
-DELETE /v2.0/dcaas/virtual-gateways/{virtual_gateway_id}
- -Parameter - |
-Type - |
-Mandatory - |
-Description - |
-
---|---|---|---|
virtual_gateway_id - |
-String - |
-Yes - |
-Specifies the virtual gateway ID. - |
-
None
-DELETE /v2.0/dcaas/virtual-gateways/{virtual_gateway_id}-
For details, see Common Status Codes.
-This API is used to delete a virtual interface.
-DELETE /v2.0/dcaas/virtual-interfaces/{virtual_interface_id}
- -Parameter - |
-Type - |
-Mandatory - |
-Description - |
-
---|---|---|---|
virtual_interface_id - |
-String - |
-Yes - |
-Specifies the virtual interface ID. - |
-
Table 2 lists the request parameter.
- - -None
-DELETE /v2.0/dcaas/virtual-interfaces/{virtual_interface_id}-
For details, see Common Status Codes.
-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 - |
-Yes - |
-Specifies the dc_endpoint_group object. - |
-
Parameter - |
-Type - |
-Mandatory - |
-Description - |
-
---|---|---|---|
description - |
-String - |
-No - |
-Provides supplementary information about the Direct Connect endpoint group. -Angle brackets (<>) are not allowed. - |
-
name - |
-String - |
-No - |
-Specifies the name of the Direct Connect endpoint group. -Only letters, digits, underscores (_), hyphens (-), and periods (.) are allowed. - |
-
Table 4 lists the response parameter.
- -Parameter - |
-Type - |
-Description - |
-
---|---|---|
dc_endpoint_group - |
-Dictionary - |
-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. -Only IPv4 CIDR blocks are supported. - |
-
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 Common Status Codes.
-Released On - |
-What's New - |
-
---|---|
2023-04-17 - |
-This release incorporates the following changes: -Added Introduction, Connections, Virtual Gateways, and Virtual Interfaces in Permissions Policies and Supported Actions. - |
-
2023-04-12 - |
-This release incorporates the following changes: - - |
-
2023-04-04 - |
-This release incorporates the following changes: - - |
-
2023-03-23 - |
-This release incorporates the following changes: -
|
-
2023-02-24 - |
-This release incorporates the following changes: -
|
-
2023-02-14 - |
-This release incorporates the following changes: -
|
-
2023-01-03 - |
-This release incorporates the following changes: -
|
-
2022-12-07 - |
-This release incorporates the following changes: -
|
-
2022-10-13 - |
-This release incorporates the following changes: -
|
-
2018-10-30 - |
-This release incorporates the following changes: -
|
-
2018-04-30 - |
-This release incorporates the following changes: -
|
-
2018-03-30 - |
-This release incorporates the following changes: -Modified the API usage. - |
-
2018-02-18 - |
-This release incorporates the following changes: -
|
-
2017-11-30 - |
-This release incorporates the following changes: -
|
-
2017-9-30 - |
-This issue is the first official release. - |
-
Public cloud APIs comply with the RESTful API design principles. REST-based web services are organized into resources. Each resource is identified by one or more Uniform Resource Identifiers (URIs). An application accesses a resource based on the resource's Unified Resource Locator (URL). A URL is usually in the following format: https://Endpoint/uri. In the URL, uri indicates the resource path, that is, the API access path.
-Public cloud APIs use HTTPS as the transmission protocol. Requests/Responses are transmitted by using JSON messages, with media type represented by Application/json.
-For details about how to use APIs, see API Usage Guidelines.
+Public cloud APIs comply with the RESTful API design principles. REST-based web services are organized into resources. Each resource is identified by one or more Uniform Resource Identifiers (URIs). An application accesses a resource based on the resource's Unified Resource Locator (URL). A URL is usually in the following format: https://Endpoint/uri. In the URL, uri indicates the resource path, that is, the API access path.
+Public cloud APIs use HTTPS as the transmission protocol. Requests/Responses are transmitted by using JSON messages, with media type represented by application/json.
+For details about how to use APIs, see API Usage Guidelines.
Direct Connect APIs allow you to use all Direct Connect functions.
+Subcategory + |
+Description + |
+
---|---|
Connection APIs + |
+Used to manage connections, including the API used to create a hosted connection, the APIs used to query, delete, and update a connection, and the API to query the connection list. + |
+
Virtual gateway APIs + |
+Used to manage virtual gateways, including the APIs used to create, delete, query, and update a virtual gateway, and the API to query the virtual gateway list. + |
+
Virtual interface APIs + |
+Used to manage virtual interfaces, including the APIs used to create, delete, query, and update a virtual interface, and the API to query the virtual interface list. + |
+
Direct Connect endpoint group APIs + |
+Used to manage Direct Connect endpoint groups, including the APIs used to create, delete, query, and update an endpoint group, and the API used to query the endpoint group list. + |
+
Subcategory + |
+Description + |
+
---|---|
Connection APIs + |
+APIs for querying connection details, updating connection information, deleting a connection, querying the connection list, querying the hosted connection list, creating a hosted connection, querying hosted connection details, updating hosted connection information, and deleting a hosted connection + |
+
Virtual gateway APIs + |
+APIs for querying virtual gateway details, updating virtual gateway information, deleting a virtual gateway, querying the virtual gateway list, and creating a virtual gateway + |
+
Virtual interface APIs + |
+APIs for querying virtual interface details, updating virtual interface information, deleting a virtual interface, querying the virtual interface list, and creating a virtual interface + |
+
Direct Connect has independent endpoints. When API calls are made to Direct Connect, the Direct Connect APIs are used. Therefore, you need pay special attention to the service endpoints used when you make calls to the Direct Connect APIs.
+Direct Connect has independent endpoints. When API calls are made to Direct Connect, the Direct Connect APIs are used. Therefore, you need pay special attention to the service endpoints used when you make calls to the Direct Connect APIs.
This API is used to query all API versions supported by Direct Connect.
+This API is used to query all API versions supported by Direct Connect.
GET /
+GET /
None
+None
Table 1 lists the response parameters.
+Table 1 lists the response parameters.
-Parameter +
Examples
|
---|