Create Environment
Create a new LCM environment by deploying or registering the specified products. Options: Validate, Import, Deploy
The action to perform for the environment - VALIDATE, IMPORT or DEPLOY.
Flag to ignore the result of the validation and anyway proceed with deployment.
Flag to check if there is already existing environment with the specified name/id.
Show optional properties
{
"environmentName": "string",
"products": [
{
"productType": "string",
"productId": "string",
"version": "string",
"adminPassword": "string"
}
]
}
{
"properties": {
"properties": {}
},
"environmentName": "string",
"environmentId": "string",
"environmentState": "string",
"products": [
{
"properties": {
"properties": {}
},
"productType": "string",
"productId": "string",
"version": "string",
"buildNumber": "string",
"productInternalId": "string",
"license": "string",
"adminPassword": "string",
"integrations": [
{
"properties": {
"properties": {}
},
"integrationId": "string",
"integrationUsername": "string",
"integrationPassword": "string",
"status": "string",
"ref": "string",
"version": "string"
}
],
"certificate": {
"certificate": {
"validFrom": "string",
"validTo": "string",
"thumbprint": "string",
"certificate": "string",
"privateKey": "string",
"keyPassword": "string"
}
},
"tags": [
"string"
],
"environmentId": "string",
"deployment": {
"vcenterName": "string",
"datacenterName": "string",
"clusterName": "string",
"resourcePool": "string",
"vmFolder": "string",
"datastoreNames": [
"string"
]
},
"endpointAddress": "string",
"status": {
"status": "string",
"messages": [
"string"
],
"lastDiscovery": "string"
},
"nodes": [
{
"properties": {
"properties": {}
},
"nodeId": 0,
"isPrimary": false,
"cpuNum": 0,
"ramMemory": 0,
"hostName": "string",
"vmName": "string",
"deploymentOption": "string",
"datastoreName": "string",
"clusterName": "string",
"resourcePool": "string",
"datacenterName": "string",
"rootPassword": "string",
"gateway": "string",
"deployment": {
"vcenterName": "string",
"datacenterName": "string",
"clusterName": "string",
"resourcePool": "string",
"vmFolder": "string",
"datastoreNames": [
"string"
]
},
"nics": [
{
"ipAddress": "string",
"networkName": "string",
"staticRoutes": [
"string"
],
"dcVcenterNetworksSpec": {
"portGroupName": "string",
"gateway": "string",
"subnetMask": "string",
"domainName": "string",
"searchPath": [
"string"
],
"useDhcp": false,
"dns": [
"string"
],
"ntp": [
"string"
]
}
}
],
"status": "string"
}
]
}
],
"environmentType": "string"
}
Additional properties
Name of an environment. If no ID is specified, this name will be normalized and used as ID.
ID of an environment.
The state of the environment - will be discovered by VCP LCM.
The type of this environment - production or nonproduction.
Task ID for the task creating the environment.
{
"taskId": "string",
"precedingTasks": [
0
]
}
The ID of the task that was created for the operation. Use this ID to get the state and result of the task.
List of task IDs for tasks that have to be processed before this task can start.
Invalid environment spec
{
"taskId": "string",
"precedingTasks": [
0
]
}
The ID of the task that was created for the operation. Use this ID to get the state and result of the task.
List of task IDs for tasks that have to be processed before this task can start.
Unauthorized access
{
"taskId": "string",
"precedingTasks": [
0
]
}
The ID of the task that was created for the operation. Use this ID to get the state and result of the task.
List of task IDs for tasks that have to be processed before this task can start.