Skip to main content
Resource Center/Resource Pool/VM Scheduling Rule Group Operations

ValidateVmSchedulingRule

ValidateVmSchedulingRule

PUT/zstack/v1/validate/vmSchedulingRule

Operation ID

ValidateVmSchedulingRule

Since

4.6.0

Execution Mode

Synchronous

Auth Context

Auth Required

Auth Context

Send these values as request headers when calling this API.

AuthorizationstringRequired

Bearer Token

X-Tenant-IDstring

X-Tenant-ID

Request Inputs

application/json

Body Fields

  • vmGroupUuid
    StringRequired

    The VM scheduling group UUID.

  • hostGroupUuid
    String

    Optional. The host scheduling group UUID.

  • rule
    StringRequired

    The VM scheduling rule.

  • mode
    StringRequired

    The execution mode of the rule.

  • zoneUuid
    String

    Optional. The zone UUID.

Responses

200 OK
200 OK

On success, this API returns an empty JSON object {}.