While creating a project, you can also specify the users and administrators that are part of the project.

You can create a project by using a POST API call that uses the /project-service/api/projects URL to create a project.

{
 "administrators": [
 {
 "email": "${ADMINISTRATOR_VIDM_GROUP}",
 "type": "group"
 }
 ],
 "members": [
 {
 "email": "${USER_VIDM_GROUP}",
 "type": "group"
 }
 ],
 "viewers": [],
 "zones": [],
 "constraints": {},
 "operationTimeout": 0,
 "sharedResources": true,
 "name": "${PROJECT_NAME}",
 "description": "",
 "orgId": "${ORGANISATION_ID}",
 "properties": {}
}

To run this command, the following information is required. AD groups should be synced by using a directory configuration in LCM.

  • The group name to be assigned the project administrators role.

  • The group name to be assigned the project member role.

  • A name for the new project.

  • The VMware Aria Automation organization ID. This ID can be retrieved through with the VMware Aria Automation API.