GetHostResourceAllocation
GetHostResourceAllocation
POST
/zstack/v1/hosts/{uuid}/resource-allocationOperation ID
GetHostResourceAllocationSince
4.3.12Execution 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 host UUID.
Body Fields
paramsObjectRequiredRequest body parameter object.
strategyStringRequiredThe resource allocation policy.
sceneStringRequiredThe scene type.
vcpuStringRequiredThe number of vCPUs that need to be allocated to a VM instance.
Responses
200 OKChange History
View all change historyChange TimeChange SummaryAction
Change Time
AddedResponse fields pCPU, vCPUView API
