UpdateVmInstance
UpdateVmInstance
/zstack/v1/vm-instances/{uuid}/actionsOperation ID
UpdateVmInstanceSince
0.6Execution Mode
SynchronousAuth Context
Auth RequiredAuth Context
Send these values as request headers when calling this API.
AuthorizationstringRequiredBearer Token
X-Tenant-IDstringX-Tenant-ID
Request Inputs
application/jsonPath Parameters
uuidStringRequiredThe VM instance UUID.
Body Fields
nameStringOptional. The VM instance name.
descriptionStringOptional. The detailed description of the VM instance.
stateStringOptional. The state of the VM instance. Generally, the state of a VM instance cannot be updated directly. Otherwise, ZStack Cloud might misjudge the state of the VM instance. This parameter can be used only when the actual state of the VM instance is inconsistent with the state recorded by ZStack Cloud, and the synchronization mechanism of ZStack Cloud has expired (which is us usually a bug). The administrator must fully understand the consequences of using this parameter.
defaultL3NetworkUuidStringOptional. The UUID of the default L3 network.
platformStringOptional. The platform type of the VM instance.
