Standard Public Cloud Co - Update
Update the state of an Azure Public Standard cloud connector
POST https://{envUri}/api/v1/projects/{projectId}/azure/cloudconnectors/publicstandarddynamics/{id}
URI Parameters
Name | In | Required | Type | Description |
---|---|---|---|---|
envUri | path | true | string | Url of the target platform. |
projectId | path | true | string | The project identifier which uniquely identify your project in Evolution Platform. |
id | path | true | string | The Cloud Connector Identifier which uniquely identify your Cloud connector in Evolution Platform. |
Body content
Name | Required | Type | Description |
---|---|---|---|
state | true | String | Expected state of Cloud connector. Allowed values are: ACTIVE, DESIGNED |
Responses
Name | Type | Description |
---|---|---|
200 OK | Cloud Connector | OK |
Other Status Codes | Error | Unexpected error. |
Security
Type: oauth2
Authorization URL: https://api.orange.com/oauth/v3/token
Examples
Update from designed to active state
Request:
POST https://{envUri}/api/v1/projects/{projectId}/azure/cloudconnectors/publicstandarddynamics/{id}
{
"state": "ACTIVE"
}
Response:
HTTP 200
Content: application/json
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"name": "Connection to PARIS",
"state": "PROVISIONING",
"projectName": "Demo",
"projectId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"bandWidth": 50,
"technicalVpnId": "93b22b3c-fd7e-4c04-87cb-52df45fe6beb",
"azureCredentialId": "b1c3d7b8-f249-4a25-9f26-02682bbad4f3",
"primaryPopLocalization": "POP4",
"azureRegion": "northeurope",
"resourceGroupName": "rg-3",
"vnetName": "vnet-02",
"azureGatewaySubnet": "69.45.47.145/27",
"azureAsn": 64512,
"networkSideAsn": 64513,
"networkSideGatewaySubnet": "59.23.124.12/29",
"workflowExecutionId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"workflowExecutionStatus": "CREATED"
}
The state
will be PROVISIONING
during the creation phase, when the operation if finished the state
will be ACTIVE
.
Go to Get tutorial to check the status of the cloud connector:
Update from active to designed state
Request:
POST https://{envUri}/api/v1/projects/{projectId}/azure/cloudconnectors/publicstandarddynamics/{id}
{
"state": "DESIGNED"
}
Response:
HTTP 200
Content: application/json
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"name": "Connection to PARIS",
"state": "STOPPING",
"projectName": "Demo",
"projectId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"bandWidth": 50,
"technicalVpnId": "93b22b3c-fd7e-4c04-87cb-52df45fe6beb",
"azureCredentialId": "b1c3d7b8-f249-4a25-9f26-02682bbad4f3",
"primaryPopLocalization": "POP4",
"azureRegion": "northeurope",
"resourceGroupName": "rg-3",
"vnetName": "vnet-02",
"azureGatewaySubnet": "69.45.47.145/27",
"azureAsn": 64512,
"networkSideAsn": 64513,
"networkSideGatewaySubnet": "59.23.124.12/29",
"workflowExecutionId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"workflowExecutionStatus": "CREATED"
}
The state
will be STOPPING
during the creation phase, when the operation if finished the state
will be DESIGNED
.
Go to Get tutorial to check the status of the cloud connector: