3.19.2. Create cloudpipe

 
MethodURIDescription
POST/v2/{tenant_id}/os-cloudpipe​{?project_id}

Creates a cloudpipe.

Normal response codes: 200

 3.19.2.1. Request

This table shows the URI parameters for the create cloudpipe request:

NameTypeDescription

{tenant_id}

​String

The ID for the tenant or account in a multi-tenancy cloud.

This table shows the query parameters for the create cloudpipe request:

NameTypeDescription

project_id

​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.

 3.19.2.2. Response

 

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.

Questions? Discuss on ask.openstack.org
Found an error? Report a bug against this page


loading table of contents...