Hi,
I started to explorer API and did some basic stuff. Now I want to create new VM logical group, but I'm out of understanding.
According VMware documentation syntax should be like this:
/cloudapi/1.0.0/logicalVmGroups
{
"id": "string",
"description": "string",
"name": "string",
"namedVmGroupReferences": [
{
"name": "string",
"id": "string"
}
]
}
I'm not familiar with VMware API and confused what I should put in ID? Searched API documentation, but can't find answer.
Thanks!
When creating a new vmGroup, you do not have to set an ID.
POST:
{
"description": "string",
"name": "TEST",
"namedVmGroupReferences": []
}
will create an empty vmGoup. In the response you see the new created vmGroup and the generated id
When creating a new vmGroup, you do not have to set an ID.
POST:
{
"description": "string",
"name": "TEST",
"namedVmGroupReferences": []
}
will create an empty vmGoup. In the response you see the new created vmGroup and the generated id
Oh my god, how simple it was !
Thank you!