REST API - set_multiple

vcenter vm data sets entries: set multiple

Sets multiple entries in a data set. 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}/api/vcenter/vm/{vm}/data-sets/{dataSet}

?action=set-multiple
{
    "<string>""string"
}

Path Parameters

Name Type Description
Required
vm string Identifier of the virtual machine.

Body Parameters:

Name Type Description
bold = required
- object The entries to set. A key can be at most 4096 bytes. A value can be at most 1MB.Object with element values of type string.
-.* string

Response:

HTTP Status Code: 204

Headers:

None

Type:

None

Errors:

HTTP Status Code Type Description
404 not_found if the virtual machine is not found.
500 unable_to_allocate_resource if the operation will exceed the maximum size of the data set.
403 unauthorized if the data set access mode prevents the operation.