vcenter cluster modules vm members: add
Adds virtual machines to the module. These virtual machines are required to be in the same vCenter cluster. Warning: This operation is part of a new feature in development. It may be changed at any time and may not have all supported functionality implemented.
Request:
HTTP request
POST https://{server}/rest/vcenter/cluster/modules/vm/{module}/members?action=add
Path Parameters
Name | Type | Description |
---|---|---|
Required | ||
module | string | Identifier of the module to which the specified virtual machines are added. |
Request Body Structure:
{
"vms" : [
"obj-103",
"obj-103"
]
}
"vms" : [
"obj-103",
"obj-103"
]
}
Request Body Parameters:
Name | Type | Description |
---|---|---|
bold = required | ||
vms | string[] | Set of identifiers of virtual machines that will be added to the module. |
Response:
HTTP Status Code: 200
Representation:
{
"value" : {
"success" : true
}
}
"value" : {
"success" : true
}
}
Response Type:
Name | Type | Description |
---|---|---|
bold = required | ||
value | status | Whether the addition of members to the module succeeded or failed. |
value.success | boolean | This is true if the complete operation succeeded without any errors. Otherwise it is false and all or some operations have failed. Warning: This attribute is part of a new feature in development. It may be changed at any time and may not have all supported functionality implemented. |
Errors:
HTTP Status Code | Type | Description |
---|---|---|
404 | not_found | if the module is not known to this vCenter server. |