Add CloudConnectorPrivate
POSThttps://api.orange.com/evolutionplatform/aws/api/v1//projects/:projectId/aws/cloudconnectors/privates
This operation allows to add a CloudConnectorPrivate
Request
Path Parameters
Possible values: Value must match regular expression [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}
project Id
- application/json
Body
CloudConnectorPrivate to create
cloud connector name
Possible values: Value must match regular expression \S
name-of-your-CC
cloud connector state
Possible values: [DESIGNING
, DESIGNED
, PROVISIONING
, STOPPING
, SUSPENDING
, REPAIRING
, ACTIVE
, INACTIVE
, ERROR
, TERMINATED
]
cloud connector bandwidth
50
cloud connector maximum bandwidth
100
network connector uuid associated with the cloud connector
Possible values: Value must match regular expression [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}
aws credential uuid to be used to manage the cloud connector on aws
Possible values: Value must match regular expression [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}
cloud connector virtual interface type
Possible values: [privateVif
, transitVif
]
privateVif
cloud connector location
Possible values: Value must match regular expression \S
name-of-the-interconnection-orange-with-aws
cloud connector region
region-of-your-customerGateway
customer gateway id
Possible values: Value must match regular expression \S
3e429df0-6fb4-4473-acc1-e5688209bec2
cloud connector routing policy
Possible values: [basicAggregate
, defaultRoute
, noAggregate
]
basicAggregate
Responses
- 201
- 400
- 401
- 403
- 500
created
Response Headers
- application/json
- Schema
- Example (auto)
Schema
cloud connector id
Possible values: Value must match regular expression [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}
cloud connector name
name-of-your-CC
cloud connector state
Possible values: [DESIGNING
, DESIGNED
, PROVISIONING
, STOPPING
, SUSPENDING
, REPAIRING
, ACTIVE
, INACTIVE
, ERROR
, TERMINATED
]
cloud connector bandwidth
50
cloud connector maximum bandwidth
100
network connector uuid associated with the cloud connector
Possible values: Value must match regular expression [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}
aws credential uuid to be used to manage the cloud connector on aws
Possible values: Value must match regular expression [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}
cloud connector virtual interface type
Possible values: [privateVif
, transitVif
]
privateVif
cloud connector Orange location
name-of-the-interconnection-orange-with-aws
cloud connector AWS region
region-of-your-customerGateway
customer gateway id
3e429df0-6fb4-4473-acc1-e5688209bec2
cloud connector routing policy
Possible values: [basicAggregate
, defaultRoute
, noAggregate
]
operational status of the cloud connector
Possible values: [N/A
, Up
, Down
, Unknown
]
uuid of the last workflow execution associated with the cloud connector
Possible values: Value must match regular expression [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}
status of the last workflow execution associated with the cloud connector
Possible values: [CREATED
, IN_PROGRESS
, SUCCEEDED
, FAILED
, CLEARED
]
SUCCEEDED
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"name": "name-of-your-CC",
"state": "DESIGNING",
"bandwidth": 50,
"maxBandwidth": 100,
"technicalVpnId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"awsCredentialId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"virtualInterfaceType": "privateVif",
"location": "name-of-the-interconnection-orange-with-aws",
"region": "region-of-your-customerGateway",
"customerGatewayId": "3e429df0-6fb4-4473-acc1-e5688209bec2",
"routingPolicy": "basicAggregate",
"operationalStatus": "N/A",
"workflowExecutionId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"workflowExecutionStatus": "SUCCEEDED"
}
bad request
- application/json
- Schema
- Example (auto)
Schema
bad request code
bad request message
bad request description
violations object[]
{
"code": 0,
"message": "string",
"description": "string",
"violations": [
{
"field": "string",
"message": "string"
}
]
}
unauthorized access
- application/json
- Schema
- Example (auto)
Schema
error code
error message
error description
{
"code": 0,
"message": "string",
"description": "string"
}
forbidden access
- application/json
- Schema
- Example (auto)
Schema
error code
error message
error description
{
"code": 0,
"message": "string",
"description": "string"
}
internal error
- application/json
- Schema
- Example (auto)
Schema
error code
error message
error description
{
"code": 0,
"message": "string",
"description": "string"
}
Authorization: http
name: SecuritySchemetype: httpdescription: Authenticationscheme: bearerbearerFormat: JWT
- curl
- python
- go
- nodejs
- php
- java
- CURL
curl -L 'https://api.orange.com/evolutionplatform/aws/api/v1//projects/:projectId/aws/cloudconnectors/privates' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <token>' \
-d '{
"name": "name-of-your-CC",
"state": "DESIGNING",
"bandwidth": 50,
"maxBandwidth": 100,
"technicalVpnId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"awsCredentialId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"virtualInterfaceType": "privateVif",
"location": "name-of-the-interconnection-orange-with-aws",
"region": "region-of-your-customerGateway",
"customerGatewayId": "3e429df0-6fb4-4473-acc1-e5688209bec2",
"routingPolicy": "basicAggregate"
}'