Compute Resource Enable Network Boot Task

Compute Resource Enable Network Boot Task

Enable network boot in the specified mode for this compute resource.

Supported values are enumerated in ComputeResourceNetworkBootModeEnum. This configuration can be modified only when the compute resource is empty i.e. there are no hosts in it or during compute resource creation. In addition transition to some network boot mode(s) may be restricted depending on the current state of the compute resource.

Since: vSphere API Release 9.0.0.0

Required privileges: Host.Inventory.EditCluster

Request
URI
POST
https://{api_host}/sdk/vim25/{release}/ComputeResource/{moId}/EnableNetworkBoot_Task
COPY
Path Parameters
string
moId
Required

The unique identifier for the managed object to which the method attaches; the serialized managed object reference for a request has the form moType/moId, in this case ComputeResource/{moId}.

string
release
Required

The vSphere release schema. The current specification covers vSphere 9.0.0.0 APIs.


Request Body
EnableNetworkBootRequestType of type(s) application/json
Required
"EnableNetworkBootRequestType Object"
string
networkBootMode
Required

networkBootMode

Authentication
This operation uses the following authentication methods.
Responses
200

This method returns a Task object with which to monitor the operation progress and result.

Returns MoRefTask of type(s) application/json
"MoRefTask Object"

Code Samples
COPY
                    curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '[{}]' https://{api_host}/sdk/vim25/{release}/ComputeResource/{moId}/EnableNetworkBoot_Task