Update Scenario
Update scenario
Scenario to update
Show optional properties
{
"actionType": "string",
"contentType": "string",
"name": "string",
"whatIfScenarioStatus": "string"
}
"{\n \"name\" : \"Add capacity scenario\",\n \"actionType\" : \"ADD\",\n \"contentType\" : \"WORKLOAD\",\n \"workloadCapacityLocation\" : {\n \"dataCenterId\" : \"5cd97c63-22cf-444c-bb82-1b47c5d79812\",\n \"clusterId\" : \"f4d9a9ee-dfac-4e8c-a402-2b200674db00\"\n },\n \"scenarioContent\" : {\n \"manualVmConfig\" : {\n \"count\" : 2,\n \"cpu\" : 1,\n \"memory\" : 1,\n \"storage\" : 1,\n \"commonUtilization\" : 1.0,\n \"vmInstanceOS\" : \"LINUX\"\n },\n \"commonUtilizationGrowthRate\" : 5\n },\n \"startDate\" : 1719385200000,\n \"whatIfScenarioStatus\" : \"SAVED\"\n}"
Scenario ActionType
Scenario ContentType
Scenario creation date
Scenario end date
Scenario id
Scenario name
Represents datacenter details for migrating workload between different datacenters
Represents cloud details for migrating workload to different clouds
Scenario content for migrate workload scenario
Represents server config for adding any host
Scenario start date
Scenario State
Scenario Status
Represents a location for adding/removing workload vm or host
Update scenario
"{\n \"name\" : \"Add capacity scenario\",\n \"actionType\" : \"ADD\",\n \"contentType\" : \"WORKLOAD\",\n \"workloadCapacityLocation\" : {\n \"dataCenterId\" : \"5cd97c63-22cf-444c-bb82-1b47c5d79812\",\n \"clusterId\" : \"f4d9a9ee-dfac-4e8c-a402-2b200674db00\"\n },\n \"scenarioContent\" : {\n \"manualVmConfig\" : {\n \"count\" : 2,\n \"cpu\" : 1,\n \"memory\" : 1,\n \"storage\" : 1,\n \"commonUtilization\" : 1.0,\n \"vmInstanceOS\" : \"LINUX\"\n },\n \"commonUtilizationGrowthRate\" : 5\n },\n \"startDate\" : 1719385200000,\n \"whatIfScenarioStatus\" : \"SAVED\"\n}"
Scenario ActionType
Scenario ContentType
Scenario creation date
Scenario end date
Scenario id
Scenario name
Represents datacenter details for migrating workload between different datacenters
Represents cloud details for migrating workload to different clouds
Scenario content for migrate workload scenario
Represents server config for adding any host
Scenario start date
Scenario State
Scenario Status
Represents a location for adding/removing workload vm or host
curl -X PUT -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{"actionType":"string","contentType":"string","name":"string","whatIfScenarioStatus":"string"}' https://{api_host}/suite-api/api/whatif/scenarios