diff --git a/docs/vpn/api-ref/ALL_META.TXT.json b/docs/vpn/api-ref/ALL_META.TXT.json new file mode 100644 index 00000000..c6e5863b --- /dev/null +++ b/docs/vpn/api-ref/ALL_META.TXT.json @@ -0,0 +1,492 @@ +[ + { + "uri":"en_topic_0093011471.html", + "product_code":"vpn", + "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", + "title":"API Usage Guidelines", + "githuburl":"" + }, + { + "uri":"en_topic_0093011472.html", + "product_code":"vpn", + "code":"2", + "des":"VPN APIs include both APIs provided by the VPN service and native OpenStack APIs.A combination of these two types of APIs allows you to use all functions provided by the ", + "doc_type":"api", + "kw":"API Overview,API Reference", + "title":"API Overview", + "githuburl":"" + }, + { + "uri":"en_topic_0093011479.html", + "product_code":"vpn", + "code":"3", + "des":"The VPN service does not have independent endpoints. When API calls are made to the VPN service, the VPC APIs are used. Therefore, you need pay special attention to the s", + "doc_type":"api", + "kw":"VPN API Usage Instructions,API Reference", + "title":"VPN API Usage Instructions", + "githuburl":"" + }, + { + "uri":"en_topic_0093011480.html", + "product_code":"vpn", + "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":"API", + "title":"API", + "githuburl":"" + }, + { + "uri":"en_topic_0093011481.html", + "product_code":"vpn", + "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":"API Version Information", + "title":"API Version Information", + "githuburl":"" + }, + { + "uri":"en_topic_0093011482.html", + "product_code":"vpn", + "code":"6", + "des":"This API is used to query all available versions of a native OpenStack API.GETRequest parameterNoneExample requestResponse parameterExample responseSee Status Codes.See E", + "doc_type":"api", + "kw":"Querying API Versions,API Version Information,API Reference", + "title":"Querying API Versions", + "githuburl":"" + }, + { + "uri":"en_topic_0093011483.html", + "product_code":"vpn", + "code":"7", + "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":"Tag Management", + "title":"Tag Management", + "githuburl":"" + }, + { + "uri":"en_topic_0093011484.html", + "product_code":"vpn", + "code":"8", + "des":"This interface is used to query VPN resource instances by tag.Tag Management Service (TMS) uses this API to filter out service resources and display them in a list. These", + "doc_type":"api", + "kw":"Querying VPN Resource Instances by Tag,Tag Management,API Reference", + "title":"Querying VPN Resource Instances by Tag", + "githuburl":"" + }, + { + "uri":"en_topic_0093011485.html", + "product_code":"vpn", + "code":"9", + "des":"This interface is used to add multiple tags to or delete multiple tags from a VPN resource instance at a time.This API is idempotent.If there are duplicate keys in the re", + "doc_type":"api", + "kw":"Batch Creating or Deleting VPN Resource Tags,Tag Management,API Reference", + "title":"Batch Creating or Deleting VPN Resource Tags", + "githuburl":"" + }, + { + "uri":"en_topic_0093011486.html", + "product_code":"vpn", + "code":"10", + "des":"This interface is used to create a tag for a VPN resource.POST /v2.0/{project_id}/ipsec-site-connections/{resource_id}/tagsIn the URI, project_idindicates the project ID,", + "doc_type":"api", + "kw":"Creating a Tag for a VPN Resource,Tag Management,API Reference", + "title":"Creating a Tag for a VPN Resource", + "githuburl":"" + }, + { + "uri":"en_topic_0093011487.html", + "product_code":"vpn", + "code":"11", + "des":"This interface is used to query tags of a specified VPN resource.GET /v2.0/{project_id}/ipsec-site-connections/{resource_id}/tagsIn the URI, project_idindicates the proje", + "doc_type":"api", + "kw":"Querying VPN Resource Tags,Tag Management,API Reference", + "title":"Querying VPN Resource Tags", + "githuburl":"" + }, + { + "uri":"en_topic_0093011488.html", + "product_code":"vpn", + "code":"12", + "des":"This interface is used to delete a VPN resource tag.DELETE /v2.0/{project_id}/ipsec-site-connections/{resource_id}/tags/{key}In the URI, project_idindicates the project I", + "doc_type":"api", + "kw":"Deleting a VPN Resource Tag,Tag Management,API Reference", + "title":"Deleting a VPN Resource Tag", + "githuburl":"" + }, + { + "uri":"en_topic_0093011489.html", + "product_code":"vpn", + "code":"13", + "des":"This interface is used to query all tags of a VPN in a specified region.GET /v2.0/{project_id}/ipsec-site-connections/tagsIn the URI, project_idindicates the project ID.N", + "doc_type":"api", + "kw":"Querying VPN Tags in a Specified Project,Tag Management,API Reference", + "title":"Querying VPN Tags in a Specified Project", + "githuburl":"" + }, + { + "uri":"en_topic_0093011490.html", + "product_code":"vpn", + "code":"14", + "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":"Native OpenStack APIs", + "title":"Native OpenStack APIs", + "githuburl":"" + }, + { + "uri":"en_topic_0093011491.html", + "product_code":"vpn", + "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":"IPsec Connection Management", + "title":"IPsec Connection Management", + "githuburl":"" + }, + { + "uri":"en_topic_0093011492.html", + "product_code":"vpn", + "code":"16", + "des":"This interface is used to create an IPsec VPN connection.POST /v2.0/vpn/ipsec-site-connectionsTable 1 lists the request parameters for creating an IPsec site connection.T", + "doc_type":"api", + "kw":"Creating an IPsec VPN Connection,IPsec Connection Management,API Reference", + "title":"Creating an IPsec VPN Connection", + "githuburl":"" + }, + { + "uri":"en_topic_0093011493.html", + "product_code":"vpn", + "code":"17", + "des":"This interface is used to query details about an IPsec VPN connection.GET /v2.0/vpn/ipsec-site-connections/{connection_id}NoneTable 2 describes the response parameters.Ex", + "doc_type":"api", + "kw":"Querying Details About an IPsec VPN Connection,IPsec Connection Management,API Reference", + "title":"Querying Details About an IPsec VPN Connection", + "githuburl":"" + }, + { + "uri":"en_topic_0093011494.html", + "product_code":"vpn", + "code":"18", + "des":"This interface is used to query IPsec VPN connections.GET /v2.0/vpn/ipsec-site-connectionsTable 1 describes the request parameters.The project_id, peer_id, dpd, and local", + "doc_type":"api", + "kw":"Querying IPsec VPN Connections,IPsec Connection Management,API Reference", + "title":"Querying IPsec VPN Connections", + "githuburl":"" + }, + { + "uri":"en_topic_0093011495.html", + "product_code":"vpn", + "code":"19", + "des":"This interface is used to update an IPsec VPN connection.PUT /v2.0/vpn/ipsec-site-connections/{connection_id}Table 2 describes the request parameters.The project_id, peer", + "doc_type":"api", + "kw":"Updating an IPsec VPN Connection,IPsec Connection Management,API Reference", + "title":"Updating an IPsec VPN Connection", + "githuburl":"" + }, + { + "uri":"en_topic_0093011496.html", + "product_code":"vpn", + "code":"20", + "des":"This interface is used to delete an IPsec VPN connection.DELETE /v2.0/vpn/ipsec-site-connections/{connection_id}NoneNoneExample RequestDELETE /v2.0/vpn/ipsec-site-connect", + "doc_type":"api", + "kw":"Deleting an IPsec VPN Connection,IPsec Connection Management,API Reference", + "title":"Deleting an IPsec VPN Connection", + "githuburl":"" + }, + { + "uri":"en_topic_0093011497.html", + "product_code":"vpn", + "code":"21", + "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":"VPN Service Management", + "title":"VPN Service Management", + "githuburl":"" + }, + { + "uri":"en_topic_0093011498.html", + "product_code":"vpn", + "code":"22", + "des":"This interface is used to create a VPN service.Only one VPN service can be created for each VPC.POST /v2.0/vpn/vpnservicesTable 1 describes the request parameters.The pro", + "doc_type":"api", + "kw":"Creating a VPN Service,VPN Service Management,API Reference", + "title":"Creating a VPN Service", + "githuburl":"" + }, + { + "uri":"en_topic_0093011499.html", + "product_code":"vpn", + "code":"23", + "des":"This interface is used to query details about a VPN service.GET /v2.0/vpn/vpnservices/{service_id}NoneTable 2 describes the response parameters.Example RequestGET /v2.0/v", + "doc_type":"api", + "kw":"Querying Details About a VPN Service,VPN Service Management,API Reference", + "title":"Querying Details About a VPN Service", + "githuburl":"" + }, + { + "uri":"en_topic_0093011500.html", + "product_code":"vpn", + "code":"24", + "des":"This interface is used to query VPN services.GET /v2.0/vpn/vpnservicesTable 1 describes the request parameters.The project_idparameter is not supported.Table 2 describes ", + "doc_type":"api", + "kw":"Querying VPN Services,VPN Service Management,API Reference", + "title":"Querying VPN Services", + "githuburl":"" + }, + { + "uri":"en_topic_0093011501.html", + "product_code":"vpn", + "code":"25", + "des":"This interface is used to update a VPN service.PUT /v2.0/vpn/vpnservices/{service_id}Table 2 describes the request parameters.The project_idparameter is not supported.The", + "doc_type":"api", + "kw":"Updating a VPN Service,VPN Service Management,API Reference", + "title":"Updating a VPN Service", + "githuburl":"" + }, + { + "uri":"en_topic_0093011502.html", + "product_code":"vpn", + "code":"26", + "des":"This interface is used to delete a VPN service.This interface cannot be used to delete a VPN service in the active-active VPN scenarios.DELETE /v2.0/vpn/vpnservices/{serv", + "doc_type":"api", + "kw":"Deleting a VPN Service,VPN Service Management,API Reference", + "title":"Deleting a VPN Service", + "githuburl":"" + }, + { + "uri":"en_topic_0093011503.html", + "product_code":"vpn", + "code":"27", + "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":"IPsec Policy Management", + "title":"IPsec Policy Management", + "githuburl":"" + }, + { + "uri":"en_topic_0093011504.html", + "product_code":"vpn", + "code":"28", + "des":"This interface is used to create an IPsec policy.POST /v2.0/vpn/ipsecpoliciesThe project_idparameter is not supported.The value of tenant_idcan contain a maximum of 255 c", + "doc_type":"api", + "kw":"Creating an IPsec Policy,IPsec Policy Management,API Reference", + "title":"Creating an IPsec Policy", + "githuburl":"" + }, + { + "uri":"en_topic_0093011505.html", + "product_code":"vpn", + "code":"29", + "des":"This interface is used to query details about an IPsec policy.GET /v2.0/vpn/ipsecpolicies/{ipsecpolicy_id}The project_idparameter is not supported.The ipsecpolicy_idparam", + "doc_type":"api", + "kw":"Querying Details About an IPsec Policy,IPsec Policy Management,API Reference", + "title":"Querying Details About an IPsec Policy", + "githuburl":"" + }, + { + "uri":"en_topic_0093011506.html", + "product_code":"vpn", + "code":"30", + "des":"This interface is used to query IPsec policies.GET /v2.0/vpn/ipsecpoliciesTable 1 describes the request parameters.The project_idparameter is not supported.Table 2 descri", + "doc_type":"api", + "kw":"Querying IPsec Policies,IPsec Policy Management,API Reference", + "title":"Querying IPsec Policies", + "githuburl":"" + }, + { + "uri":"en_topic_0093011507.html", + "product_code":"vpn", + "code":"31", + "des":"This interface is used to update an IPsec policy.If the IPsec policy is updated, the IPsec VPN connection also needs to be updated.PUT /v2.0/vpn/ipsecpolicies/{ipsecpolic", + "doc_type":"api", + "kw":"Updating an IPsec Policy,IPsec Policy Management,API Reference", + "title":"Updating an IPsec Policy", + "githuburl":"" + }, + { + "uri":"en_topic_0093011508.html", + "product_code":"vpn", + "code":"32", + "des":"This interface is used to delete an IPsec policy.DELETE /v2.0/vpn/ipsecpolicies/{ipsecpolicy_id}NoneNoneExample RequestDELETE /v2.0/vpn/ipsecpolicies/{ipsecpolicy_id}Exam", + "doc_type":"api", + "kw":"Deleting an IPsec Policy,IPsec Policy Management,API Reference", + "title":"Deleting an IPsec Policy", + "githuburl":"" + }, + { + "uri":"en_topic_0093011509.html", + "product_code":"vpn", + "code":"33", + "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":"IKE Policy Management", + "title":"IKE Policy Management", + "githuburl":"" + }, + { + "uri":"en_topic_0093011510.html", + "product_code":"vpn", + "code":"34", + "des":"This interface is used to create an IKE policy.POST /v2.0/vpn/ikepoliciesTable 1 describes the request parameters.The project_idparameter is not supported.The value of te", + "doc_type":"api", + "kw":"Creating an IKE Policy,IKE Policy Management,API Reference", + "title":"Creating an IKE Policy", + "githuburl":"" + }, + { + "uri":"en_topic_0093011511.html", + "product_code":"vpn", + "code":"35", + "des":"This interface is used to query details about an IKE policy.GET /v2.0/vpn/ikepolicies/{ikepolicy_id}NoneTable 2 describes the response parameters.Example RequestGET /v2.0", + "doc_type":"api", + "kw":"Querying Details About an IKE Policy,IKE Policy Management,API Reference", + "title":"Querying Details About an IKE Policy", + "githuburl":"" + }, + { + "uri":"en_topic_0093011512.html", + "product_code":"vpn", + "code":"36", + "des":"This interface is used to query IKE policies.GET /v2.0/vpn/ikepoliciesTable 1 describes the request parameters.The project_idparameter is not supported.Table 2 describes ", + "doc_type":"api", + "kw":"Querying IKE Policies,IKE Policy Management,API Reference", + "title":"Querying IKE Policies", + "githuburl":"" + }, + { + "uri":"en_topic_0093011513.html", + "product_code":"vpn", + "code":"37", + "des":"This interface is used to update an IKE policy.If the IKE policy is updated, the IPsec VPN connection also needs to be updated.PUT /v2.0/vpn/ikepolicies/{ikepolicy_id}Tab", + "doc_type":"api", + "kw":"Updating an IKE Policy,IKE Policy Management,API Reference", + "title":"Updating an IKE Policy", + "githuburl":"" + }, + { + "uri":"en_topic_0093011514.html", + "product_code":"vpn", + "code":"38", + "des":"This interface is used to delete an IKE policy.DELETE /v2.0/vpn/ikepolicies/{ikepolicy_id}NoneNoneExample RequestDELETE /v2.0/vpn/ikepolicies/{ikepolicy_id}Example Respon", + "doc_type":"api", + "kw":"Deleting an IKE Policy,IKE Policy Management,API Reference", + "title":"Deleting an IKE Policy", + "githuburl":"" + }, + { + "uri":"en_topic_0093011515.html", + "product_code":"vpn", + "code":"39", + "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":"VPN Endpoint Group Management", + "title":"VPN Endpoint Group Management", + "githuburl":"" + }, + { + "uri":"en_topic_0093011516.html", + "product_code":"vpn", + "code":"40", + "des":"This interface is used to create a VPN endpoint group.POST /v2.0/vpn/endpoint-groupsTable 1 describes the request parameters.The project_idparameter is not supported.The ", + "doc_type":"api", + "kw":"Creating a VPN Endpoint Group,VPN Endpoint Group Management,API Reference", + "title":"Creating a VPN Endpoint Group", + "githuburl":"" + }, + { + "uri":"en_topic_0093011517.html", + "product_code":"vpn", + "code":"41", + "des":"This interface is used to query details about a VPN endpoint group.GET /v2.0/vpn/endpoint-groups/{endpoint_group_id}NoneTable 2 describes the response parameters.Example ", + "doc_type":"api", + "kw":"Querying Details About a VPN Endpoint Group,VPN Endpoint Group Management,API Reference", + "title":"Querying Details About a VPN Endpoint Group", + "githuburl":"" + }, + { + "uri":"en_topic_0093011518.html", + "product_code":"vpn", + "code":"42", + "des":"This interface is used to query VPN endpoint groups.GET /v2.0/vpn/endpoint-groupsTable 1 describes the request parameters.The project_idparameter is not supported.Table 2", + "doc_type":"api", + "kw":"Querying VPN Endpoint Groups,VPN Endpoint Group Management,API Reference", + "title":"Querying VPN Endpoint Groups", + "githuburl":"" + }, + { + "uri":"en_topic_0093011519.html", + "product_code":"vpn", + "code":"43", + "des":"This interface is used to update a VPN endpoint group.PUT /v2.0/vpn/endpoint-groups/{endpoint_group_id}Table 2 describes the request parameters.The endpoint_group_idparam", + "doc_type":"api", + "kw":"Updating a VPN Endpoint Group,VPN Endpoint Group Management,API Reference", + "title":"Updating a VPN Endpoint Group", + "githuburl":"" + }, + { + "uri":"en_topic_0093011520.html", + "product_code":"vpn", + "code":"44", + "des":"This interface is used to delete a VPN endpoint group.DELETE /v2.0/vpn/endpoint-groups/{endpoint_group_id}NoneNoneExample RequestDELETE /v2.0/vpn/endpoint-groups/{endpoin", + "doc_type":"api", + "kw":"Deleting a VPN Endpoint Group,VPN Endpoint Group Management,API Reference", + "title":"Deleting a VPN Endpoint Group", + "githuburl":"" + }, + { + "uri":"en_topic_0093011521.html", + "product_code":"vpn", + "code":"45", + "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 Parameters", + "title":"Common Parameters", + "githuburl":"" + }, + { + "uri":"en_topic_0093011522.html", + "product_code":"vpn", + "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":"Common Returned Values,Common Parameters,API Reference", + "title":"Common Returned Values", + "githuburl":"" + }, + { + "uri":"en_topic_0093011523.html", + "product_code":"vpn", + "code":"47", + "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,Common Parameters,API Reference", + "title":"Error Codes", + "githuburl":"" + }, + { + "uri":"en_topic_0093011524.html", + "product_code":"vpn", + "code":"48", + "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":"Status Codes,Common Parameters,API Reference", + "title":"Status Codes", + "githuburl":"" + }, + { + "uri":"en_topic_0093011528.html", + "product_code":"vpn", + "code":"49", + "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":"A Change History,API Reference", + "title":"A Change History", + "githuburl":"" + } +] \ No newline at end of file diff --git a/docs/vpn/api-ref/CLASS.TXT.json b/docs/vpn/api-ref/CLASS.TXT.json new file mode 100644 index 00000000..72280672 --- /dev/null +++ b/docs/vpn/api-ref/CLASS.TXT.json @@ -0,0 +1,443 @@ +[ + { + "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":"vpn", + "title":"API Usage Guidelines", + "uri":"en_topic_0093011471.html", + "doc_type":"api", + "p_code":"", + "code":"1" + }, + { + "desc":"VPN APIs include both APIs provided by the VPN service and native OpenStack APIs.A combination of these two types of APIs allows you to use all functions provided by the ", + "product_code":"vpn", + "title":"API Overview", + "uri":"en_topic_0093011472.html", + "doc_type":"api", + "p_code":"", + "code":"2" + }, + { + "desc":"The VPN service does not have independent endpoints. When API calls are made to the VPN service, the VPC APIs are used. Therefore, you need pay special attention to the s", + "product_code":"vpn", + "title":"VPN API Usage Instructions", + "uri":"en_topic_0093011479.html", + "doc_type":"api", + "p_code":"", + "code":"3" + }, + { + "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":"vpn", + "title":"API", + "uri":"en_topic_0093011480.html", + "doc_type":"api", + "p_code":"", + "code":"4" + }, + { + "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":"vpn", + "title":"API Version Information", + "uri":"en_topic_0093011481.html", + "doc_type":"api", + "p_code":"4", + "code":"5" + }, + { + "desc":"This API is used to query all available versions of a native OpenStack API.GETRequest parameterNoneExample requestResponse parameterExample responseSee Status Codes.See E", + "product_code":"vpn", + "title":"Querying API Versions", + "uri":"en_topic_0093011482.html", + "doc_type":"api", + "p_code":"5", + "code":"6" + }, + { + "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":"vpn", + "title":"Tag Management", + "uri":"en_topic_0093011483.html", + "doc_type":"api", + "p_code":"4", + "code":"7" + }, + { + "desc":"This interface is used to query VPN resource instances by tag.Tag Management Service (TMS) uses this API to filter out service resources and display them in a list. These", + "product_code":"vpn", + "title":"Querying VPN Resource Instances by Tag", + "uri":"en_topic_0093011484.html", + "doc_type":"api", + "p_code":"7", + "code":"8" + }, + { + "desc":"This interface is used to add multiple tags to or delete multiple tags from a VPN resource instance at a time.This API is idempotent.If there are duplicate keys in the re", + "product_code":"vpn", + "title":"Batch Creating or Deleting VPN Resource Tags", + "uri":"en_topic_0093011485.html", + "doc_type":"api", + "p_code":"7", + "code":"9" + }, + { + "desc":"This interface is used to create a tag for a VPN resource.POST /v2.0/{project_id}/ipsec-site-connections/{resource_id}/tagsIn the URI, project_idindicates the project ID,", + "product_code":"vpn", + "title":"Creating a Tag for a VPN Resource", + "uri":"en_topic_0093011486.html", + "doc_type":"api", + "p_code":"7", + "code":"10" + }, + { + "desc":"This interface is used to query tags of a specified VPN resource.GET /v2.0/{project_id}/ipsec-site-connections/{resource_id}/tagsIn the URI, project_idindicates the proje", + "product_code":"vpn", + "title":"Querying VPN Resource Tags", + "uri":"en_topic_0093011487.html", + "doc_type":"api", + "p_code":"7", + "code":"11" + }, + { + "desc":"This interface is used to delete a VPN resource tag.DELETE /v2.0/{project_id}/ipsec-site-connections/{resource_id}/tags/{key}In the URI, project_idindicates the project I", + "product_code":"vpn", + "title":"Deleting a VPN Resource Tag", + "uri":"en_topic_0093011488.html", + "doc_type":"api", + "p_code":"7", + "code":"12" + }, + { + "desc":"This interface is used to query all tags of a VPN in a specified region.GET /v2.0/{project_id}/ipsec-site-connections/tagsIn the URI, project_idindicates the project ID.N", + "product_code":"vpn", + "title":"Querying VPN Tags in a Specified Project", + "uri":"en_topic_0093011489.html", + "doc_type":"api", + "p_code":"7", + "code":"13" + }, + { + "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":"vpn", + "title":"Native OpenStack APIs", + "uri":"en_topic_0093011490.html", + "doc_type":"api", + "p_code":"", + "code":"14" + }, + { + "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":"vpn", + "title":"IPsec Connection Management", + "uri":"en_topic_0093011491.html", + "doc_type":"api", + "p_code":"14", + "code":"15" + }, + { + "desc":"This interface is used to create an IPsec VPN connection.POST /v2.0/vpn/ipsec-site-connectionsTable 1 lists the request parameters for creating an IPsec site connection.T", + "product_code":"vpn", + "title":"Creating an IPsec VPN Connection", + "uri":"en_topic_0093011492.html", + "doc_type":"api", + "p_code":"15", + "code":"16" + }, + { + "desc":"This interface is used to query details about an IPsec VPN connection.GET /v2.0/vpn/ipsec-site-connections/{connection_id}NoneTable 2 describes the response parameters.Ex", + "product_code":"vpn", + "title":"Querying Details About an IPsec VPN Connection", + "uri":"en_topic_0093011493.html", + "doc_type":"api", + "p_code":"15", + "code":"17" + }, + { + "desc":"This interface is used to query IPsec VPN connections.GET /v2.0/vpn/ipsec-site-connectionsTable 1 describes the request parameters.The project_id, peer_id, dpd, and local", + "product_code":"vpn", + "title":"Querying IPsec VPN Connections", + "uri":"en_topic_0093011494.html", + "doc_type":"api", + "p_code":"15", + "code":"18" + }, + { + "desc":"This interface is used to update an IPsec VPN connection.PUT /v2.0/vpn/ipsec-site-connections/{connection_id}Table 2 describes the request parameters.The project_id, peer", + "product_code":"vpn", + "title":"Updating an IPsec VPN Connection", + "uri":"en_topic_0093011495.html", + "doc_type":"api", + "p_code":"15", + "code":"19" + }, + { + "desc":"This interface is used to delete an IPsec VPN connection.DELETE /v2.0/vpn/ipsec-site-connections/{connection_id}NoneNoneExample RequestDELETE /v2.0/vpn/ipsec-site-connect", + "product_code":"vpn", + "title":"Deleting an IPsec VPN Connection", + "uri":"en_topic_0093011496.html", + "doc_type":"api", + "p_code":"15", + "code":"20" + }, + { + "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":"vpn", + "title":"VPN Service Management", + "uri":"en_topic_0093011497.html", + "doc_type":"api", + "p_code":"14", + "code":"21" + }, + { + "desc":"This interface is used to create a VPN service.Only one VPN service can be created for each VPC.POST /v2.0/vpn/vpnservicesTable 1 describes the request parameters.The pro", + "product_code":"vpn", + "title":"Creating a VPN Service", + "uri":"en_topic_0093011498.html", + "doc_type":"api", + "p_code":"21", + "code":"22" + }, + { + "desc":"This interface is used to query details about a VPN service.GET /v2.0/vpn/vpnservices/{service_id}NoneTable 2 describes the response parameters.Example RequestGET /v2.0/v", + "product_code":"vpn", + "title":"Querying Details About a VPN Service", + "uri":"en_topic_0093011499.html", + "doc_type":"api", + "p_code":"21", + "code":"23" + }, + { + "desc":"This interface is used to query VPN services.GET /v2.0/vpn/vpnservicesTable 1 describes the request parameters.The project_idparameter is not supported.Table 2 describes ", + "product_code":"vpn", + "title":"Querying VPN Services", + "uri":"en_topic_0093011500.html", + "doc_type":"api", + "p_code":"21", + "code":"24" + }, + { + "desc":"This interface is used to update a VPN service.PUT /v2.0/vpn/vpnservices/{service_id}Table 2 describes the request parameters.The project_idparameter is not supported.The", + "product_code":"vpn", + "title":"Updating a VPN Service", + "uri":"en_topic_0093011501.html", + "doc_type":"api", + "p_code":"21", + "code":"25" + }, + { + "desc":"This interface is used to delete a VPN service.This interface cannot be used to delete a VPN service in the active-active VPN scenarios.DELETE /v2.0/vpn/vpnservices/{serv", + "product_code":"vpn", + "title":"Deleting a VPN Service", + "uri":"en_topic_0093011502.html", + "doc_type":"api", + "p_code":"21", + "code":"26" + }, + { + "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":"vpn", + "title":"IPsec Policy Management", + "uri":"en_topic_0093011503.html", + "doc_type":"api", + "p_code":"14", + "code":"27" + }, + { + "desc":"This interface is used to create an IPsec policy.POST /v2.0/vpn/ipsecpoliciesThe project_idparameter is not supported.The value of tenant_idcan contain a maximum of 255 c", + "product_code":"vpn", + "title":"Creating an IPsec Policy", + "uri":"en_topic_0093011504.html", + "doc_type":"api", + "p_code":"27", + "code":"28" + }, + { + "desc":"This interface is used to query details about an IPsec policy.GET /v2.0/vpn/ipsecpolicies/{ipsecpolicy_id}The project_idparameter is not supported.The ipsecpolicy_idparam", + "product_code":"vpn", + "title":"Querying Details About an IPsec Policy", + "uri":"en_topic_0093011505.html", + "doc_type":"api", + "p_code":"27", + "code":"29" + }, + { + "desc":"This interface is used to query IPsec policies.GET /v2.0/vpn/ipsecpoliciesTable 1 describes the request parameters.The project_idparameter is not supported.Table 2 descri", + "product_code":"vpn", + "title":"Querying IPsec Policies", + "uri":"en_topic_0093011506.html", + "doc_type":"api", + "p_code":"27", + "code":"30" + }, + { + "desc":"This interface is used to update an IPsec policy.If the IPsec policy is updated, the IPsec VPN connection also needs to be updated.PUT /v2.0/vpn/ipsecpolicies/{ipsecpolic", + "product_code":"vpn", + "title":"Updating an IPsec Policy", + "uri":"en_topic_0093011507.html", + "doc_type":"api", + "p_code":"27", + "code":"31" + }, + { + "desc":"This interface is used to delete an IPsec policy.DELETE /v2.0/vpn/ipsecpolicies/{ipsecpolicy_id}NoneNoneExample RequestDELETE /v2.0/vpn/ipsecpolicies/{ipsecpolicy_id}Exam", + "product_code":"vpn", + "title":"Deleting an IPsec Policy", + "uri":"en_topic_0093011508.html", + "doc_type":"api", + "p_code":"27", + "code":"32" + }, + { + "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":"vpn", + "title":"IKE Policy Management", + "uri":"en_topic_0093011509.html", + "doc_type":"api", + "p_code":"14", + "code":"33" + }, + { + "desc":"This interface is used to create an IKE policy.POST /v2.0/vpn/ikepoliciesTable 1 describes the request parameters.The project_idparameter is not supported.The value of te", + "product_code":"vpn", + "title":"Creating an IKE Policy", + "uri":"en_topic_0093011510.html", + "doc_type":"api", + "p_code":"33", + "code":"34" + }, + { + "desc":"This interface is used to query details about an IKE policy.GET /v2.0/vpn/ikepolicies/{ikepolicy_id}NoneTable 2 describes the response parameters.Example RequestGET /v2.0", + "product_code":"vpn", + "title":"Querying Details About an IKE Policy", + "uri":"en_topic_0093011511.html", + "doc_type":"api", + "p_code":"33", + "code":"35" + }, + { + "desc":"This interface is used to query IKE policies.GET /v2.0/vpn/ikepoliciesTable 1 describes the request parameters.The project_idparameter is not supported.Table 2 describes ", + "product_code":"vpn", + "title":"Querying IKE Policies", + "uri":"en_topic_0093011512.html", + "doc_type":"api", + "p_code":"33", + "code":"36" + }, + { + "desc":"This interface is used to update an IKE policy.If the IKE policy is updated, the IPsec VPN connection also needs to be updated.PUT /v2.0/vpn/ikepolicies/{ikepolicy_id}Tab", + "product_code":"vpn", + "title":"Updating an IKE Policy", + "uri":"en_topic_0093011513.html", + "doc_type":"api", + "p_code":"33", + "code":"37" + }, + { + "desc":"This interface is used to delete an IKE policy.DELETE /v2.0/vpn/ikepolicies/{ikepolicy_id}NoneNoneExample RequestDELETE /v2.0/vpn/ikepolicies/{ikepolicy_id}Example Respon", + "product_code":"vpn", + "title":"Deleting an IKE Policy", + "uri":"en_topic_0093011514.html", + "doc_type":"api", + "p_code":"33", + "code":"38" + }, + { + "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":"vpn", + "title":"VPN Endpoint Group Management", + "uri":"en_topic_0093011515.html", + "doc_type":"api", + "p_code":"14", + "code":"39" + }, + { + "desc":"This interface is used to create a VPN endpoint group.POST /v2.0/vpn/endpoint-groupsTable 1 describes the request parameters.The project_idparameter is not supported.The ", + "product_code":"vpn", + "title":"Creating a VPN Endpoint Group", + "uri":"en_topic_0093011516.html", + "doc_type":"api", + "p_code":"39", + "code":"40" + }, + { + "desc":"This interface is used to query details about a VPN endpoint group.GET /v2.0/vpn/endpoint-groups/{endpoint_group_id}NoneTable 2 describes the response parameters.Example ", + "product_code":"vpn", + "title":"Querying Details About a VPN Endpoint Group", + "uri":"en_topic_0093011517.html", + "doc_type":"api", + "p_code":"39", + "code":"41" + }, + { + "desc":"This interface is used to query VPN endpoint groups.GET /v2.0/vpn/endpoint-groupsTable 1 describes the request parameters.The project_idparameter is not supported.Table 2", + "product_code":"vpn", + "title":"Querying VPN Endpoint Groups", + "uri":"en_topic_0093011518.html", + "doc_type":"api", + "p_code":"39", + "code":"42" + }, + { + "desc":"This interface is used to update a VPN endpoint group.PUT /v2.0/vpn/endpoint-groups/{endpoint_group_id}Table 2 describes the request parameters.The endpoint_group_idparam", + "product_code":"vpn", + "title":"Updating a VPN Endpoint Group", + "uri":"en_topic_0093011519.html", + "doc_type":"api", + "p_code":"39", + "code":"43" + }, + { + "desc":"This interface is used to delete a VPN endpoint group.DELETE /v2.0/vpn/endpoint-groups/{endpoint_group_id}NoneNoneExample RequestDELETE /v2.0/vpn/endpoint-groups/{endpoin", + "product_code":"vpn", + "title":"Deleting a VPN Endpoint Group", + "uri":"en_topic_0093011520.html", + "doc_type":"api", + "p_code":"39", + "code":"44" + }, + { + "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":"vpn", + "title":"Common Parameters", + "uri":"en_topic_0093011521.html", + "doc_type":"api", + "p_code":"", + "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":"vpn", + "title":"Common Returned Values", + "uri":"en_topic_0093011522.html", + "doc_type":"api", + "p_code":"45", + "code":"46" + }, + { + "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":"vpn", + "title":"Error Codes", + "uri":"en_topic_0093011523.html", + "doc_type":"api", + "p_code":"45", + "code":"47" + }, + { + "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":"vpn", + "title":"Status Codes", + "uri":"en_topic_0093011524.html", + "doc_type":"api", + "p_code":"45", + "code":"48" + }, + { + "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":"vpn", + "title":"A Change History", + "uri":"en_topic_0093011528.html", + "doc_type":"api", + "p_code":"", + "code":"49" + } +] \ No newline at end of file diff --git a/docs/vpn/api-ref/PARAMETERS.txt b/docs/vpn/api-ref/PARAMETERS.txt new file mode 100644 index 00000000..6da8d5f0 --- /dev/null +++ b/docs/vpn/api-ref/PARAMETERS.txt @@ -0,0 +1,3 @@ +version="" +language="en-us" +type="" \ No newline at end of file diff --git a/docs/vpn/api-ref/en_topic_0093011471.html b/docs/vpn/api-ref/en_topic_0093011471.html new file mode 100644 index 00000000..b34cbf1a --- /dev/null +++ b/docs/vpn/api-ref/en_topic_0093011471.html @@ -0,0 +1,8 @@ + + +

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.

+
+ diff --git a/docs/vpn/api-ref/en_topic_0093011472.html b/docs/vpn/api-ref/en_topic_0093011472.html new file mode 100644 index 00000000..8931963e --- /dev/null +++ b/docs/vpn/api-ref/en_topic_0093011472.html @@ -0,0 +1,54 @@ + + +

API Overview

+

VPN APIs include both APIs provided by the VPN service and native OpenStack APIs.

+

A combination of these two types of APIs allows you to use all functions provided by the VPN service.

+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + +
Table 1 VPN APIs

Category

+

Sub-Category

+

Description

+

Native OpenStack API

+

IPsec connection management

+

APIs for creating, querying, modifying, and deleting IPsec connections

+

VPN service management

+

APIs for creating, querying, modifying, and deleting VPN services

+

IPsec policy management

+

APIs for creating, querying, modifying, and deleting IPsec policies

+

IKE policy management

+

APIs for creating, querying, modifying, and deleting IKE policies

+

VPN endpoint group management

+

APIs for creating, querying, modifying, and deleting VPN endpoint groups

+

VPN API

+

Tag management

+

APIs for creating, querying, and deleting tags, and querying VPN resources by tags

+
+
+
+
+ diff --git a/docs/vpn/api-ref/en_topic_0093011479.html b/docs/vpn/api-ref/en_topic_0093011479.html new file mode 100644 index 00000000..22a1d8f2 --- /dev/null +++ b/docs/vpn/api-ref/en_topic_0093011479.html @@ -0,0 +1,6 @@ + + +

VPN API Usage Instructions

+

The VPN service does not have independent endpoints. When API calls are made to the VPN service, the VPC APIs are used. Therefore, you need pay special attention to the service endpoints used when you make calls to the VPN service APIs.

+
+ diff --git a/docs/vpn/api-ref/en_topic_0093011480.html b/docs/vpn/api-ref/en_topic_0093011480.html new file mode 100644 index 00000000..babf5e8d --- /dev/null +++ b/docs/vpn/api-ref/en_topic_0093011480.html @@ -0,0 +1,14 @@ + + +

API

+

+
+
+ +
+ diff --git a/docs/vpn/api-ref/en_topic_0093011481.html b/docs/vpn/api-ref/en_topic_0093011481.html new file mode 100644 index 00000000..0f1332fa --- /dev/null +++ b/docs/vpn/api-ref/en_topic_0093011481.html @@ -0,0 +1,15 @@ + + +

API Version Information

+
+
+ + + +
+ diff --git a/docs/vpn/api-ref/en_topic_0093011482.html b/docs/vpn/api-ref/en_topic_0093011482.html new file mode 100644 index 00000000..85938a89 --- /dev/null +++ b/docs/vpn/api-ref/en_topic_0093011482.html @@ -0,0 +1,119 @@ + + +

Querying API Versions

+

Function

This API is used to query all available versions of a native OpenStack API.

+
+

URI

GET

+
+

Request Message

Request parameter

+

None

+

Example request

+
GET https://{Endpoint}/
+
+

Response Message

Response parameter

+ +
+ + + + + + + + + +
Table 1 Response parameter

Parameter

+

Type

+

Description

+

versions

+

Array of version objects

+

Specifies the API version list. For details, see Table 2.

+
+
+ +
+ + + + + + + + + + + + + + + + + +
Table 2 version objects

Parameter

+

Type

+

Description

+

status

+

String

+

Specifies the API version status. Possible values are as follows:

+
  • CURRENT
  • STABLE
  • DEPRECATED
+

id

+

String

+

Specifies the API version.

+

links

+

Array of link objects

+

Specifies the link list. For details, see Table 3.

+
+
+ +
+ + + + + + + + + + + + + +
Table 3 link objects

Parameter

+

Type

+

Description

+

href

+

String

+

Specifies the API link.

+

rel

+

String

+

Specifies the relationship between the API link and the API version.

+
+
+

Example response

+
{
+    "versions": [
+        {
+            "status": "CURRENT", 
+            "id": "v2.0", 
+            "links": [
+                {
+                    "href": "https://None/v2.0", 
+                    "rel": "self"
+                }
+            ]
+        }
+    ]
+}
+
+

Status Code

See Status Codes.

+
+

Error Code

See Error Codes.

+
+
+
+ +
+ diff --git a/docs/vpn/api-ref/en_topic_0093011483.html b/docs/vpn/api-ref/en_topic_0093011483.html new file mode 100644 index 00000000..17365935 --- /dev/null +++ b/docs/vpn/api-ref/en_topic_0093011483.html @@ -0,0 +1,26 @@ + + +

Tag Management

+

+
+
+ + + +
+ diff --git a/docs/vpn/api-ref/en_topic_0093011484.html b/docs/vpn/api-ref/en_topic_0093011484.html new file mode 100644 index 00000000..76622f07 --- /dev/null +++ b/docs/vpn/api-ref/en_topic_0093011484.html @@ -0,0 +1,293 @@ + + +

Querying VPN Resource Instances by Tag

+

Function

This interface is used to query VPN resource instances by tag.

+

Tag Management Service (TMS) uses this API to filter out service resources and display them in a list. These services must have the query capabilities.

+
+

URI

POST /v2.0/{project_id}/ipsec-site-connections/resource_instances/action

+
+

Request Message

Table 1 describes the request parameters.

+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Table 1 Request parameters

Parameter

+

Type

+

Mandatory

+

Description

+

tags

+

List<tag>

+

No

+

Specifies the included tags. Each tag contains a maximum of 10 keys, and each key contains a maximum of 10 values. The structure body cannot be missing, and the key cannot be left blank or set to an empty string. Each tag key must be unique, and each tag value in a tag must be unique.

+

limit

+

Integer

+

No

+

Sets the page size. This parameter is not available when action is set to count. The default value is 1000 when action is set to filter. The maximum value is 1000, and the minimum value is 1. The value cannot be a negative number.

+

offset

+

Integer

+

No

+

Specifies the index position. The query starts from the next piece of data indexed by this parameter. This parameter is not required when you query data on the first page. The value in the response returned for querying data on the previous page will be included in this parameter for querying data on subsequent pages. This parameter is not available when action is set to count. If action is set to filter, the value must be a number, and the default value is 0. The value cannot be a negative number.

+

action

+

String

+

Yes

+

Specifies the operation to perform. The value can only be filter (filtering) or count (querying the total number).

+

The value filter indicates pagination query. The value count indicates that the total number of query results meeting the search criteria will be returned.

+

matches

+

List<match>

+

No

+

Specifies the search criteria. The tag key is the field to match. Currently, only resource_name is supported. The tag value indicates the value to be matched. The key field is a fixed dictionary value.

+
+
+ + +
+ + + + + + + + + + + + + + + + +

Name

+

Type

+

Mandatory

+

Description

+

key

+

String

+

Yes

+

Specifies the tag key. It contains a maximum of 127 Unicode characters. It cannot be left blank. (This parameter is not verified in the search process.)

+

values

+

List<String>

+

Yes

+

Specifies the tag value list. Each value can contain a maximum of 255 Unicode characters. An empty list for values indicates any value. The resources containing one or more values listed in values will be found and displayed.

+
+
+ + +
+ + + + + + + + + + + + + + + + +

Name

+

Type

+

Mandatory

+

Description

+

key

+

String

+

Yes

+

Specifies the tag key. Currently, the tag key can only be the resource name.

+

value

+

String

+

Yes

+

Specifies the tag value. Each value can contain a maximum of 255 Unicode characters.

+
+
+
+

Response Parameter

Table 2 describes the response parameters. +
+ +
Table 2 Response Parameter
+
+
+ +
+ + + + + + + + + + + + + +

Name

+

Type

+

Description

+

resources

+

List<resource>

+

N/A

+

total_count

+

int

+

Specifies the total number of records.

+
+
+
+
+ + + + + + + + + + + + + + + + + + + + + +
Table 3 Description of field resource

Name

+

Type

+

Description

+

resource_id

+

String

+

Specifies the resource ID.

+

resouce_detail

+

Object

+

Specifies the resource details. The value is a resource object, used for extension. This parameter is left blank by default.

+

tags

+

List<resource_tag>

+

Specifies the tag list. This parameter is an empty array by default if there is no tag.

+

resource_name

+

String

+

Specifies the resource name. This parameter is an empty string by default if there is no resource name.

+
+
+
+
+

Example

+
+
+
+ +
+ diff --git a/docs/vpn/api-ref/en_topic_0093011485.html b/docs/vpn/api-ref/en_topic_0093011485.html new file mode 100644 index 00000000..cc5b86fd --- /dev/null +++ b/docs/vpn/api-ref/en_topic_0093011485.html @@ -0,0 +1,130 @@ + + +

Batch Creating or Deleting VPN Resource Tags

+

Function

This interface is used to add multiple tags to or delete multiple tags from a VPN resource instance at a time.

+

This API is idempotent.

+

If there are duplicate keys in the request body when you add tags, an error is reported.

+

During tag creation, duplicate keys are not allowed. If a key exists in the database, its value will be overwritten.

+

During tag deletion, if some tags do not exist, the operation is considered to be successful by default. The character set of the tags will not be checked. When you delete tags, the tag structure cannot be missing, and the key cannot be left blank or be an empty string.

+
+

URI

POST /v2.0/{project_id}/ipsec-site-connections/{resource_id}/tags/action

+

In the URI, project_id indicates the project ID, and resource_id indicates the target resource ID.

+
+
+

Request Parameter

+
+ + + + + + + + + + + + + + + + +

Parameter

+

Type

+

Mandatory

+

Description

+

tags

+

List<resource_tag>

+

Yes

+

Specifies the tag list. A tag list can contain a maximum of 10 keys.

+

action

+

String

+

Yes

+

Specifies the operation to perform. The value can be create or delete.

+
+
+

Description of field resource_tag

+ +
+ + + + + + + + + + + + + + + + +

Name

+

Type

+

Mandatory

+

Description

+

key

+

String

+

Yes

+

Specifies the tag key.

+

The parameter constraints are as follows:

+
  • Must be unique for a resource.
  • Cannot be left blank.
  • Can contain a maximum of 36 characters.
  • Can contain only the following character types:
    • Uppercase letters
    • Lowercase letters
    • Digits
    • Special characters, including hyphens (-) and underscores (_)
    +
+

value

+

String

+

+

(This parameter is mandatory when action is set to create and optional when action is set to delete.)

+

Specifies the tag value list.

+

The parameter constraints are as follows:

+
  • Can contain a maximum of 43 characters.
  • Can contain only the following character types:
    • Uppercase letters
    • Lowercase letters
    • Digits
    • Special characters, including hyphens (-) and underscores (_)
    +
+
+
+
+

Response Parameter

None

+
+

Example

+
+

Request Body

{
+    "action": "create",
+    "tags": [
+        {
+            "key": "key1",
+            "value": "value1"
+        },
+        {
+            "key": "key",
+            "value": "value3"
+        }
+    ]
+}
+

Or

+
{
+    "action": "delete",
+    "tags": [
+        {
+            "key": "key1",
+            "value": "value1"
+        },
+        {
+            "key": "key2",
+            "value": "value3"
+        }
+    ]
+}
+
+ +

Returned Values

For details, see section Common Returned Values.

+
+
+
+ +
+ diff --git a/docs/vpn/api-ref/en_topic_0093011486.html b/docs/vpn/api-ref/en_topic_0093011486.html new file mode 100644 index 00000000..bef961e2 --- /dev/null +++ b/docs/vpn/api-ref/en_topic_0093011486.html @@ -0,0 +1,95 @@ + + +

Creating a Tag for a VPN Resource

+

Function

This interface is used to create a tag for a VPN resource.

+
+

URI

POST /v2.0/{project_id}/ipsec-site-connections/{resource_id}/tags

+

In the URI, project_id indicates the project ID, and resource_id indicates the target resource ID.

+
+
+

Request Message

Table 1 describes the request parameters.

+ +
+ + + + + + + + + + + +
Table 1 Request parameters

Parameter

+

Type

+

Mandatory

+

Description

+

tag

+

List<resource_tag>

+

Yes

+

Specifies the tag.

+
+
+

Description of field resource_tag

+ +
+ + + + + + + + + + + + + + + + +

Name

+

Type

+

Mandatory

+

Description

+

key

+

String

+

Yes

+

Specifies the tag key.

+

The parameter constraints are as follows:

+
  • Must be unique for a resource.
  • Cannot be left blank.
  • Can contain a maximum of 36 characters.
  • Can contain only the following character types:
    • Uppercase letters
    • Lowercase letters
    • Digits
    • Special characters, including hyphens (-) and underscores (_)
    +
+

value

+

String

+

Yes

+

Specifies the tag value.

+

The parameter constraints are as follows:

+
  • Can contain a maximum of 43 characters.
  • Can contain only the following character types:
    • Uppercase letters
    • Lowercase letters
    • Digits
    • Special characters, including hyphens (-) and underscores (_)
    +
+
+
+
+

Response Message

None

+
+

Example

+
+
POST /v2.0/{project_id}/ipsec-site-connections/{resource_id}/tags
+{
+    "tag": {
+        "key": "key1",
+        "value": "value1"
+    }
+}
+ +

Returned Values

For details, see section Common Returned Values.

+
+
+
+ +
+ diff --git a/docs/vpn/api-ref/en_topic_0093011487.html b/docs/vpn/api-ref/en_topic_0093011487.html new file mode 100644 index 00000000..86d6c552 --- /dev/null +++ b/docs/vpn/api-ref/en_topic_0093011487.html @@ -0,0 +1,90 @@ + + +

Querying VPN Resource Tags

+

Function

This interface is used to query tags of a specified VPN resource.

+
+

URI

GET /v2.0/{project_id}/ipsec-site-connections/{resource_id}/tags

+

In the URI, project_id indicates the project ID, and resource_id indicates the target resource ID.

+
+
+

Request Message

None

+
+

Response Message

Table 1 describes the response parameters.

+ +
+ + + + + + + + + +
Table 1 Response parameter

Parameter

+

Type

+

Description

+

tags

+

List<resource_tag>

+

Specifies the tag list.

+
+
+

Description of field resource_tag

+ +
+ + + + + + + + + + + + + +

Name

+

Type

+

Description

+

key

+

String

+

Specifies the tag key.

+

The parameter constraints are as follows:

+
  • Must be unique for a resource.
  • Cannot be left blank.
  • Can contain a maximum of 36 characters.
  • Can contain only the following character types:
    • Uppercase letters
    • Lowercase letters
    • Digits
    • Special characters, including hyphens (-) and underscores (_)
    +
+

value

+

String

+

Specifies the tag value.

+

The parameter constraints are as follows:

+
  • Can contain a maximum of 43 characters.
  • Can contain only the following character types:
    • Uppercase letters
    • Lowercase letters
    • Digits
    • Special characters, including hyphens (-) and underscores (_)
    +
+
+
+
+

Example

+
+ +

Returned Values

For details, see section Common Returned Values.

+
+
+
+ +
+ diff --git a/docs/vpn/api-ref/en_topic_0093011488.html b/docs/vpn/api-ref/en_topic_0093011488.html new file mode 100644 index 00000000..dcb45920 --- /dev/null +++ b/docs/vpn/api-ref/en_topic_0093011488.html @@ -0,0 +1,27 @@ + + +

Deleting a VPN Resource Tag

+

Function

This interface is used to delete a VPN resource tag.

+
+

URI

DELETE /v2.0/{project_id}/ipsec-site-connections/{resource_id}/tags/{key}

+

In the URI, project_id indicates the project ID, resource_id indicates the target resource ID, and key indicates the tag key to be deleted.

+
+
+

Request Message

None

+
+

Response Message

None

+
+

Example

+
+ +

Returned Values

For details, see section Common Returned Values.

+
+
+
+ +
+ diff --git a/docs/vpn/api-ref/en_topic_0093011489.html b/docs/vpn/api-ref/en_topic_0093011489.html new file mode 100644 index 00000000..60b045f1 --- /dev/null +++ b/docs/vpn/api-ref/en_topic_0093011489.html @@ -0,0 +1,96 @@ + + +

Querying VPN Tags in a Specified Project

+

Function

This interface is used to query all tags of a VPN in a specified region.

+
+

URI

GET /v2.0/{project_id}/ipsec-site-connections/tags

+

In the URI, project_id indicates the project ID.

+
+
+

Request Message

None

+
+

Response Message

Table 1 describes the response parameters.

+ +
+ + + + + + + + + +
Table 1 Response parameter

Parameter

+

Type

+

Description

+

tags

+

List<tag>

+

Specifies the tag list.

+
+
+ + +
+ + + + + + + + + + + + + +

Name

+

Type

+

Description

+

key

+

String

+

Specifies the tag key.

+

The parameter constraints are as follows:

+
  • Cannot be left blank.
  • Can contain a maximum of 36 characters.
  • Can contain only the following character types:
    • Uppercase letters
    • Lowercase letters
    • Digits
    • Special characters, including hyphens (-) and underscores (_)
    +
+

values

+

List<String>

+

Specifies the tag value list.

+

The parameter constraints are as follows:

+
  • Can contain a maximum of 43 characters.
  • Can contain only the following character types:
    • Uppercase letters
    • Lowercase letters
    • Digits
    • Special characters, including hyphens (-) and underscores (_)
    +
+
+
+
+

Example

+
+ +

Returned Values

For details, see section Common Returned Values.

+
+
+
+ +
+ diff --git a/docs/vpn/api-ref/en_topic_0093011490.html b/docs/vpn/api-ref/en_topic_0093011490.html new file mode 100644 index 00000000..728edbca --- /dev/null +++ b/docs/vpn/api-ref/en_topic_0093011490.html @@ -0,0 +1,20 @@ + + +

Native OpenStack APIs

+

+
+
+ +
+ diff --git a/docs/vpn/api-ref/en_topic_0093011491.html b/docs/vpn/api-ref/en_topic_0093011491.html new file mode 100644 index 00000000..f267f29f --- /dev/null +++ b/docs/vpn/api-ref/en_topic_0093011491.html @@ -0,0 +1,24 @@ + + +

IPsec Connection Management

+

+
+
+ + + +
+ diff --git a/docs/vpn/api-ref/en_topic_0093011492.html b/docs/vpn/api-ref/en_topic_0093011492.html new file mode 100644 index 00000000..1e65cc60 --- /dev/null +++ b/docs/vpn/api-ref/en_topic_0093011492.html @@ -0,0 +1,428 @@ + + +

Creating an IPsec VPN Connection

+

Function

This interface is used to create an IPsec VPN connection.

+
+

URI

POST /v2.0/vpn/ipsec-site-connections

+
+

Request Message

Table 1 lists the request parameters for creating an IPsec site connection.

+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Table 1 Request parameters

Parameter

+

Type

+

Mandatory

+

Description

+

dpd

+

Object

+

No

+

Specifies the DPD protocol control.

+

local_id

+

String

+

No

+

Specifies the ID of the external gateway address of a virtual router.

+

psk

+

String

+

Yes

+

Specifies the pre-shared key.

+

initiator

+

String

+

No

+

Specifies whether this VPN can only respond to connections or both respond to and initiate connections.

+

ipsecpolicy_id

+

String

+

Yes

+

Specifies the IPsec policy ID.

+

admin_state_up

+

Boolean

+

No

+

Specifies the administrative status. The value can be true or false.

+

mtu

+

Integer

+

No

+

Specifies the maximum transmission unit to address fragmentation.

+

peer_ep_group_id

+

String

+

Yes

+

Specifies the endpoint group ID (tenant CIDR blocks).

+

ikepolicy_id

+

String

+

Yes

+

Specifies the IKE policy ID.

+

vpnservice_id

+

String

+

Yes

+

Specifies the VPN service ID.

+

local_ep_group_id

+

String

+

Yes

+

Specifies the endpoint group ID (VPC subnets).

+

peer_address

+

String

+

Yes

+

Specifies the remote gateway address.

+

peer_id

+

String

+

Yes

+

Specifies the remote gateway ID.

+

name

+

String

+

No

+

Specifies the IPsec VPN connection name.

+

description

+

String

+

No

+

Provides supplementary information about the IPsec VPN connection.

+

auth_mode

+

String

+

No

+

Specifies the authentication mode. The default value is psk.

+

peer_cidrs

+

List<String>

+

No

+

(Deprecated) Specifies the tenant's CIDR blocks. The value is in the form of <net_address > / < prefix >.

+

tenant_id

+

String

+

No

+

Specifies the project ID.

+
+
+
  1. The project_id, peer_id, dpd, and local_id parameters are not supported.
  2. The value of tenant_id can contain a maximum of 255 characters.
  3. The value of name can contain 1 to 64 characters.
  4. The value of description can contain a maximum of 255 characters. This parameter has been used by internal components, and you are not allowed to configure the parameter.
  5. The value of peer_address can contain a maximum of 250 characters.
  6. The value of peer_id can contain a maximum of 250 characters and is unconfigurable.
  7. The route_mode parameter cannot be configured. The default value is static.
  8. The value of mtu can only be 1500.
  9. The value of initiator can only be bi-directional.
  10. The value of auth_mode can only be psk.
  11. The value of admin_state_up can only be true.
  12. A PSK can contain 6 to 128 characters. Spaces and question marks (?) are not allowed in a PSK. The PSK cannot contain only asterisks (*).
  13. To enable two IPsec connections to work in active/standby mode, the local_ep_group_id and peer_ep_group_id parameters of the active and standby connections must be set to the same value. If the parameter values are different and the local_ep_group and peer_ep_group values are different, the connection cannot work in active/standby mode.
+
+
+

Response Message

Table 2 describes the response parameters.

+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Table 2 Response parameters

Parameter

+

Type

+

Description

+

interval

+

Integer

+

Specifies the DPD interval in seconds. The default value is 30.

+

dpd

+

Object

+

Specifies the DPD protocol control.

+

psk

+

String

+

Specifies the pre-shared key.

+

initiator

+

String

+

Specifies whether this VPN can only respond to connections or both respond to and initiate connections.

+

ipsecpolicy_id

+

String

+

Specifies the IPsec policy ID.

+

admin_state_up

+

Boolean

+

Specifies the administrative status. The value can be true or false.

+

mtu

+

Integer

+

Specifies the maximum transmission unit to address fragmentation.

+

peer_ep_group_id

+

String

+

Specifies the endpoint group ID (tenant CIDR blocks).

+

ikepolicy_id

+

String

+

Specifies the IKE policy ID.

+

vpnservice_id

+

String

+

Specifies the VPN service ID.

+

local_ep_group_id

+

String

+

Specifies the endpoint group ID (VPC subnets).

+

peer_address

+

String

+

Specifies the remote gateway address.

+

peer_id

+

String

+

Specifies the remote gateway ID.

+

name

+

String

+

Specifies the IPsec VPN connection name.

+

description

+

String

+

Provides supplementary information about the IPsec VPN connection.

+

auth_mode

+

String

+

Specifies the authentication mode. The default value is psk.

+

id

+

String

+

Specifies the IPsec VPN connection ID.

+

route_mode

+

String

+

Specifies the route advertising mode. The default value is static.

+

status

+

String

+

Specifies the IPsec VPN connection status. The value can be ACTIVE, DOWN, BUILD, ERROR, PENDING_CREATE, PENDING_UPDATE, or PENDING_DELETE.

+

peer_cidrs

+

List

+

(Deprecated) Specifies the tenant's CIDR blocks. The value is in the form of <net_address > / < prefix >.

+

tenant_id

+

String

+

Specifies the project ID.

+

timeout

+

Integer

+

Specifies the DPD timeout. The default value is 120 seconds.

+

action

+

String

+

Specifies the DPD action. The value can be clear, hold, restart, disabled, or restart-by-peer. The default value is hold.

+

created_at

+

String

+

Specifies the time when the IPsec connection was created.

+
+
+
+

Example

+
+ +

Returned Values

For details, see section Common Returned Values.

+
+
+
+ +
+ diff --git a/docs/vpn/api-ref/en_topic_0093011493.html b/docs/vpn/api-ref/en_topic_0093011493.html new file mode 100644 index 00000000..f263afeb --- /dev/null +++ b/docs/vpn/api-ref/en_topic_0093011493.html @@ -0,0 +1,256 @@ + + +

Querying Details About an IPsec VPN Connection

+

Function

This interface is used to query details about an IPsec VPN connection.

+
+

URI

GET /v2.0/vpn/ipsec-site-connections/{connection_id}

+ +
+ + + + + + + + + + + +
Table 1 Parameter description

Parameter

+

Type

+

Mandatory

+

Description

+

connection_id

+

String

+

Yes

+

Specifies the IPsec VPN connection ID.

+
+
+
+

Request Message

None

+
+

Response Message

Table 2 describes the response parameters.

+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Table 2 Response parameters

Parameter

+

Type

+

Description

+

local_ep_group_id

+

String

+

Specifies the endpoint group ID (VPC subnets).

+

status

+

String

+

Specifies the IPsec VPN connection status. The value can be ACTIVE, DOWN, BUILD, ERROR, PENDING_CREATE, PENDING_UPDATE, or PENDING_DELETE.

+

psk

+

String

+

Specifies the pre-shared key.

+

initiator

+

String

+

Specifies whether this VPN can only respond to connections or both respond to and initiate connections.

+

name

+

String

+

Specifies the IPsec VPN connection name.

+

admin_state_up

+

Boo

+

Specifies the administrative status. The value can be true or false.

+

tenant_id

+

String

+

Specifies the project ID.

+

ipsecpolicy_id

+

String

+

Specifies the IPsec policy ID.

+

auth_mode

+

String

+

Specifies the authentication mode. The default value is psk.

+

peer_cidrs

+

List<String>

+

(Deprecated) Specifies the tenant's CIDR blocks. The value is in the form of <net_address > / < prefix >.

+

mtu

+

Integer

+

Specifies the maximum transmission unit to address fragmentation.

+

ikepolicy_id

+

String

+

Specifies the IKE policy ID.

+

peer_address

+

String

+

Specifies the remote gateway address.

+

id

+

String

+

Specifies the IPsec VPN connection ID.

+

ipsec_site_connection

+

Object

+

Specifies the IPsec VPN connection object.

+

route_mode

+

String

+

Specifies the route advertising mode. The default value is static.

+

peer_id

+

String

+

Specifies the remote gateway ID.

+

description

+

String

+

Provides supplementary information about the IPsec VPN connection.

+

interval

+

Integer

+

Specifies the DPD interval in seconds. The default value is 30.

+

peer_ep_group_id

+

String

+

Specifies the endpoint group ID (tenant CIDR blocks).

+

dpd

+

Object

+

Specifies the DPD protocol control.

+

timeout

+

Integer

+

Specifies the DPD timeout. The default value is 120 seconds.

+

action

+

String

+

Specifies the DPD action. The value can be clear, hold, restart, disabled, or restart-by-peer. The default value is hold.

+

vpnservice_id

+

String

+

Specifies the VPN service ID.

+
+
+
+

Example

+
+ +

Returned Values

For details, see section Common Returned Values.

+
+
+
+ +
+ diff --git a/docs/vpn/api-ref/en_topic_0093011494.html b/docs/vpn/api-ref/en_topic_0093011494.html new file mode 100644 index 00000000..72ecf542 --- /dev/null +++ b/docs/vpn/api-ref/en_topic_0093011494.html @@ -0,0 +1,257 @@ + + +

Querying IPsec VPN Connections

+

Function

This interface is used to query IPsec VPN connections.

+
+

URI

GET /v2.0/vpn/ipsec-site-connections

+
+

Request Message

Table 1 describes the request parameters.

+ +
+ + + + + + + + + + + +
Table 1 Request parameters

Parameter

+

Type

+

Mandatory

+

Description

+

fields

+

String

+

No

+

Controls which parameters are returned. If this parameter is not specified, all parameters will be returned.

+
+
+

The project_id, peer_id, dpd, and local_id parameters are not supported.

+
+
+

Response Message

Table 2 describes the response parameters.

+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Table 2 Response parameters

Parameter

+

Type

+

Description

+

peer_cidrs

+

List<String>

+

(Deprecated) Specifies the tenant's CIDR blocks. The value is in the form of <net_address > / < prefix >.

+

mtu

+

Integer

+

Specifies the maximum transmission unit to address fragmentation.

+

peer_ep_group_id

+

String

+

Specifies the endpoint group ID (tenant CIDR blocks).

+

ikepolicy_id

+

String

+

Specifies the IKE policy ID.

+

dpd

+

Object

+

Specifies the DPD protocol control.

+

route_mode

+

String

+

Specifies the route advertising mode. The default value is static.

+

peer_address

+

String

+

Specifies the remote gateway address.

+

peer_id

+

String

+

Specifies the remote gateway ID.

+

id

+

String

+

Specifies the IPsec VPN connection ID.

+

description

+

String

+

Provides supplementary information about the IPsec VPN connection.

+

project_id

+

String

+

Specifies the project ID.

+

interval

+

Integer

+

Specifies the DPD interval in seconds. The default value is 30.

+

timeout

+

Integer

+

Specifies the DPD timeout. The default value is 120 seconds.

+

action

+

String

+

Specifies the DPD action. The value can be clear, hold, restart, disabled, or restart-by-peer. The default value is hold.

+

vpnservice_id

+

String

+

Specifies the VPN service ID.

+

local_ep_group_id

+

String

+

Specifies the endpoint group ID (VPC subnets).

+

status

+

String

+

Specifies the IPsec VPN connection status. The value can be ACTIVE, DOWN, BUILD, ERROR, PENDING_CREATE, PENDING_UPDATE, or PENDING_DELETE.

+

psk

+

String

+

Specifies the pre-shared key.

+

initiator

+

String

+

Specifies whether this VPN can only respond to connections or both respond to and initiate connections.

+

name

+

String

+

Specifies the IPsec VPN connection name.

+

admin_state_up

+

Boolean

+

Specifies the administrative status. The value can be true or false.

+

tenant_id

+

String

+

Specifies the project ID.

+

ipsecpolicy_id

+

String

+

Specifies the IPsec policy ID.

+

auth_mode

+

String

+

Specifies the authentication mode. The default value is psk.

+
+
+
+

Example Request

GET /v2.0/vpn/ipsec-site-connections
+
+

Example Response

{
+  "ipsec_site_connections" : [ {
+    "status" : "PENDING CREATE",
+    "psk" : "secret",
+    "initiator" : "bi-directional",
+    "name" : "vpnconnection1",
+    "admin_state_up" : true,
+    "project_id" : "10039663455a446d8ba2cbb058b0f578",
+    "tenant_id" : "10039663455a446d8ba2cbb058b0f578",
+    "auth_mode" : "psk",
+    "peer_cidrs" : [ ],
+    "mtu" : 1500,
+    "peer_ep_group_id" : "9ad5a7e0-6dac-41b4-b20d-a7b8645fddf1",
+    "ikepolicy_id" : "9b00d6b0-6c93-4ca5-9747-b8ade7bb514f",
+    "vpnservice_id" : "5c561d9d-eaea-45f6-ae3e-08d1a7080828",
+    "dpd" : {
+      "action" : "hold",
+      "interval" : 30,
+      "timeout" : 120
+    },
+    "route_mode" : "static",
+    "ipsecpolicy_id" : "e6e23d0c-9519-4d52-8ea4-5b1f96d857b1",
+    "local_ep_group_id" : "3e1815dd-e212-43d0-8f13-b494fa553e68",
+    "peer_address" : "172.24.4.226",
+    "peer_id" : "172.24.4.226",
+    "id" : "851f280f-5639-4ea3-81aa-e298525ab74b",
+    "description" : ""
+  } ]
+}
+
+

Returned Values

For details, see section Common Returned Values.

+
+
+
+ +
+ diff --git a/docs/vpn/api-ref/en_topic_0093011495.html b/docs/vpn/api-ref/en_topic_0093011495.html new file mode 100644 index 00000000..bb200d08 --- /dev/null +++ b/docs/vpn/api-ref/en_topic_0093011495.html @@ -0,0 +1,428 @@ + + +

Updating an IPsec VPN Connection

+

Function

This interface is used to update an IPsec VPN connection.

+
+

URI

PUT /v2.0/vpn/ipsec-site-connections/{connection_id}

+ +
+ + + + + + + + + + + +
Table 1 Parameter description

Parameter

+

Type

+

Mandatory

+

Description

+

connection_id

+

String

+

Yes

+

Specifies the IPsec VPN connection ID.

+
+
+
+

Request Message

Table 2 describes the request parameters.

+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Table 2 Request parameters

Parameter

+

Type

+

Mandatory

+

Description

+

ipsec_site_connection

+

Object

+

Yes

+

Specifies the IPsec VPN connection object.

+

psk

+

String

+

No

+

Specifies the pre-shared key.

+

initiator

+

String

+

No

+

Specifies whether this VPN can only respond to connections or both respond to and initiate connections.

+

description

+

String

+

No

+

Specifies the IPsec policy ID.

+

admin_state_up

+

Boolean

+

No

+

Specifies the administrative status. The value can be true or false.

+

interval

+

Integer

+

No

+

Specifies the DPD interval in seconds. The default value is 30.

+

peer_cidrs

+

List<String>

+

No

+

(Deprecated) Specifies the tenant's CIDR blocks. The value is in the form of <net_address > / < prefix >.

+

mtu

+

Integer

+

No

+

Specifies the maximum transmission unit to address fragmentation.

+

peer_ep_group_id

+

String

+

No

+

Specifies the endpoint group ID (tenant CIDR blocks).

+

local_ep_group_id

+

String

+

No

+

Specifies the endpoint group ID (VPC subnets).

+

dpd

+

Object

+

No

+

Specifies the DPD protocol control.

+

timeout

+

Integer

+

No

+

Specifies the DPD timeout. The default value is 120 seconds.

+

action

+

String

+

No

+

Specifies the DPD action. The value can be clear, hold, restart, disabled, or restart-by-peer. The default value is hold.

+

peer_address

+

String

+

Yes

+

Specifies the remote gateway address.

+

peer_id

+

String

+

Yes

+

Specifies the remote gateway ID.

+

name

+

String

+

No

+

Specifies the IPsec VPN connection name.

+
+
+
  1. The project_id, peer_id, dpd, and local_id parameters are not supported.
  2. The connection_id parameter must be specified.
  3. The value of name can contain 1 to 64 characters.
  4. The value of description can contain a maximum of 255 characters. This parameter has been used by internal components, and you are not allowed to configure the parameter.
  5. The value of peer_address can contain a maximum of 250 characters.
  6. The value of peer_id can contain a maximum of 250 characters and is unconfigurable.
  7. The value of mtu can only be 1500.
  8. The value of initiator can only be bi-directional.
  9. The value of admin_state_up can only be true.
  10. A PSK can contain 6 to 128 characters. Spaces and question marks (?) are not allowed in a PSK. The PSK cannot contain only asterisks (*).
+
+
+

Response Message

Table 3 describes the response parameters.

+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Table 3 Response parameters

Parameter

+

Type

+

Description

+

status

+

String

+

Specifies the IPsec VPN connection status. The value can be ACTIVE, DOWN, BUILD, ERROR, PENDING_CREATE, PENDING_UPDATE, or PENDING_DELETE.

+

psk

+

String

+

Specifies the pre-shared key.

+

initiator

+

String

+

Specifies whether this VPN can only respond to connections or both respond to and initiate connections.

+

name

+

String

+

Specifies the IPsec VPN connection name.

+

admin_state_up

+

Boolean

+

Specifies the administrative status. The value can be true or false.

+

tenant_id

+

String

+

Specifies the project ID.

+

ipsecpolicy_id

+

String

+

Specifies the IPsec policy ID.

+

auth_mode

+

String

+

Specifies the authentication mode. The default value is psk.

+

peer_cidrs

+

String

+

(Deprecated) Specifies the tenant's CIDR blocks. The value is in the form of <net_address > / < prefix >.

+

mtu

+

Integer

+

Specifies the maximum transmission unit to address fragmentation.

+

peer_ep_group_id

+

String

+

Specifies the endpoint group ID (tenant CIDR blocks).

+

ikepolicy_id

+

String

+

Specifies the IKE policy ID.

+

dpd

+

Object

+

Specifies the DPD protocol control.

+

route_mode

+

String

+

Specifies the route advertising mode. The default value is static.

+

vpnservice_id

+

String

+

Specifies the VPN service ID.

+

local_ep_group_id

+

String

+

Specifies the endpoint group ID (VPC subnets).

+

peer_address

+

String

+

Specifies the remote gateway address.

+

peer_id

+

String

+

Specifies the remote gateway ID.

+

id

+

String

+

Specifies the IPsec VPN connection ID.

+

description

+

String

+

Provides supplementary information about the IPsec VPN connection.

+

ipsec_site_connection

+

Object

+

Specifies the IPsec VPN connection object.

+

project_id

+

String

+

Specifies the project ID.

+

interval

+

Integer

+

Specifies the DPD interval in seconds. The default value is 30.

+

timeout

+

Integer

+

Specifies the DPD timeout. The default value is 120 seconds.

+

action

+

String

+

Specifies the DPD action. The value can be clear, hold, restart, disabled, or restart-by-peer. The default value is hold.

+
+
+
+

Example

+
+ +

Returned Values

For details, see section Common Returned Values.

+
+
+
+ +
+ diff --git a/docs/vpn/api-ref/en_topic_0093011496.html b/docs/vpn/api-ref/en_topic_0093011496.html new file mode 100644 index 00000000..07b51ec5 --- /dev/null +++ b/docs/vpn/api-ref/en_topic_0093011496.html @@ -0,0 +1,48 @@ + + +

Deleting an IPsec VPN Connection

+

Function

This interface is used to delete an IPsec VPN connection.

+
+

URI

DELETE /v2.0/vpn/ipsec-site-connections/{connection_id}

+ +
+ + + + + + + + + + + +
Table 1 Parameter description

Parameter

+

Type

+

Mandatory

+

Description

+

connection_id

+

String

+

Yes

+

Specifies the IPsec VPN connection ID.

+
+
+
+

Request Message

None

+
+

Response Message

None

+
+

Example

+
+ +

Returned Values

For details, see section Common Returned Values.

+
+
+
+ +
+ diff --git a/docs/vpn/api-ref/en_topic_0093011497.html b/docs/vpn/api-ref/en_topic_0093011497.html new file mode 100644 index 00000000..32922fbc --- /dev/null +++ b/docs/vpn/api-ref/en_topic_0093011497.html @@ -0,0 +1,23 @@ + + +

VPN Service Management

+
+
+ + + +
+ diff --git a/docs/vpn/api-ref/en_topic_0093011498.html b/docs/vpn/api-ref/en_topic_0093011498.html new file mode 100644 index 00000000..11d14975 --- /dev/null +++ b/docs/vpn/api-ref/en_topic_0093011498.html @@ -0,0 +1,217 @@ + + +

Creating a VPN Service

+

Function

This interface is used to create a VPN service.

+

Only one VPN service can be created for each VPC.

+
+
+

URI

POST /v2.0/vpn/vpnservices

+
+

Request Message

Table 1 describes the request parameters.

+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Table 1 Request parameters

Parameter

+

Type

+

Mandatory

+

Description

+

subnet_id

+

String

+

No

+

Specifies the subnet ID.

+

router_id

+

String

+

Yes

+

Specifies the router ID.

+

name

+

String

+

No

+

Specifies the VPN service name.

+

admin_state_up

+

Boolean

+

No

+

Specifies the administrative status. The value can be true or false.

+

tenant_id

+

String

+

No

+

Specifies the project ID.

+

description

+

String

+

No

+

Provides supplementary information about the VPN service.

+

vpnservice

+

Object

+

Yes

+

Specifies the VPN service object.

+
+
+
  1. The project_id parameter is not supported.
  2. The value of tenant_id can contain a maximum of 255 characters.
  3. The value of name can contain 1 to 64 characters.
  4. The value of description can contain a maximum of 255 characters.
  5. The value of router_id must be the VPC router ID.
  6. The value of admin_state_up can only be true.
  7. This interface cannot be used to create a VPN service in the active-active VPN scenarios.
  8. Bandwidth limiting is used by default. The recommended bandwidth is 300 Mbit/s. This interface cannot be used to change the bandwidth size.
  9. In standalone mode, only one VPC service can be created for each VPN. In active-active mode, two VPC services can be created for each VPN.
+
+
+

Response Message

Table 2 describes the response parameters.

+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Table 2 Response parameters

Parameter

+

Type

+

Description

+

router_id

+

String

+

Specifies the router ID.

+

status

+

String

+

Specifies whether the VPN service is currently operational. The value can be ACTIVE, DOWN, BUILD, ERROR, PENDING_CREATE, PENDING_UPDATE, or PENDING_DELETE.

+

name

+

String

+

Specifies the VPN service name.

+

external_v6_ip

+

String

+

Specifies the IPv6 address of the VPN service external gateway.

+

admin_state_up

+

Boolean

+

Specifies the administrative status. The value can be true or false.

+

subnet_id

+

String

+

Specifies the subnet ID.

+

tenant_id

+

String

+

Specifies the project ID.

+

external_v4_ip

+

String

+

Specifies the IPv4 address of the VPN service external gateway.

+

id

+

String

+

Specifies the VPN service ID.

+

description

+

String

+

Provides supplementary information about the VPN service.

+

vpnservice

+

Object

+

Specifies the VPN service object.

+
+
+
+

Example

+
+ +

Returned Values

For details, see section Common Returned Values.

+
+
+
+ +
+ diff --git a/docs/vpn/api-ref/en_topic_0093011499.html b/docs/vpn/api-ref/en_topic_0093011499.html new file mode 100644 index 00000000..b9a0a7bd --- /dev/null +++ b/docs/vpn/api-ref/en_topic_0093011499.html @@ -0,0 +1,175 @@ + + +

Querying Details About a VPN Service

+

Function

This interface is used to query details about a VPN service.

+
+

URI

GET /v2.0/vpn/vpnservices/{service_id}

+ +
+ + + + + + + + + + + +
Table 1 Parameter description

Parameter

+

Type

+

Mandatory

+

Description

+

service_id

+

String

+

Yes

+

Specifies the VPN service ID.

+
+
+
+

Request Message

None

+
+

Response Message

Table 2 describes the response parameters.

+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Table 2 Response parameters

Parameter

+

Type

+

Mandatory

+

Description

+

status

+

String

+

Yes

+

Specifies whether the VPN service is currently operational. The value can be ACTIVE, DOWN, BUILD, ERROR, PENDING_CREATE, PENDING_UPDATE, or PENDING_DELETE.

+

router_id

+

String

+

Yes

+

Specifies the router ID.

+

name

+

String

+

No

+

Specifies the VPN service name.

+

external_v6_ip

+

String

+

Yes

+

Specifies the IPv6 address of the VPN service external gateway.

+

admin_state_up

+

Boolean

+

No

+

Specifies the administrative status. The value can be true or false.

+

subnet_id

+

String

+

No

+

Specifies the subnet ID.

+

tenant_id

+

String

+

No

+

Specifies the project ID.

+

external_v4_ip

+

String

+

Yes

+

Specifies the IPv4 address of the VPN service external gateway.

+

id

+

String

+

Yes

+

Specifies the VPN service ID.

+

description

+

String

+

No

+

Provides supplementary information about the VPN service.

+

vpnservice

+

Object

+

Yes

+

Specifies the VPN service object.

+
+
+
+

Example

+
+ +

Returned Values

For details, see section Common Returned Values.

+
+
+
+ +
+ diff --git a/docs/vpn/api-ref/en_topic_0093011500.html b/docs/vpn/api-ref/en_topic_0093011500.html new file mode 100644 index 00000000..25141f3d --- /dev/null +++ b/docs/vpn/api-ref/en_topic_0093011500.html @@ -0,0 +1,179 @@ + + +

Querying VPN Services

+

Function

This interface is used to query VPN services.

+
+

URI

GET /v2.0/vpn/vpnservices

+
+

Request Message

Table 1 describes the request parameters.

+ +
+ + + + + + + + + + + +
Table 1 Request parameters

Parameter

+

Type

+

Mandatory

+

Description

+

fields

+

String

+

No

+

Controls which parameters are returned. If this parameter is not specified, all parameters will be returned.

+
+
+

The project_id parameter is not supported.

+
+
+

Response Message

Table 2 describes the response parameters.

+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Table 2 Response parameters

Parameter

+

Type

+

Mandatory

+

Description

+

vpnservices

+

List<Object>

+

Yes

+

Specifies the VPN service object.

+

status

+

String

+

Yes

+

Specifies whether the VPN service is currently operational. The value can be ACTIVE, DOWN, BUILD, ERROR, PENDING_CREATE, PENDING_UPDATE, or PENDING_DELETE.

+

router_id

+

String

+

Yes

+

Specifies the router ID.

+

name

+

String

+

Yes

+

Specifies the VPN service name.

+

external_v6_ip

+

String

+

Yes

+

Specifies the IPv6 address of the VPN service external gateway.

+

admin_state_up

+

Boolean

+

Yes

+

Specifies the administrative status. The value can be true or false.

+

subnet_id

+

String

+

No

+

Specifies the subnet ID.

+

tenant_id

+

String

+

Yes

+

Specifies the project ID.

+

external_v4_ip

+

String

+

Yes

+

Specifies the IPv4 address of the VPN service external gateway.

+

id

+

String

+

No

+

Specifies the VPN service ID.

+

description

+

String

+

Yes

+

Provides supplementary information about the VPN service.

+
+
+
+

Example

+
GET /v2.0/vpn/vpnservices
+
+ +

Returned Values

For details, see section Common Returned Values.

+
+
+
+ +
+ diff --git a/docs/vpn/api-ref/en_topic_0093011501.html b/docs/vpn/api-ref/en_topic_0093011501.html new file mode 100644 index 00000000..43a896d7 --- /dev/null +++ b/docs/vpn/api-ref/en_topic_0093011501.html @@ -0,0 +1,230 @@ + + +

Updating a VPN Service

+

Function

This interface is used to update a VPN service.

+
+

URI

PUT /v2.0/vpn/vpnservices/{service_id}

+ +
+ + + + + + + + + + + +
Table 1 Parameter description

Parameter

+

Type

+

Mandatory

+

Description

+

service_id

+

String

+

Yes

+

Specifies the VPN service ID.

+
+
+
+

Request Message

Table 2 describes the request parameters.

+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Table 2 Request parameters

Parameter

+

Type

+

Mandatory

+

Description

+

description

+

String

+

No

+

Provides supplementary information about the VPN service.

+

name

+

String

+

No

+

Specifies the VPN service name.

+

admin_state_up

+

Boolean

+

No

+

Specifies the administrative status. The value can be true or false.

+

vpnservice

+

Object

+

Yes

+

Specifies the VPN service object.

+
+
+
  1. The project_id parameter is not supported.
  2. The value of name can contain 1 to 64 characters.
  3. The value of description can contain a maximum of 255 characters.
  4. The value of admin_state_up can only be true.
  5. The subnet_id parameter is unconfigurable.
+
+
+

Response Message

Table 3 describes the response parameters.

+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Table 3 Response parameters

Parameter

+

Type

+

Mandatory

+

Description

+

id

+

String

+

Yes

+

Specifies the VPN service ID.

+

router_id

+

String

+

Yes

+

Specifies the router ID.

+

status

+

String

+

Yes

+

Specifies the VPN service status. The value can be ACTIVE, DOWN, BUILD, ERROR, PENDING_UPDATE, or PENDING_DELETE.

+

name

+

String

+

Yes

+

Specifies the VPN service name.

+

external_v6_ip

+

String

+

Yes

+

Specifies the IPv6 address of the VPN service external gateway.

+

admin_state_up

+

Boolean

+

Yes

+

Specifies the administrative status. The value can be true or false.

+

subnet_id

+

String

+

No

+

Specifies the subnet ID.

+

tenant_id

+

String

+

Yes

+

Specifies the project ID.

+

external_v4_ip

+

String

+

Yes

+

Specifies the IPv4 address of the VPN service external gateway.

+

description

+

String

+

Yes

+

Provides supplementary information about the VPN service.

+

vpnservice

+

Object

+

Yes

+

Specifies the VPN service object.

+
+
+
+

Example

+
+ +

Returned Values

For details, see section Common Returned Values.

+
+
+
+ +
+ diff --git a/docs/vpn/api-ref/en_topic_0093011502.html b/docs/vpn/api-ref/en_topic_0093011502.html new file mode 100644 index 00000000..ced1d0f6 --- /dev/null +++ b/docs/vpn/api-ref/en_topic_0093011502.html @@ -0,0 +1,50 @@ + + +

Deleting a VPN Service

+

Function

This interface is used to delete a VPN service.

+

This interface cannot be used to delete a VPN service in the active-active VPN scenarios.

+
+
+

URI

DELETE /v2.0/vpn/vpnservices/{service_id}

+ +
+ + + + + + + + + + + +
Table 1 Parameter description

Parameter

+

Type

+

Mandatory

+

Description

+

service_id

+

String

+

Yes

+

Specifies the VPN service ID.

+
+
+
+

Request Message

None

+
+

Response Message

None

+
+

Example

+
DELETE v2.0/vpn/vpnservices/{service_id}
+
+ +

Returned Values

For details, see section Common Returned Values.

+
+
+
+ +
+ diff --git a/docs/vpn/api-ref/en_topic_0093011503.html b/docs/vpn/api-ref/en_topic_0093011503.html new file mode 100644 index 00000000..f236aef1 --- /dev/null +++ b/docs/vpn/api-ref/en_topic_0093011503.html @@ -0,0 +1,23 @@ + + +

IPsec Policy Management

+
+
+ + + +
+ diff --git a/docs/vpn/api-ref/en_topic_0093011504.html b/docs/vpn/api-ref/en_topic_0093011504.html new file mode 100644 index 00000000..05d1a322 --- /dev/null +++ b/docs/vpn/api-ref/en_topic_0093011504.html @@ -0,0 +1,286 @@ + + +

Creating an IPsec Policy

+

Function

This interface is used to create an IPsec policy.

+
+

URI

POST /v2.0/vpn/ipsecpolicies

+
+

Request Message

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Table 1 Request parameters

Parameter

+

Type

+

Mandatory

+

Description

+

name

+

String

+

No

+

Specifies the IPsec policy name.

+

pfs

+

String

+

No

+

Specifies the PFS. The value can be group1, group2, group5, group14, group15, group16, group19, group20, group21, or disable.

+

The default value is group5.

+

The value disable indicates that the PFS function is disabled.

+

auth_algorithm

+

String

+

No

+

Specifies the authentication hash algorithm. The value can be md5, sha1, sha2-256, sha2-384, or sha2-512.

+

description

+

String

+

No

+

Provides supplementary information about the IPsec policy.

+

encapsulation_mode

+

String

+

No

+

Specifies the encapsulation mode. The default value is tunnel.

+

encryption_algorithm

+

String

+

No

+

Specifies the encryption algorithm. The value can be 3des, aes-128, aes-192, or aes-256. The default value is aes-128.

+

ipsecpolicy

+

Object

+

Yes

+

Specifies the IPsec policy object.

+

lifetime

+

Object

+

No

+

Specifies the lifetime object of SA.

+

tenant_id

+

String

+

No

+

Specifies the project ID.

+

transform_protocol

+

String

+

No

+

Specifies the transform protocol used. The value can be esp, ah, or ah-esp. The default value is esp.

+

value

+

Integer

+

No

+

Specifies the lifetime value of the SA. The default unit is seconds. The default value is 3600.

+

units

+

String

+

No

+

Specifies the lifecycle unit. The default value is seconds.

+
+
+
  1. The project_id parameter is not supported.
  2. The value of tenant_id can contain a maximum of 255 characters.
  3. The value of name can contain 1 to 64 characters.
  4. The value of description can contain a maximum of 255 characters.
  5. The value of transform_protocol can only be esp, ah, or ah-esp.
  6. The value of auth_algorithm can only be md5, sha1, sha2-256, sha2-384, or sha2-512.
  7. The value of encapsulation_mode can only be tunnel.
  8. The value of units can only be in seconds.
  9. The value of value can only be an integer ranging from 60 to 604,800.
  10. The value of encryption_algorithm can only be aes-192, aes-256, group2, group5, or group14.
+
+
+

Response Message

Table 2 describes the response parameters.

+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Table 2 Response parameters

Parameter

+

Type

+

Description

+

auth_algorithm

+

String

+

Specifies the authentication hash algorithm. The value can be md5, sha1, sha2-256, sha2-384, or sha2-512.

+

description

+

String

+

Provides supplementary information about the IPsec policy.

+

encapsulation_mode

+

String

+

Specifies the encapsulation mode. The default value is tunnel.

+

encryption_algorithm

+

String

+

Specifies the encryption algorithm. The value can be 3des, aes-128, aes-192, or aes-256. The default value is aes-128.

+

id

+

String

+

Specifies the IPsec policy ID.

+

ipsecpolicy

+

Object

+

Specifies the IPsec policy object.

+

lifetime

+

Object

+

Specifies the lifetime object of SA.

+

name

+

String

+

Specifies the IPsec policy name.

+

pfs

+

String

+

Specifies the PFS. The value can be group1, group2, group5, group14, group15, group16, group19, group20, group21, or disable.

+

The default value is group5.

+

The value disable indicates that the PFS function is disabled.

+

tenant_id

+

String

+

Specifies the project ID.

+

transform_protocol

+

String

+

Specifies the transform protocol used. The value can be esp, ah, or ah-esp. The default value is esp.

+

value

+

Integer

+

Specifies the lifetime value of the SA. The default unit is seconds. The default value is 3600.

+

units

+

String

+

Specifies the lifecycle unit. The default value is seconds.

+
+
+
+

Example

+
+ +

Returned Values

For details, see section Common Returned Values.

+
+
+
+ +
+ diff --git a/docs/vpn/api-ref/en_topic_0093011505.html b/docs/vpn/api-ref/en_topic_0093011505.html new file mode 100644 index 00000000..0560a4fb --- /dev/null +++ b/docs/vpn/api-ref/en_topic_0093011505.html @@ -0,0 +1,172 @@ + + +

Querying Details About an IPsec Policy

+

Function

This interface is used to query details about an IPsec policy.

+
+

URI

GET /v2.0/vpn/ipsecpolicies/{ipsecpolicy_id}

+ +
+ + + + + + + + + + + +
Table 1 Parameter description

Parameter

+

Type

+

Mandatory

+

Description

+

ipsecpolicy_id

+

String

+

Yes

+

Specifies the IPsec policy ID.

+
+
+
  1. The project_id parameter is not supported.
  2. The ipsecpolicy_id parameter must be specified.
+
+
+

Request Message

None

+
+

Response Message

Table 2 describes the response parameters.

+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Table 2 Response parameters

Parameter

+

Type

+

Description

+

name

+

String

+

Specifies the IPsec policy name.

+

encapsulation_mode

+

String

+

Specifies the encapsulation mode. The default value is tunnel.

+

encryption_algorithm

+

String

+

Specifies the encryption algorithm. The value can be 3des, aes-128, aes-192, or aes-256. The default value is aes-128.

+

pfs

+

String

+

Specifies the PFS. The value can be group1, group2, group5, group14, group15, group16, group19, group20, group21, or disable.

+

The default value is group5.

+

The value disable indicates that the PFS function is disabled.

+

lifetime

+

Object

+

Specifies the lifetime object of SA.

+

transform_protocol

+

String

+

Specifies the transform protocol used. The value can be esp, ah, or ah-esp. The default value is esp.

+

tenant_id

+

String

+

Specifies the project ID.

+

id

+

String

+

Specifies the IPsec policy ID.

+

auth_algorithm

+

String

+

Specifies the authentication hash algorithm. The value can be md5, sha1, sha2-256, sha2-384, or sha2-512.

+

description

+

String

+

Provides supplementary information about the IPsec policy.

+

ipsecpolicy

+

Object

+

Specifies the IPsec policy object.

+

value

+

Integer

+

Specifies the lifetime value of the SA. The default unit is seconds. The default value is 3600.

+

units

+

String

+

Specifies the lifecycle unit. The default value is seconds.

+
+
+
+

Example

+
+ +

Returned Values

For details, see section Common Returned Values.

+
+
+
+ +
+ diff --git a/docs/vpn/api-ref/en_topic_0093011506.html b/docs/vpn/api-ref/en_topic_0093011506.html new file mode 100644 index 00000000..30a6cf4a --- /dev/null +++ b/docs/vpn/api-ref/en_topic_0093011506.html @@ -0,0 +1,172 @@ + + +

Querying IPsec Policies

+

Function

This interface is used to query IPsec policies.

+
+

URI

GET /v2.0/vpn/ipsecpolicies

+
+

Request Message

Table 1 describes the request parameters.

+ +
+ + + + + + + + + + + +
Table 1 Request parameters

Parameter

+

Type

+

Mandatory

+

Description

+

fields

+

String

+

No

+

Controls which parameters are returned. If this parameter is not specified, all parameters will be returned.

+
+
+

The project_id parameter is not supported.

+
+
+

Response Message

Table 2 describes the response parameters.

+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Table 2 Response parameters

Parameter

+

Type

+

Description

+

transform_protocol

+

String

+

Specifies the transform protocol used. The value can be esp, ah, or ah-esp. The default value is esp.

+

tenant_id

+

String

+

Specifies the project ID.

+

id

+

String

+

Specifies the IPsec policy ID.

+

encapsulation_mode

+

String

+

Specifies the encapsulation mode. The default value is tunnel.

+

pfs

+

String

+

Specifies the PFS. The value can be group1, group2, group5, group14, group15, group16, group19, group20, group21, or disable.

+

The default value is group5.

+

The value disable indicates that the PFS function is disabled.

+

lifetime

+

Object

+

Specifies the lifetime object of SA.

+

name

+

String

+

Specifies the IPsec policy name.

+

auth_algorithm

+

String

+

Specifies the authentication hash algorithm. The value can be md5, sha1, sha2-256, sha2-384, or sha2-512.

+

description

+

String

+

Provides supplementary information about the IPsec policy.

+

ipsecpolicies

+

List<Object>

+

Specifies the IPsec policy list.

+

encryption_algorithm

+

String

+

Specifies the encryption algorithm. The value can be 3des, aes-128, aes-192, or aes-256. The default value is aes-128.

+

value

+

Integer

+

Specifies the lifetime value of the SA. The default unit is seconds. The default value is 3600.

+

units

+

String

+

Specifies the lifecycle unit. The default value is seconds.

+
+
+
+

Example

+
+ +

Returned Values

For details, see section Common Returned Values.

+
+
+
+ +
+ diff --git a/docs/vpn/api-ref/en_topic_0093011507.html b/docs/vpn/api-ref/en_topic_0093011507.html new file mode 100644 index 00000000..3a27509d --- /dev/null +++ b/docs/vpn/api-ref/en_topic_0093011507.html @@ -0,0 +1,294 @@ + + +

Updating an IPsec Policy

+

Function

This interface is used to update an IPsec policy.

+

If the IPsec policy is updated, the IPsec VPN connection also needs to be updated.

+
+
+

URI

PUT /v2.0/vpn/ipsecpolicies/{ipsecpolicy_id}

+ +
+ + + + + + + + + + + +
Table 1 Parameter description

Parameter

+

Type

+

Mandatory

+

Description

+

ipsecpolicy_id

+

String

+

Yes

+

Specifies the IPsec policy ID.

+
+
+
+

Request Message

Table 2 describes the request parameters.

+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Table 2 Request parameters

Parameter

+

Type

+

Mandatory

+

Description

+

ipsecpolicy

+

Object

+

Yes

+

Specifies the IPsec policy object.

+

description

+

String

+

No

+

Provides supplementary information about the IPsec policy.

+

transform_protocol

+

String

+

No

+

Specifies the transform protocol used. The value can be esp, ah, or ah-esp. The default value is esp.

+

auth_algorithm

+

String

+

No

+

Specifies the authentication hash algorithm. The value can be md5, sha1, sha2-256, sha2-384, or sha2-512.

+

encapsulation_mode

+

String

+

No

+

Specifies the encapsulation mode. The default value is tunnel.

+

encryption_algorithm

+

String

+

No

+

Specifies the encryption algorithm. The value can be 3des, aes-128, aes-192, or aes-256. The default value is aes-128.

+

pfs

+

String

+

No

+

Specifies the PFS. The value can be group1, group2, group5, group14, group15, group16, group19, group20, group21, or disable.

+

The default value is group5.

+

The value disable indicates that the PFS function is disabled.

+

value

+

Integer

+

No

+

Specifies the lifetime value of the SA. The default unit is seconds. The default value is 3600.

+

units

+

String

+

No

+

Specifies the lifecycle unit. The default value is seconds.

+

lifetime

+

Object

+

No

+

Specifies the lifetime object of SA.

+

name

+

String

+

No

+

Specifies the IPsec policy name.

+
+
+
  1. The project_id parameter is not supported.
  2. The value of name can contain 1 to 64 characters.
  3. The value of description can contain a maximum of 255 characters.
  4. The value of transform_protocol can only be esp, ah, or ah-esp.
  5. The value of auth_algorithm can only be md5, sha1, sha2-256, sha2-384, or sha2-512.
  6. The value of encapsulation_mode can only be tunnel.
  7. The value of units can only be in seconds.
  8. The value of value can only be an integer ranging from 60 to 604,800.
  9. The value of encryption_algorithm can only be aes-192, aes-256, group2, group5, or group14.
+
+
+

Response Message

Table 3 describes the response parameters.

+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Table 3 Response parameters

Parameter

+

Type

+

Description

+

encryption_algorithm

+

String

+

Specifies the encryption algorithm. The value can be 3des, aes-128, aes-192, or aes-256. The default value is aes-128.

+

pfs

+

String

+

Specifies the PFS. The value can be group1, group2, group5, group14, group15, group16, group19, group20, group21, or disable.

+

The default value is group5.

+

The value disable indicates that the PFS function is disabled.

+

lifetime

+

Object

+

Specifies the lifetime object of SA.

+

name

+

String

+

Specifies the IPsec policy name.

+

transform_protocol

+

String

+

Specifies the transform protocol used. The value can be esp, ah, or ah-esp. The default value is esp.

+

tenant_id

+

String

+

Specifies the project ID.

+

id

+

String

+

Specifies the IPsec policy ID.

+

encapsulation_mode

+

String

+

Specifies the encapsulation mode. The default value is tunnel.

+

auth_algorithm

+

String

+

Specifies the authentication hash algorithm. The value can be md5, sha1, sha2-256, sha2-384, or sha2-512.

+

description

+

String

+

Provides supplementary information about the IPsec policy.

+

ipsecpolicy

+

Object

+

Specifies the IPsec policy object.

+

value

+

Integer

+

Specifies the lifetime value of the SA. The default unit is seconds. The default value is 3600.

+

units

+

String

+

Specifies the lifecycle unit. The default value is seconds.

+
+
+
+

Example

+
PUT /v2.0/vpn/ipsecpolicies/{ipsecpolicy_id}
+{
+  "ipsecpolicy" : {
+    "pfs" : "group14"
+  }
+}
+
+ +

Returned Values

For details, see section Common Returned Values.

+
+
+
+ +
+ diff --git a/docs/vpn/api-ref/en_topic_0093011508.html b/docs/vpn/api-ref/en_topic_0093011508.html new file mode 100644 index 00000000..cf63c099 --- /dev/null +++ b/docs/vpn/api-ref/en_topic_0093011508.html @@ -0,0 +1,48 @@ + + +

Deleting an IPsec Policy

+

Function

This interface is used to delete an IPsec policy.

+
+

URI

DELETE /v2.0/vpn/ipsecpolicies/{ipsecpolicy_id}

+ +
+ + + + + + + + + + + +
Table 1 Parameter description

Parameter

+

Type

+

Mandatory

+

Description

+

ipsecpolicy_id

+

String

+

Yes

+

Specifies the IPsec policy ID.

+
+
+
+

Request Message

None

+
+

Response Message

None

+
+

Example

+
DELETE /v2.0/vpn/ipsecpolicies/{ipsecpolicy_id}
+
+ +

Returned Values

For details, see section Common Returned Values.

+
+
+
+ +
+ diff --git a/docs/vpn/api-ref/en_topic_0093011509.html b/docs/vpn/api-ref/en_topic_0093011509.html new file mode 100644 index 00000000..b8ac6fec --- /dev/null +++ b/docs/vpn/api-ref/en_topic_0093011509.html @@ -0,0 +1,23 @@ + + +

IKE Policy Management

+
+
+ + + +
+ diff --git a/docs/vpn/api-ref/en_topic_0093011510.html b/docs/vpn/api-ref/en_topic_0093011510.html new file mode 100644 index 00000000..acb0cb0e --- /dev/null +++ b/docs/vpn/api-ref/en_topic_0093011510.html @@ -0,0 +1,284 @@ + + +

Creating an IKE Policy

+

Function

This interface is used to create an IKE policy.

+
+

URI

POST /v2.0/vpn/ikepolicies

+
+

Request Message

Table 1 describes the request parameters.

+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Table 1 Request parameters

Parameter

+

Type

+

Mandatory

+

Description

+

name

+

String

+

No

+

Specifies the IKE policy name.

+

auth_algorithm

+

String

+

No

+

Specifies the authentication hash algorithm. The value can be md5, sha1, sha2-256, sha2-384, or sha2-512.

+

description

+

String

+

No

+

Provides supplementary information about the IKE policy.

+

encryption_algorithm

+

String

+

No

+

Specifies the encryption algorithm. The value can be 3des, aes-128, aes-192, or aes-256. The default value is aes-128.

+

ike_version

+

String

+

No

+

Specifies the IKE version. The value can be v1 or v2. The default value is v1.

+

lifetime

+

Object

+

No

+

Specifies the lifetime object of SA.

+

pfs

+

String

+

No

+

Specifies the PFS. The value can be group1, group2, group5, group14, group15, group16, group19, group20, group21, or disable.

+

The default value is group5.

+

phase1_negotiation_mode

+

String

+

No

+

Specifies the IKE mode The default value is main.

+

tenant_id

+

String

+

No

+

Specifies the project ID.

+

value

+

String

+

No

+

Specifies the lifetime value of the SA. The default unit is seconds. The default value is 3600.

+

units

+

String

+

No

+

Specifies the lifecycle unit. The default value is seconds.

+

ikepolicy

+

Object

+

Yes

+

Specifies the IKE policy object.

+
+
+
  1. The project_id parameter is not supported.
  2. The value of tenant_id can contain a maximum of 255 characters.
  3. The value of name can contain 1 to 64 characters.
  4. The value of description can contain a maximum of 255 characters.
  5. The value of auth_algorithm can only be md5, sha1, sha2-256, sha2-384, or sha2-512.
  6. The value of encryption_algorithm can only be 3des, aes-128, aes-192, or aes-256.
  7. The value of phase1_negotiation_mode can only be main and aggressive.
  8. The value of units can only be in seconds.
  9. The value of value can only be an integer ranging from 60 to 604,800.
  10. The value of ike_version can only be v1 or v2.
+
+
+

Response Message

Table 2 describes the response parameters.

+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Table 2 Response parameters

Parameter

+

Type

+

Description

+

auth_algorithm

+

String

+

Specifies the authentication hash algorithm. The value can be md5, sha1, sha2-256, sha2-384, or sha2-512.

+

description

+

String

+

Provides supplementary information about the IKE policy.

+

encryption_algorithm

+

String

+

Specifies the encryption algorithm. The value can be 3des, aes-128, aes-192, or aes-256. The default value is aes-128.

+

lifetime

+

Object

+

Specifies the lifetime object of SA.

+

name

+

String

+

Specifies the IKE policy name.

+

pfs

+

String

+

Specifies the PFS. The value can be group1, group2, group5, group14, group15, group16, group19, group20, group21, or disable.

+

The default value is group5.

+

phase1_negotiation_mode

+

String

+

Specifies the IKE mode The default value is main.

+

tenant_id

+

String

+

Specifies the project ID.

+

ikepolicy

+

Object

+

Specifies the IKE policy object.

+

value

+

Integer

+

Specifies the lifetime value of the SA. The default unit is seconds. The default value is 3600.

+

units

+

String

+

Specifies the lifecycle unit. The default value is seconds.

+

id

+

String

+

Specifies the IKE policy ID.

+

ike_version

+

String

+

Specifies the IKE version. The value can be v1 or v2. The default value is v1.

+
+
+
+

Example

+
+ +

Returned Values

For details, see section Common Returned Values.

+
+
+
+ +
+ diff --git a/docs/vpn/api-ref/en_topic_0093011511.html b/docs/vpn/api-ref/en_topic_0093011511.html new file mode 100644 index 00000000..8a608721 --- /dev/null +++ b/docs/vpn/api-ref/en_topic_0093011511.html @@ -0,0 +1,168 @@ + + +

Querying Details About an IKE Policy

+

Function

This interface is used to query details about an IKE policy.

+
+

URI

GET /v2.0/vpn/ikepolicies/{ikepolicy_id}

+ +
+ + + + + + + + + + + +
Table 1 Parameter description

Parameter

+

Type

+

Mandatory

+

Description

+

ikepolicy_id

+

String

+

Yes

+

Specifies the IKE policy ID.

+
+
+
+

Request Message

None

+
+

Response Message

Table 2 describes the response parameters.

+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Table 2 Response parameters

Parameter

+

Type

+

Description

+

ikepolicy

+

Object

+

Specifies the IKE policy object.

+

description

+

String

+

Provides supplementary information about the IKE policy.

+

tenant_id

+

String

+

Specifies the project ID.

+

auth_algorithm

+

String

+

Specifies the authentication hash algorithm. The value can be md5, sha1, sha2-256, sha2-384, or sha2-512.

+

name

+

String

+

Specifies the IKE policy name.

+

encryption_algorithm

+

String

+

Specifies the encryption algorithm. The value can be 3des, aes-128, aes-192, or aes-256. The default value is aes-128.

+

pfs

+

String

+

Specifies the PFS. The value can be group1, group2, group5, group14, group15, group16, group19, group20, group21, or disable.

+

The default value is group5.

+

value

+

Integer

+

Specifies the lifetime value of the SA. The default unit is seconds. The default value is 3600.

+

phase1_negotiation_mode

+

String

+

Specifies the IKE mode The default value is main.

+

units

+

String

+

Specifies the lifecycle unit. The default value is seconds.

+

lifetime

+

Object

+

Specifies the lifetime object of SA.

+

id

+

String

+

Specifies the IKE policy ID.

+

ike_version

+

String

+

Specifies the IKE version number. The value can be v1 or v2. The default value is v1.

+
+
+
+

Example

+
+ +

Returned Values

For details, see section Common Returned Values.

+
+
+
+ +
+ diff --git a/docs/vpn/api-ref/en_topic_0093011512.html b/docs/vpn/api-ref/en_topic_0093011512.html new file mode 100644 index 00000000..ac7c8928 --- /dev/null +++ b/docs/vpn/api-ref/en_topic_0093011512.html @@ -0,0 +1,170 @@ + + +

Querying IKE Policies

+

Function

This interface is used to query IKE policies.

+
+

URI

GET /v2.0/vpn/ikepolicies

+
+

Request Message

Table 1 describes the request parameters.

+ +
+ + + + + + + + + + + +
Table 1 Request parameters

Parameter

+

Type

+

Mandatory

+

Description

+

fields

+

String

+

No

+

Controls which parameters are returned. If this parameter is not specified, all parameters will be returned.

+
+
+

The project_id parameter is not supported.

+
+
+

Response Message

Table 2 describes the response parameters.

+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Table 2 Response parameters

Parameter

+

Type

+

Description

+

ikepolicies

+

List<Object>

+

Specifies the IKE policy list.

+

description

+

String

+

Provides supplementary information about the IKE policy.

+

tenant_id

+

String

+

Specifies the project ID.

+

auth_algorithm

+

String

+

Specifies the authentication hash algorithm. The value can be md5, sha1, sha2-256, sha2-384, or sha2-512.

+

name

+

String

+

Specifies the IKE policy name.

+

encryption_algorithm

+

String

+

Specifies the encryption algorithm. The value can be 3des, aes-128, aes-192, or aes-256. The default value is aes-128.

+

pfs

+

String

+

Specifies the PFS. The value can be group1, group2, group5, group14, group15, group16, group19, group20, group21, or disable.

+

The default value is group5.

+

value

+

Integer

+

Specifies the lifetime value of the SA. The default unit is seconds. The default value is 3600.

+

phase1_negotiation_mode

+

String

+

Specifies the IKE mode The default value is main.

+

units

+

String

+

Specifies the lifecycle unit. The default value is seconds.

+

lifetime

+

Object

+

Specifies the lifetime object of SA.

+

id

+

String

+

Specifies the IKE policy ID.

+

ike_version

+

String

+

Specifies the IKE version. The value can be v1 or v2. The default value is v1.

+
+
+
+

Example

+
+ +

Returned Values

For details, see section Common Returned Values.

+
+
+
+ +
+ diff --git a/docs/vpn/api-ref/en_topic_0093011513.html b/docs/vpn/api-ref/en_topic_0093011513.html new file mode 100644 index 00000000..10075cc9 --- /dev/null +++ b/docs/vpn/api-ref/en_topic_0093011513.html @@ -0,0 +1,290 @@ + + +

Updating an IKE Policy

+

Function

This interface is used to update an IKE policy.

+

If the IKE policy is updated, the IPsec VPN connection also needs to be updated.

+
+
+

URI

PUT /v2.0/vpn/ikepolicies/{ikepolicy_id}

+ +
+ + + + + + + + + + + +
Table 1 Parameter description

Parameter

+

Type

+

Mandatory

+

Description

+

ikepolicy_id

+

String

+

Yes

+

Specifies the IKE policy ID.

+
+
+
+

Request Message

Table 2 describes the request parameters.

+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Table 2 Request parameters

Parameter

+

Type

+

Mandatory

+

Description

+

auth_algorithm

+

String

+

No

+

Specifies the authentication hash algorithm. The value can be md5, sha1, sha2-256, sha2-384, or sha2-512.

+

description

+

String

+

No

+

Provides supplementary information about the IKE policy.

+

encryption_algorithm

+

String

+

No

+

Specifies the encryption algorithm. The value can be 3des, aes-128, aes-192, or aes-256. The default value is aes-128.

+

ike_version

+

String

+

No

+

Specifies the IKE version. The value can be v1 or v2. The default value is v1.

+

ikepolicy

+

Object

+

Yes

+

Specifies the IKE policy object.

+

lifetime

+

Object

+

No

+

Specifies the lifetime object of SA.

+

name

+

String

+

No

+

Specifies the IKE policy name.

+

pfs

+

String

+

No

+

Specifies the PFS. The value can be group1, group2, group5, group14, group15, group16, group19, group20, group21, or disable.

+

The default value is group5.

+

phase1_negotiation_mode

+

String

+

No

+

Specifies the IKE mode The default value is main.

+

value

+

Integer

+

No

+

Specifies the lifetime value of the SA. The default unit is seconds. The default value is 3600.

+

units

+

String

+

No

+

Specifies the lifecycle unit. The default value is seconds.

+
+
+
  1. The ikepolicy_id parameter must be specified.
  2. The value of name can contain 1 to 64 characters.
  3. The value of description can contain a maximum of 255 characters.
  4. The value of auth_algorithm can only be md5, sha1, sha2-256, sha2-384, or sha2-512.
  5. The value of encryption_algorithm can only be 3des, aes-128, aes-192, or aes-256.
  6. The value of phase1_negotiation_mode can only be main and aggressive.
  7. The value of units can only be in seconds.
  8. The value of value can only be an integer ranging from 60 to 604,800.
  9. The value of ike_version can only be v1 or v2.
  10. The project_id parameter is not supported.
+
+
+

Response Message

Table 3 describes the response parameters.

+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Table 3 Response parameters

Parameter

+

Type

+

Description

+

auth_algorithm

+

String

+

Specifies the authentication hash algorithm. The value can be md5, sha1, sha2-256, sha2-384, or sha2-512.

+

description

+

String

+

Provides supplementary information about the IKE policy.

+

encryption_algorithm

+

String

+

Specifies the encryption algorithm. The value can be 3des, aes-128, aes-192, or aes-256. The default value is aes-128.

+

id

+

String

+

Specifies the IKE policy ID.

+

ike_version

+

String

+

Specifies the IKE version. The value can be v1 or v2. The default value is v1.

+

lifetime

+

Object

+

Specifies the lifetime object of SA.

+

name

+

String

+

Specifies the IKE policy name.

+

pfs

+

String

+

Specifies the PFS. The value can be group1, group2, group5, group14, group15, group16, group19, group20, group21, or disable.

+

The default value is group5.

+

phase1_negotiation_mode

+

String

+

Specifies the IKE mode The default value is main.

+

tenant_id

+

String

+

Specifies the project ID.

+

ikepolicy

+

Object

+

Specifies the IKE policy object.

+

value

+

Integer

+

Specifies the lifetime value of the SA. The default unit is seconds. The default value is 3600.

+

units

+

String

+

Specifies the lifetime unit of the SA. The default unit is seconds. The default value is 3600.

+
+
+
+

Example

+
+ +

Returned Values

For details, see section Common Returned Values.

+
+
+
+ +
+ diff --git a/docs/vpn/api-ref/en_topic_0093011514.html b/docs/vpn/api-ref/en_topic_0093011514.html new file mode 100644 index 00000000..7279a7a8 --- /dev/null +++ b/docs/vpn/api-ref/en_topic_0093011514.html @@ -0,0 +1,48 @@ + + +

Deleting an IKE Policy

+

Function

This interface is used to delete an IKE policy.

+
+

URI

DELETE /v2.0/vpn/ikepolicies/{ikepolicy_id}

+ +
+ + + + + + + + + + + +
Table 1 Parameter description

Parameter

+

Type

+

Mandatory

+

Description

+

ikepolicy_id

+

String

+

Yes

+

Specifies the IKE policy ID.

+
+
+
+

Request Message

None

+
+

Response Message

None

+
+

Example

+
+ +

Returned Values

For details, see section Common Returned Values.

+
+
+
+ +
+ diff --git a/docs/vpn/api-ref/en_topic_0093011515.html b/docs/vpn/api-ref/en_topic_0093011515.html new file mode 100644 index 00000000..c30fc3b8 --- /dev/null +++ b/docs/vpn/api-ref/en_topic_0093011515.html @@ -0,0 +1,24 @@ + + +

VPN Endpoint Group Management

+

+
+
+ + + +
+ diff --git a/docs/vpn/api-ref/en_topic_0093011516.html b/docs/vpn/api-ref/en_topic_0093011516.html new file mode 100644 index 00000000..e8a644d4 --- /dev/null +++ b/docs/vpn/api-ref/en_topic_0093011516.html @@ -0,0 +1,170 @@ + + +

Creating a VPN Endpoint Group

+

Function

This interface is used to create a VPN endpoint group.

+
+

URI

POST /v2.0/vpn/endpoint-groups

+
+

Request Message

Table 1 describes the request parameters.

+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Table 1 Request parameters

Parameter

+

Type

+

Mandatory

+

Description

+

endpoints

+

List<String>

+

Yes

+

Specifies the endpoint list. The endpoints in a list must be of the same type.

+

type

+

String

+

Yes

+

Specifies the endpoint type. The value can be subnet or cidr.

+

name

+

String

+

No

+

Specifies the VPN endpoint group name.

+

tenant_id

+

String

+

No

+

Specifies the project ID.

+

description

+

String

+

No

+

Provides supplementary information about the VPN endpoint group.

+
+
+
  1. The project_id parameter is not supported.
  2. The value of tenant_id can contain a maximum of 255 characters.
  3. The value of name can contain 1 to 64 characters.
  4. The value of description can contain a maximum of 255 characters.
  5. The value of type can only be subnet or cidr.
+
+
+

Response Message

Table 2 describes the response parameters.

+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Table 2 Response parameters

Parameter

+

Type

+

Mandatory

+

Description

+

description

+

String

+

No

+

Provides supplementary information about the VPN endpoint group.

+

tenant_id

+

String

+

Yes

+

Specifies the project ID.

+

endpoints

+

List<String>

+

Yes

+

Specifies the endpoint list. The endpoints in a list must be of the same type.

+

type

+

String

+

Yes

+

Specifies the endpoint type. The value can be subnet or cidr.

+

id

+

String

+

Yes

+

Specifies the VPN endpoint group ID.

+

name

+

String

+

No

+

Specifies the VPN endpoint group name.

+
+
+
+

Example

+
+ +

Returned Values

For details, see section Common Returned Values.

+
+
+
+ +
+ diff --git a/docs/vpn/api-ref/en_topic_0093011517.html b/docs/vpn/api-ref/en_topic_0093011517.html new file mode 100644 index 00000000..3d19ddfc --- /dev/null +++ b/docs/vpn/api-ref/en_topic_0093011517.html @@ -0,0 +1,114 @@ + + +

Querying Details About a VPN Endpoint Group

+

Function

This interface is used to query details about a VPN endpoint group.

+
+

URI

GET /v2.0/vpn/endpoint-groups/{endpoint_group_id}

+ +
+ + + + + + + + + + + +
Table 1 Parameter description

Parameter

+

Type

+

Mandatory

+

Description

+

endpoint_group_id

+

String

+

No

+

Specifies the VPN endpoint group ID.

+
+
+
+

Request Message

None

+
+

Response Message

Table 2 describes the response parameters.

+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Table 2 Response parameters

Parameter

+

Type

+

Description

+

description

+

Object

+

Provides supplementary information about the VPN endpoint group.

+

tenant_id

+

String

+

Specifies the project ID.

+

endpoints

+

List

+

Specifies the endpoint list. The endpoints in a list must be of the same type.

+

type

+

String

+

Specifies the endpoint type. The value can be subnet or cidr.

+

id

+

String

+

Specifies the VPN endpoint group ID.

+

name

+

String

+

Specifies the VPN endpoint group name.

+
+
+
+

Example

+
+ +

Returned Values

For details, see section Common Returned Values.

+
+
+
+ +
+ diff --git a/docs/vpn/api-ref/en_topic_0093011518.html b/docs/vpn/api-ref/en_topic_0093011518.html new file mode 100644 index 00000000..f72715bb --- /dev/null +++ b/docs/vpn/api-ref/en_topic_0093011518.html @@ -0,0 +1,128 @@ + + +

Querying VPN Endpoint Groups

+

Function

This interface is used to query VPN endpoint groups.

+
+

URI

GET /v2.0/vpn/endpoint-groups

+
+

Request Message

Table 1 describes the request parameters.

+ +
+ + + + + + + + + + + +
Table 1 Request parameters

Parameter

+

Type

+

Mandatory

+

Description

+

fields

+

String

+

No

+

Controls which parameters are returned. If this parameter is not specified, all parameters will be returned.

+
+
+

The project_id parameter is not supported.

+
+
+

Response Message

Table 2 describes the response parameters.

+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Table 2 Response parameters

Parameter

+

Type

+

Description

+

description

+

String

+

Provides supplementary information about the VPN endpoint group.

+

tenant_id

+

String

+

Specifies the project ID.

+

endpoints

+

List

+

Specifies the endpoint list. The endpoints in a list must be of the same type.

+

type

+

String

+

Specifies the endpoint type. The value can be subnet or cidr.

+

id

+

String

+

Specifies the VPN endpoint group ID.

+

name

+

String

+

Specifies the VPN endpoint group name.

+
+
+
+

Example

+
+ +

Returned Values

For details, see section Common Returned Values.

+
+
+
+ +
+ diff --git a/docs/vpn/api-ref/en_topic_0093011519.html b/docs/vpn/api-ref/en_topic_0093011519.html new file mode 100644 index 00000000..a54addb2 --- /dev/null +++ b/docs/vpn/api-ref/en_topic_0093011519.html @@ -0,0 +1,150 @@ + + +

Updating a VPN Endpoint Group

+

Function

This interface is used to update a VPN endpoint group.

+
+

URI

PUT /v2.0/vpn/endpoint-groups/{endpoint_group_id}

+ +
+ + + + + + + + + + + +
Table 1 Parameter description

Parameter

+

Type

+

Mandatory

+

Description

+

endpoint_group_id

+

String

+

No

+

Specifies the VPN endpoint group ID.

+
+
+
+

Request Message

Table 2 describes the request parameters.

+ +
+ + + + + + + + + + + + + + + + +
Table 2 Request parameters

Parameter

+

Type

+

Mandatory

+

Description

+

description

+

String

+

No

+

Provides supplementary information about the VPN endpoint group.

+

name

+

String

+

No

+

Specifies the VPN endpoint group name.

+
+
+
  1. The endpoint_group_id parameter must be specified.
  2. The value of name can contain 1 to 64 characters.
  3. The value of description can contain a maximum of 255 characters.
  4. The project_id parameter is not supported.
+
+
+

Response Message

Table 3 describes the response parameters.

+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Table 3 Response parameters

Parameter

+

Type

+

Description

+

description

+

Yes

+

Provides supplementary information about the VPN endpoint group.

+

tenant_id

+

Yes

+

Specifies the project ID.

+

endpoints

+

Yes

+

Specifies the endpoint list. The endpoints in a list must be of the same type.

+

type

+

Yes

+

Specifies the endpoint type. The value can be subnet or cidr.

+

id

+

Yes

+

Specifies the VPN endpoint group ID.

+

name

+

Yes

+

Provides supplementary information about the VPN endpoint group.

+
+
+
+

Example

+
+ +

Returned Values

For details, see section Common Returned Values.

+
+
+
+ +
+ diff --git a/docs/vpn/api-ref/en_topic_0093011520.html b/docs/vpn/api-ref/en_topic_0093011520.html new file mode 100644 index 00000000..9d96f9ac --- /dev/null +++ b/docs/vpn/api-ref/en_topic_0093011520.html @@ -0,0 +1,48 @@ + + +

Deleting a VPN Endpoint Group

+

Function

This interface is used to delete a VPN endpoint group.

+
+

URI

DELETE /v2.0/vpn/endpoint-groups/{endpoint_group_id}

+ +
+ + + + + + + + + + + +
Table 1 Parameter description

Parameter

+

Type

+

Mandatory

+

Description

+

endpoint_group_id

+

String

+

Yes

+

Specifies the VPN endpoint group ID.

+
+
+
+

Request Message

None

+
+

Response Message

None

+
+

Example

+
DELETE /v2.0/vpn/endpoint-groups/{endpoint_group_id}
+
+ +

Returned Values

For details, see section Common Returned Values.

+
+
+
+ +
+ diff --git a/docs/vpn/api-ref/en_topic_0093011521.html b/docs/vpn/api-ref/en_topic_0093011521.html new file mode 100644 index 00000000..5c08ce87 --- /dev/null +++ b/docs/vpn/api-ref/en_topic_0093011521.html @@ -0,0 +1,15 @@ + + +

Common Parameters

+
+
+ +
+ diff --git a/docs/vpn/api-ref/en_topic_0093011522.html b/docs/vpn/api-ref/en_topic_0093011522.html new file mode 100644 index 00000000..c7eac538 --- /dev/null +++ b/docs/vpn/api-ref/en_topic_0093011522.html @@ -0,0 +1,123 @@ + + +

Common Returned Values

+
+
+ + + + + + + + + + + + + + + + + +

Normal Response Code

+

Type

+

Description

+

200

+

OK

+

Specifies the normal response code for the GET and PUT operations.

+

201

+

Created

+

Specifies the normal response code for the POST operation.

+

204

+

No Content

+

Specifies the normal response code for the DELETE operation.

+
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Returned Value

+

Description

+

400 Bad Request

+

The server failed to process the request.

+

401 Unauthorized

+

You must enter a username and password to access the requested page.

+

403 Forbidden

+

You are forbidden to access the requested page.

+

404 Not Found

+

The server could not find the requested page.

+

405 Method Not Allowed

+

You are not allowed to use the method specified in the request.

+

406 Not Acceptable

+

The response generated by the server could not be accepted by the client.

+

407 Proxy Authentication Required

+

You must use the proxy server for authentication so that the request can be processed.

+

408 Request Timeout

+

The request timed out.

+

409 Conflict

+

The request could not be processed due to a conflict.

+

500 Internal Server Error

+

Failed to complete the request because of an internal service error.

+

501 Not Implemented

+

Failed to complete the request because the server does not support the requested function.

+

502 Bad Gateway

+

Failed to complete the request because the request is invalid.

+

503 Service Unavailable

+

Failed to complete the request because the service is unavailable.

+

504 Gateway Timeout

+

A gateway timeout error occurred.

+
+
+
+
+ +
+ diff --git a/docs/vpn/api-ref/en_topic_0093011523.html b/docs/vpn/api-ref/en_topic_0093011523.html new file mode 100644 index 00000000..d04271ce --- /dev/null +++ b/docs/vpn/api-ref/en_topic_0093011523.html @@ -0,0 +1,189 @@ + + +

Error Codes

+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Service

+

Error Code

+

HTTP Status Code

+

Description

+

Handling Measure

+

VPN

+

VPC.1001

+

400

+

Invalid VPN parameters.

+

Correct the parameter settings and send the request again.

+

VPC.1002

+

500

+

Internal server error.

+

System exception. Try again later.

+

VPC.1003

+

400

+

The quota limit has been reached.

+

Increase the VPN connection quota.

+

VPC.1004

+

400

+

The remote gateway is being used by another VPN connection.

+

Change the IP address and then create the connection.

+

VPC.1016

+

400

+

The VPN remote subnet is the same as the local subnet.

+

Change the subnet to ensure that the local and remote subnets are different.

+

VPC.1017

+

400

+

You do not have permission to perform this operation.

+

Perform another operation, or obtain the required permission and try again.

+

VPC.1018

+

400

+

Both the local and remote subnets are being used by other VPNs.

+

Change the subnets or delete existing VPN subnets.

+

VPC.1019

+

400

+

The local gateway IP address you specified is in use.

+

Specify another local gateway IP address.

+

VPC.1020

+

400

+

Failed to create the VPN connection.

+

System error. Contact technical support.

+

VPC.1021

+

400

+

The remote subnet of the VPN is in use.

+

Select another remote subnet for the VPN.

+

VPC.1023

+

400

+

Failed to query the VPN gateway.

+

System error. Contact technical support.

+

VPC.1024

+

400

+

Failed to create the VPN gateway.

+

System error. Contact technical support.

+

VPC.1025

+

400

+

Failed to update the VPN gateway.

+

System error. Contact technical support.

+

VPC.1026

+

400

+

The VPN gateway already exists.

+

System error. Contact technical support.

+

VPC.1027

+

400

+

Failed to create the VPN gateway.

+

System error. Contact technical support.

+

VPC.1028

+

400

+

Failed to create the VPN gateway.

+

System error. Contact technical support.

+

VPC.1029

+

400

+

Failed to allocate bandwidth to the VPN gateway.

+

System error. Contact technical support.

+

VPC.1030

+

400

+

Failed to allocate bandwidth to the VPN gateway.

+

System error. Contact technical support.

+
+
+
+
+ +
+ diff --git a/docs/vpn/api-ref/en_topic_0093011524.html b/docs/vpn/api-ref/en_topic_0093011524.html new file mode 100644 index 00000000..7468c48b --- /dev/null +++ b/docs/vpn/api-ref/en_topic_0093011524.html @@ -0,0 +1,123 @@ + + +

Status Codes

+
+
+ + + + + + + + + + + + + + + + + +
Table 1 Normal values

Normal Response Code

+

Type

+

Description

+

200

+

OK

+

Specifies the normal response code for the GET, PUT, and POST operations.

+

201

+

Created

+

Specifies the normal response code for the POST operation of the OpenStack Neutron API.

+

204

+

No Content

+

Specifies the normal response code for the DELETE operation.

+
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Table 2 Abnormal values

Returned Value

+

Description

+

400 Bad Request

+

The server failed to process the request.

+

401 Unauthorized

+

You must enter a username and password to access the requested page.

+

403 Forbidden

+

You are forbidden to access the requested page.

+

404 Not Found

+

The server could not find the requested page.

+

405 Method Not Allowed

+

You are not allowed to use the method specified in the request.

+

406 Not Acceptable

+

The response generated by the server could not be accepted by the client.

+

407 Proxy Authentication Required

+

You must use the proxy server for authentication so that the request can be processed.

+

408 Request Timeout

+

The request timed out.

+

409 Conflict

+

The request could not be processed due to a conflict.

+

500 Internal Server Error

+

Failed to complete the request because of an internal service error.

+

501 Not Implemented

+

Failed to complete the request because the server does not support the requested function.

+

502 Bad Gateway

+

Failed to complete the request because the server has received an invalid response.

+

503 Service Unavailable

+

Failed to complete the request because the service is unavailable.

+

504 Gateway Timeout

+

A gateway timeout error occurred.

+
+
+
+
+ +
+ diff --git a/docs/vpn/api-ref/en_topic_0093011528.html b/docs/vpn/api-ref/en_topic_0093011528.html new file mode 100644 index 00000000..f82241f2 --- /dev/null +++ b/docs/vpn/api-ref/en_topic_0093011528.html @@ -0,0 +1,37 @@ + + +

Change History

+
+
+ + + + + + + + + + + + + + + + +

Released On

+

What's New

+

2019-04-26

+

This release incorporates the following changes:

+ +

2019-01-28

+

Accepted in OTC-4.0/Agile.

+

2019-01-03

+

This release incorporates the following changes:

+

Updated the PFS values in sections IPsec Policy Management and IKE Policy Management.

+

2018-11-12

+

This issue is the first official release.

+
+
+
+