Aller au contenu principal

Cette page est disponible uniquement en anglais (This page is only available in English).

Add CloudConnectorPrivate

POST 

https://api.orange.com/evolutionplatform/aws/api/v1//projects/:projectId/aws/cloudconnectors/privates

This operation allows to add a CloudConnectorPrivate

Request

Path Parameters

    projectId uuidrequired

    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

Body

CloudConnectorPrivate to create

    namestringrequired

    cloud connector name

    Possible values: Value must match regular expression \S

    Default value: name-of-your-CC
    statestringrequired

    cloud connector state

    Possible values: [DESIGNING, DESIGNED, PROVISIONING, STOPPING, SUSPENDING, REPAIRING, ACTIVE, INACTIVE, ERROR, TERMINATED]

    bandwidthint32required

    cloud connector bandwidth

    Default value: 50
    maxBandwidthint32

    cloud connector maximum bandwidth

    Default value: 100
    technicalVpnIduuidrequired

    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}

    awsCredentialIduuidrequired

    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}

    virtualInterfaceTypestringrequired

    cloud connector virtual interface type

    Possible values: [privateVif, transitVif]

    Default value: privateVif
    locationstringrequired

    cloud connector location

    Possible values: Value must match regular expression \S

    Default value: name-of-the-interconnection-orange-with-aws
    regionstring

    cloud connector region

    Default value: region-of-your-customerGateway
    customerGatewayIdstringrequired

    customer gateway id

    Possible values: Value must match regular expression \S

    Default value: 3e429df0-6fb4-4473-acc1-e5688209bec2
    routingPolicystring

    cloud connector routing policy

    Possible values: [basicAggregate, defaultRoute, noAggregate]

    Default value: basicAggregate

Responses

created

Response Headers
    Content-Location

    cloud connector id

Schema
    iduuid

    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}

    namestring

    cloud connector name

    Default value: name-of-your-CC
    statestring

    cloud connector state

    Possible values: [DESIGNING, DESIGNED, PROVISIONING, STOPPING, SUSPENDING, REPAIRING, ACTIVE, INACTIVE, ERROR, TERMINATED]

    bandwidthint32

    cloud connector bandwidth

    Default value: 50
    maxBandwidthint32

    cloud connector maximum bandwidth

    Default value: 100
    technicalVpnIduuid

    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}

    awsCredentialIduuid

    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}

    virtualInterfaceTypestring

    cloud connector virtual interface type

    Possible values: [privateVif, transitVif]

    Default value: privateVif
    locationstring

    cloud connector Orange location

    Default value: name-of-the-interconnection-orange-with-aws
    regionstring

    cloud connector AWS region

    Default value: region-of-your-customerGateway
    customerGatewayIdstring

    customer gateway id

    Default value: 3e429df0-6fb4-4473-acc1-e5688209bec2
    routingPolicystring

    cloud connector routing policy

    Possible values: [basicAggregate, defaultRoute, noAggregate]

    operationalStatusstring

    operational status of the cloud connector

    Possible values: [N/A, Up, Down, Unknown]

    workflowExecutionIduuid

    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}

    workflowExecutionStatusstring

    status of the last workflow execution associated with the cloud connector

    Possible values: [CREATED, IN_PROGRESS, SUCCEEDED, FAILED, CLEARED]

    Default value: SUCCEEDED

Authorization: http

name: SecuritySchemetype: httpdescription: Authenticationscheme: bearerbearerFormat: JWT
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"
}'
Request Collapse all
Base URL
https://api.orange.com/evolutionplatform/aws/api/v1/
Auth
Parameters
— pathrequired
Body
{
  "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"
}