CreateVmSchedulingRule
CreateVmSchedulingRule
POST
/zstack/v1/vmsSchedulingRuleOperation ID
CreateVmSchedulingRuleSince
4.6.0Execution 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/jsonBody Fields
paramsObjectRequiredRequest body parameter object.
ruleStringRequiredThe VM scheduling rule.
modeStringRequiredThe execution mode.
vmGroupUuidStringRequiredThe VM scheduling group UUID.
hostGroupUuidStringThe host scheduling group UUID.
nameStringRequiredThe resource name.
descriptionStringOptional. Optional. The detailed description of the resource.
policyStringThe policy.
typeStringThe resource type.
zoneUuidStringOptional. The zone UUID.
subTypeStringThe sub type.
resourceUuidStringThe resource UUID.
tagUuidsListOptional. The tag UUID list.
systemTagsListOptional. The system tags.
userTagsListOptional. The user tags.
