Method | URI | Description |
---|---|---|
POST | /v2/{tenant_id}/os-cloudpipe{?project_id} | Creates a cloudpipe. |
Normal response codes: 200
This table shows the URI parameters for the create cloudpipe request:
Name | Type | Description |
---|---|---|
| String | The ID for the tenant or account in a multi-tenancy cloud. |
This table shows the query parameters for the create cloudpipe request:
Name | Type | Description |
---|---|---|
| String (Optional) | Creates the cloudpipe for the specified project ID. If omitted, the project ID defaults to the calling tenant. |
Example 3.153. Create cloudpipe: JSON request
{ "cloudpipe": { "project_id": "cloudpipe-059f21e3-c20e-4efc-9e7a-eba2ab3c6f9a" } }
Example 3.154. Create cloudpipe: XML request
<cloudpipe project_id="cloudpipe-6405f2ca-caf9-493b-a1f6-e55f595d75ab" />
This operation does not require a request body.
Example 3.155. Create cloudpipe: JSON response
{ "instance_id": "1e9b8425-34af-488e-b969-4d46f4a6382e" }
Example 3.156. Create cloudpipe: XML response
<?xml version='1.0' encoding='UTF-8'?> <cloudpipe> <instance_id>1a17f615-343b-430f-976a-457c029eddb7</instance_id> </cloudpipe>
This operation does not return a response body.