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 @@ + + +
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.
+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.
+ +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 + |
+
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.
+This API is used to query all available versions of a native OpenStack API.
+GET
+Request parameter
+None
+Example request
+GET https://{Endpoint}/+
Response parameter
+ +Parameter + |
+Type + |
+Description + |
+
---|---|---|
versions + |
+Array of version objects + |
+Specifies the API version list. For details, see Table 2. + |
+
Parameter + |
+Type + |
+Description + |
+
---|---|---|
status + |
+String + |
+Specifies the API version status. Possible values are as follows: +
|
+
id + |
+String + |
+Specifies the API version. + |
+
links + |
+Array of link objects + |
+Specifies the link list. For details, see Table 3. + |
+
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" + } + ] + } + ] +}+
See Status Codes.
+See Error Codes.
+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.
+POST /v2.0/{project_id}/ipsec-site-connections/resource_instances/action
+Table 1 describes the 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. + |
+
Name + |
+Type + |
+Description + |
+
---|---|---|
resources + |
+List<resource> + |
+N/A + |
+
total_count + |
+int + |
+Specifies the total number of records. + |
+
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. + |
+
POST /v2.0/{project_id}/ipsec-site-connections/resource_instances/action+
{ + "offset": "0", + "limit": "100", + "action": "filter", + "matches": [ + { + "key": "resource_name", + "value": "resource1" + } + ], + "tags": [ + { + "key": "key1", + "values": [ + "*value1", + "value2" + ] + } + ] +}+
{ + "action": "count", + "tags": [ + { + "key": "key1", + "values": [ + "value1", + "value2" + ] + }, + { + "key": "key2", + "values": [ + "value1", + "value2" + ] + } + ], + "matches": [ + { + "key": "resource_name", + "value": "resource1" + } + ] +}+
{ + "resources": [ + { + "resource_detail": null, + "resource_id": "cdfs_cefs_wesas_12_dsad", + "resource_name": "resouece1", + "tags": [ + { + "key": "key1", + "value": "value1" + }, + { + "key": "key2", + "value": "value1" + } + ] + } + ], + "total_count": 1000 +} ++
{ + "total_count": 1000 +}+
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.
+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.
+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: +
|
+
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: +
|
+
None
+POST /v2.0/{project_id}/ipsec-site-connections/{resource_id}/tags/action+
{ + "action": "create", + "tags": [ + { + "key": "key1", + "value": "value1" + }, + { + "key": "key", + "value": "value3" + } + ] +}+
Or
+{ + "action": "delete", + "tags": [ + { + "key": "key1", + "value": "value1" + }, + { + "key": "key2", + "value": "value3" + } + ] +}+
For details, see section Common Returned Values.
+This interface is used to create a tag for a VPN resource.
+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.
+Table 1 describes the 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: +
|
+
value + |
+String + |
+Yes + |
+Specifies the tag value. +The parameter constraints are as follows: +
|
+
None
+POST /v2.0/{project_id}/ipsec-site-connections/{resource_id}/tags +{ + "tag": { + "key": "key1", + "value": "value1" + } +}+ +
For details, see section Common Returned Values.
+This interface is used to query tags of a specified VPN resource.
+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.
+None
+Table 1 describes the response parameters.
+ +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: +
|
+
value + |
+String + |
+Specifies the tag value. +The parameter constraints are as follows: +
|
+
GET /v2.0/{project_id}/ipsec-site-connections/{resource_id}/tags+
{ + "tags": [ + { + "key": "key1", + "value": "value1" + }, + { + "key": "key2", + "value": "value3" + } + ] +}+
For details, see section Common Returned Values.
+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_id indicates the project ID, resource_id indicates the target resource ID, and key indicates the tag key to be deleted.
+None
+None
+DELETE /v2.0/{project_id}/ipsec-site-connections/{resource_id}/tags/{key}+
For details, see section Common Returned Values.
+This interface is used to query all tags of a VPN in a specified region.
+GET /v2.0/{project_id}/ipsec-site-connections/tags
+In the URI, project_id indicates the project ID.
+None
+Table 1 describes the response parameters.
+ +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: +
|
+
values + |
+List<String> + |
+Specifies the tag value list. +The parameter constraints are as follows: +
|
+
GET /v2.0/{project_id}/ipsec-site-connections/tags+
{ + "tags": [ + { + "key": "key1", + "values": [ + "value1", + "value2" + ] + }, + { + "key": "key2", + "values": [ + "value1", + "value2" + ] + } + ] +}+
For details, see section Common Returned Values.
+This interface is used to create an IPsec VPN connection.
+POST /v2.0/vpn/ipsec-site-connections
+Table 1 lists the request parameters for creating an IPsec site connection.
+ +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. + |
+
Table 2 describes the 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. + |
+
POST /v2.0/vpn/ipsec-site-connections +{ + "ipsec_site_connection" : { + "psk" : "secret", + "initiator" : "bi-directional", + "ipsecpolicy_id" : "e6e23d0c-9519-4d52-8ea4-5b1f96d857b1", + "admin_state_up" : true, + "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", + "local_ep_group_id" : "3e1815dd-e212-43d0-8f13-b494fa553e68", + "peer_address" : "172.24.4.233", + "peer_id" : "172.24.4.233", + "name" : "vpnconnection1" + } +}+
{ + "ipsec_site_connection" : { + "status" : "PENDING_CREATE", + "psk" : "secret", + "initiator" : "bi-directional", + "name" : "vpnconnection1", + "admin_state_up" : true, + "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", + "vpnservice_id": "4754261f-f8c5-4799-a365-78b2e682e38a", + "ipsecpolicy_id" : "e6e23d0c-9519-4d52-8ea4-5b1f96d857b1", + "local_ep_group_id" : "3e1815dd-e212-43d0-8f13-b494fa553e68", + "peer_address" : "172.24.4.233", + "created_at": "2018-11-03 14:24:33.749714", + "peer_id" : "172.24.4.233", + "id" : "851f280f-5639-4ea3-81aa-e298525ab74b", + "description" : "" + } +}+
For details, see section Common Returned Values.
+This interface is used to query details about an IPsec VPN connection.
+GET /v2.0/vpn/ipsec-site-connections/{connection_id}
+ +Parameter + |
+Type + |
+Mandatory + |
+Description + |
+
---|---|---|---|
connection_id + |
+String + |
+Yes + |
+Specifies the IPsec VPN connection ID. + |
+
None
+Table 2 describes the 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. + |
+
GET /v2.0/vpn/ipsec-site-connections/{connection_id}+
{ + "ipsec_site_connection" : { + "status" : "DOWN", + "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" : "" + } +}+
For details, see section Common Returned Values.
+This interface is used to query IPsec VPN connections.
+GET /v2.0/vpn/ipsec-site-connections
+Table 1 describes the 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.
+Table 2 describes the 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. + |
+
GET /v2.0/vpn/ipsec-site-connections+
{ + "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" : "" + } ] +}+
For details, see section Common Returned Values.
+This interface is used to update an IPsec VPN connection.
+PUT /v2.0/vpn/ipsec-site-connections/{connection_id}
+ +Parameter + |
+Type + |
+Mandatory + |
+Description + |
+
---|---|---|---|
connection_id + |
+String + |
+Yes + |
+Specifies the IPsec VPN connection ID. + |
+
Table 2 describes the 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. + |
+
Table 3 describes the 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. + |
+
PUT /v2.0/vpn/ipsec-site-connections/{connection_id} +{ + "ipsec_site_connection" : { + "mtu" : 1200, + } +}+
{ + "ipsec_site_connection": { + "status": "DOWN", + "psk": "secret", + "initiator": "bi-directional", + "name": "vpnconnection1", + "admin_state_up": true, + "project_id": "10039663455a446d8ba2cbb058b0f578", + "tenant_id": "10039663455a446d8ba2cbb058b0f578", + "auth_mode": "psk", + "peer_cidrs": [], + "mtu": 1200, + "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.233", + "peer_id": "172.24.4.233", + "id": "851f280f-5639-4ea3-81aa-e298525ab74b", + "description": "New description" + } +}+
For details, see section Common Returned Values.
+This interface is used to delete an IPsec VPN connection.
+DELETE /v2.0/vpn/ipsec-site-connections/{connection_id}
+ +Parameter + |
+Type + |
+Mandatory + |
+Description + |
+
---|---|---|---|
connection_id + |
+String + |
+Yes + |
+Specifies the IPsec VPN connection ID. + |
+
None
+None
+DELETE /v2.0/vpn/ipsec-site-connections/{connection_id}+
For details, see section Common Returned Values.
+This interface is used to create a VPN service.
+Only one VPN service can be created for each VPC.
+POST /v2.0/vpn/vpnservices
+Table 1 describes the 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. + |
+
Table 2 describes the 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. + |
+
POST /v2.0/vpn/vpnservices +{ + "vpnservice": { + "subnet_id": null, + "router_id": "66e3b16c-8ce5-40fb-bb49-ab6d8dc3f2aa", + "name": "myservice", + "admin_state_up": true + } +}+
{ + "vpnservice" : { + "router_id" : "66e3b16c-8ce5-40fb-bb49-ab6d8dc3f2aa", + "status" : "PENDING_CREATE", + "name" : "myservice", + "external_v6_ip" : "2001:db8::1", + "admin_state_up" : true, + "subnet_id" : null, + "project_id" : "10039663455a446d8ba2cbb058b0f578", + "tenant_id" : "10039663455a446d8ba2cbb058b0f578", + "external_v4_ip" : "172.32.1.11", + "id" : "5c561d9d-eaea-45f6-ae3e-08d1a7080828", + "description" : "" + } +}+
For details, see section Common Returned Values.
+This interface is used to query details about a VPN service.
+GET /v2.0/vpn/vpnservices/{service_id}
+ +Parameter + |
+Type + |
+Mandatory + |
+Description + |
+
---|---|---|---|
service_id + |
+String + |
+Yes + |
+Specifies the VPN service ID. + |
+
None
+Table 2 describes the 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. + |
+
GET /v2.0/vpn/vpnservices/{service_id}+
{ + "vpnservice": { + "router_id": "66e3b16c-8ce5-40fb-bb49-ab6d8dc3f2aa", + "status": "PENDING_CREATE", + "name": "myservice", + "external_v6_ip": "2001:db8::1", + "admin_state_up": true, + "subnet_id": null, + "project_id": "10039663455a446d8ba2cbb058b0f578", + "tenant_id": "10039663455a446d8ba2cbb058b0f578", + "external_v4_ip": "172.32.1.11", + "id": "5c561d9d-eaea-45f6-ae3e-08d1a7080828", + "description": "", + } +}+
For details, see section Common Returned Values.
+This interface is used to query VPN services.
+GET /v2.0/vpn/vpnservices
+Table 1 describes the 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.
+Table 2 describes the 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. + |
+
GET /v2.0/vpn/vpnservices+
{ + "vpnservices": [ + { + "router_id": "66e3b16c-8ce5-40fb-bb49-ab6d8dc3f2aa", + "status": "PENDING_CREATE", + "name": "myservice", + "external_v6_ip": "2001:db8::1", + "admin_state_up": true, + "subnet_id": null, + "project_id": "10039663455a446d8ba2cbb058b0f578", + "tenant_id": "10039663455a446d8ba2cbb058b0f578", + "external_v4_ip": "172.32.1.11", + "id": "5c561d9d-eaea-45f6-ae3e-08d1a7080828", + "description": "", + } + ] +}+
For details, see section Common Returned Values.
+This interface is used to update a VPN service.
+PUT /v2.0/vpn/vpnservices/{service_id}
+ +Parameter + |
+Type + |
+Mandatory + |
+Description + |
+
---|---|---|---|
service_id + |
+String + |
+Yes + |
+Specifies the VPN service ID. + |
+
Table 2 describes the 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. + |
+
Table 3 describes the 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. + |
+
PUT /v2.0/vpn/vpnservices/{service_id} +{ + "vpnservice" : { + "description" : "Updated description" + } +}+
{ + "vpnservice": { + "router_id": "881b7b30-4efb-407e-a162-5630a7af3595", + "status": "ACTIVE", + "name": "myvpn", + "admin_state_up": true, + "subnet_id": null, + "project_id": "26de9cd6cae94c8cb9f79d660d628e1f", + "tenant_id": "26de9cd6cae94c8cb9f79d660d628e1f", + "id": "41bfef97-af4e-4f6b-a5d3-4678859d2485", + "description": "Updated description", + } +}+
For details, see section Common Returned Values.
+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/{service_id}
+ +Parameter + |
+Type + |
+Mandatory + |
+Description + |
+
---|---|---|---|
service_id + |
+String + |
+Yes + |
+Specifies the VPN service ID. + |
+
None
+None
+DELETE v2.0/vpn/vpnservices/{service_id}+
For details, see section Common Returned Values.
+This interface is used to create an IPsec policy.
+POST /v2.0/vpn/ipsecpolicies
+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. + |
+
Table 2 describes the 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. + |
+
POST /v2.0/vpn/ipsecpolicies +{ + "ipsecpolicy" : { + "name" : "ipsecpolicy1", + "transform_protocol" : "esp", + "auth_algorithm" : "sha1", + "encapsulation_mode" : "tunnel", + "encryption_algorithm" : "aes-128", + "pfs" : "group5", + "lifetime" : { + "units" : "seconds", + "value" : 7200 + } + } +}+
{ + "ipsecpolicy" : { + "name" : "ipsecpolicy1", + "transform_protocol" : "esp", + "auth_algorithm" : "sha1", + "encapsulation_mode" : "tunnel", + "encryption_algorithm" : "aes-128", + "pfs" : "group5", + "project_id" : "ccb81365fe36411a9011e90491fe1330", + "tenant_id" : "ccb81365fe36411a9011e90491fe1330", + "lifetime" : { + "units" : "seconds", + "value" : 7200 + }, + "id" : "5291b189-fd84-46e5-84bd-78f40c05d69c", + "description" : "" + } +}+
For details, see section Common Returned Values.
+This interface is used to query details about an IPsec policy.
+GET /v2.0/vpn/ipsecpolicies/{ipsecpolicy_id}
+ +Parameter + |
+Type + |
+Mandatory + |
+Description + |
+
---|---|---|---|
ipsecpolicy_id + |
+String + |
+Yes + |
+Specifies the IPsec policy ID. + |
+
None
+Table 2 describes the 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. + |
+
GET /v2.0/vpn/ipsecpolicies/{ipsecpolicy_id}+
{ + "ipsecpolicy" : { + "name" : "ipsecpolicy1", + "transform_protocol" : "esp", + "auth_algorithm" : "sha1", + "encapsulation_mode" : "tunnel", + "encryption_algorithm" : "aes-128", + "pfs" : "group14", + "project_id" : "ccb81365fe36411a9011e90491fe1330", + "tenant_id" : "ccb81365fe36411a9011e90491fe1330", + "lifetime" : { + "units" : "seconds", + "value" : 3600 + }, + "id" : "5291b189-fd84-46e5-84bd-78f40c05d69c", + "description" : "" + } +}+
For details, see section Common Returned Values.
+This interface is used to query IPsec policies.
+GET /v2.0/vpn/ipsecpolicies
+Table 1 describes the 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.
+Table 2 describes the 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. + |
+
GET /v2.0/vpn/ipsecpolicies+
{ + "ipsecpolicies" : [ { + "name" : "ipsecpolicy1", + "transform_protocol" : "esp", + "auth_algorithm" : "sha1", + "encapsulation_mode" : "tunnel", + "encryption_algorithm" : "aes-128", + "pfs" : "group14", + "project_id" : "ccb81365fe36411a9011e90491fe1330", + "tenant_id" : "ccb81365fe36411a9011e90491fe1330", + "lifetime" : { + "units" : "seconds", + "value" : 3600 + }, + "id" : "5291b189-fd84-46e5-84bd-78f40c05d69c", + "description" : "" + } ] +}+
For details, see section Common Returned Values.
+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/{ipsecpolicy_id}
+ +Parameter + |
+Type + |
+Mandatory + |
+Description + |
+
---|---|---|---|
ipsecpolicy_id + |
+String + |
+Yes + |
+Specifies the IPsec policy ID. + |
+
Table 2 describes the 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. + |
+
Table 3 describes the 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. + |
+
PUT /v2.0/vpn/ipsecpolicies/{ipsecpolicy_id} +{ + "ipsecpolicy" : { + "pfs" : "group14" + } +}+
{ + "ipsecpolicy": { + "name": "ipsecpolicy1", + "transform_protocol": "esp", + "auth_algorithm": "sha1", + "encapsulation_mode": "tunnel", + "encryption_algorithm": "aes-128", + "pfs": "group14", + "project_id": "ccb81365fe36411a9011e90491fe1330", + "tenant_id": "ccb81365fe36411a9011e90491fe1330", + "lifetime": { + "units": "seconds", + "value": 3600 + }, + "id": "5291b189-fd84-46e5-84bd-78f40c05d69c", + "description": "" + } +}+
For details, see section Common Returned Values.
+This interface is used to delete an IPsec policy.
+DELETE /v2.0/vpn/ipsecpolicies/{ipsecpolicy_id}
+ +Parameter + |
+Type + |
+Mandatory + |
+Description + |
+
---|---|---|---|
ipsecpolicy_id + |
+String + |
+Yes + |
+Specifies the IPsec policy ID. + |
+
None
+None
+DELETE /v2.0/vpn/ipsecpolicies/{ipsecpolicy_id}+
For details, see section Common Returned Values.
+This interface is used to create an IKE policy.
+POST /v2.0/vpn/ikepolicies
+Table 1 describes the 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. + |
+
Table 2 describes the 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. + |
+
POST /v2.0/vpn/ikepolicies +{ + "ikepolicy" : { + "phase1_negotiation_mode" : "main", + "auth_algorithm" : "sha1", + "encryption_algorithm" : "aes-128", + "pfs" : "group5", + "lifetime" : { + "units" : "seconds", + "value" : 7200 + }, + "ike_version" : "v1", + "name" : "ikepolicy1" + } +}+
{ + "ikepolicy" : { + "name" : "ikepolicy1", + "tenant_id" : "ccb81365fe36411a9011e90491fe1330", + "auth_algorithm" : "sha1", + "encryption_algorithm" : "aes-128", + "pfs" : "group5", + "phase1_negotiation_mode" : "main", + "lifetime" : { + "units" : "seconds", + "value" : 7200 + }, + "ike_version" : "v1", + "id" : "5522aff7-1b3c-48dd-9c3c-b50f016b73db", + "description" : "" + } +}+
For details, see section Common Returned Values.
+This interface is used to query details about an IKE policy.
+GET /v2.0/vpn/ikepolicies/{ikepolicy_id}
+ +Parameter + |
+Type + |
+Mandatory + |
+Description + |
+
---|---|---|---|
ikepolicy_id + |
+String + |
+Yes + |
+Specifies the IKE policy ID. + |
+
None
+Table 2 describes the 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. + |
+
GET /v2.0/vpn/ikepolicies/{ikepolicy_id}+
{ + "ikepolicy" : { + "name" : "ikepolicy1", + "tenant_id" : "ccb81365fe36411a9011e90491fe1330", + "auth_algorithm" : "sha1", + "encryption_algorithm" : "aes-256", + "pfs" : "group5", + "phase1_negotiation_mode" : "main", + "lifetime" : { + "units" : "seconds", + "value" : 3600 + }, + "ike_version" : "v1", + "id" : "5522aff7-1b3c-48dd-9c3c-b50f016b73db", + "description" : "" + } +}+
For details, see section Common Returned Values.
+This interface is used to query IKE policies.
+GET /v2.0/vpn/ikepolicies
+Table 1 describes the 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.
+Table 2 describes the 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. + |
+
GET /v2.0/vpn/ikepolicies+
{ + "ikepolicies" : [ { + "name" : "ikepolicy1", + "tenant_id" : "ccb81365fe36411a9011e90491fe1330", + "auth_algorithm" : "sha1", + "encryption_algorithm" : "aes-256", + "pfs" : "group5", + "phase1_negotiation_mode" : "main", + "lifetime" : { + "units" : "seconds", + "value" : 3600 + }, + "ike_version" : "v1", + "id" : "5522aff7-1b3c-48dd-9c3c-b50f016b73db", + "description" : "" + } ] +}+
For details, see section Common Returned Values.
+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}
+ +Parameter + |
+Type + |
+Mandatory + |
+Description + |
+
---|---|---|---|
ikepolicy_id + |
+String + |
+Yes + |
+Specifies the IKE policy ID. + |
+
Table 2 describes the 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. + |
+
Table 3 describes the 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. + |
+
{ + "ikepolicy" : { + "encryption_algorithm" : "aes-256" + } +}+
{ + "ikepolicy" : { + "name" : "ikepolicy1", + "tenant_id" : "ccb81365fe36411a9011e90491fe1330", + "auth_algorithm" : "sha1", + "encryption_algorithm" : "aes-256", + "pfs" : "group5", + "phase1_negotiation_mode" : "main", + "lifetime" : { + "units" : "seconds", + "value" : 3600 + }, + "ike_version" : "v1", + "id" : "5522aff7-1b3c-48dd-9c3c-b50f016b73db", + "description" : "" + } +}+
For details, see section Common Returned Values.
+This interface is used to delete an IKE policy.
+DELETE /v2.0/vpn/ikepolicies/{ikepolicy_id}
+ +Parameter + |
+Type + |
+Mandatory + |
+Description + |
+
---|---|---|---|
ikepolicy_id + |
+String + |
+Yes + |
+Specifies the IKE policy ID. + |
+
None
+None
+DELETE /v2.0/vpn/ikepolicies/{ikepolicy_id}+
For details, see section Common Returned Values.
+This interface is used to create a VPN endpoint group.
+POST /v2.0/vpn/endpoint-groups
+Table 1 describes the 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. + |
+
Table 2 describes the 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. + |
+
POST /v2.0/vpn/endpoint-groups +{ + "endpoint_group" : { + "endpoints" : [ "10.2.0.0/24", "10.3.0.0/24" ], + "type" : "cidr", + "name" : "peers" + } +}+
{ + "endpoint_group" : { + "description" : "", + "tenant_id" : "4ad57e7ce0b24fca8f12b9834d91079d", + "endpoints" : [ "10.2.0.0/24", "10.3.0.0/24" ], + "type" : "cidr", + "id" : "6ecd9cf3-ca64-46c7-863f-f2eb1b9e838a", + "name" : "peers" + } +}+
For details, see section Common Returned Values.
+This interface is used to query details about a VPN endpoint group.
+GET /v2.0/vpn/endpoint-groups/{endpoint_group_id}
+ +Parameter + |
+Type + |
+Mandatory + |
+Description + |
+
---|---|---|---|
endpoint_group_id + |
+String + |
+No + |
+Specifies the VPN endpoint group ID. + |
+
None
+Table 2 describes the 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. + |
+
GET /v2.0/vpn/endpoint-groups/{endpoint_group_id}+
{ + "endpoint_group": { + "description": "", + "tenant_id": "4ad57e7ce0b24fca8f12b9834d91079d", + "endpoints": [ + "10.2.0.0/24", + "10.3.0.0/24" + ], + "type": "cidr", + "id": "6ecd9cf3-ca64-46c7-863f-f2eb1b9e838a", + "name": "peers" + } +}+
For details, see section Common Returned Values.
+This interface is used to query VPN endpoint groups.
+GET /v2.0/vpn/endpoint-groups
+Table 1 describes the 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.
+Table 2 describes the 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. + |
+
GET /v2.0/vpn/endpoint-groups+
{ + "endpoint_groups": [ + { + "description": "", + "tenant_id": "4ad57e7ce0b24fca8f12b9834d91079d", + "endpoints": [ + "a3da778c-adfb-46db-88b3-d2ce53290a89" + ], + "type": "subnet", + "id": "6bf34c7c-864c-4948-a6d4-db791669f9d4", + "name": "locals" + }, + { + "description": "", + "tenant_id": "4ad57e7ce0b24fca8f12b9834d91079d", + "endpoints": [ + "10.2.0.0/24", + "10.3.0.0/24" + ], + "type": "cidr", + "id": "6ecd9cf3-ca64-46c7-863f-f2eb1b9e838a", + "name": "peers" + } + ] +}+
For details, see section Common Returned Values.
+This interface is used to update a VPN endpoint group.
+PUT /v2.0/vpn/endpoint-groups/{endpoint_group_id}
+ +Parameter + |
+Type + |
+Mandatory + |
+Description + |
+
---|---|---|---|
endpoint_group_id + |
+String + |
+No + |
+Specifies the VPN endpoint group ID. + |
+
Table 2 describes the 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. + |
+
Table 3 describes the 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. + |
+
PUT /v2.0/vpn/endpoint-groups/{endpoint_group_id} +{ + "endpoint_group" : { + "description" : "New description" + } +}+
{ + "endpoint_group" : { + "description" : "New description", + "tenant_id" : "4ad57e7ce0b24fca8f12b9834d91079d", + "endpoints" : [ "10.2.0.0/24", "10.3.0.0/24" ], + "type" : "cidr", + "id" : "6ecd9cf3-ca64-46c7-863f-f2eb1b9e838a", + "name" : "peers" + } +}+
For details, see section Common Returned Values.
+This interface is used to delete a VPN endpoint group.
+DELETE /v2.0/vpn/endpoint-groups/{endpoint_group_id}
+ +Parameter + |
+Type + |
+Mandatory + |
+Description + |
+
---|---|---|---|
endpoint_group_id + |
+String + |
+Yes + |
+Specifies the VPN endpoint group ID. + |
+
None
+None
+DELETE /v2.0/vpn/endpoint-groups/{endpoint_group_id}+
For details, see section 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. + |
+
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. + |
+
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. + |
+
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. + |
+
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. + |
+