CreateCampaignRequest
A new enrollment campaign.
{
"name": "string",
"scopeType": "string",
"vcenterConnectionId": "string",
"clusterMoRef": "string",
"concurrencyLimit": 0,
"hypervisorPks": [
0
],
"securityGroupId": 0,
"autoStart": false
}
Must not be blank
Which hosts a campaign targets.
FLEET: All registered hosts are resolved as targets, but each job fails with 'Fleet-wide enrollment is not supported' and nothing is enrolled; also the default of the stored campaignVCENTER: The hosts of the vCenter connection named in vcenterConnectionId; a job runs only while that vCenter has Auto Enrollment enabled and otherwise failsCLUSTER: The hosts whose parentLocator equals clusterMoRefSELECTION: The hosts named in hypervisorPksAUTO_DISCOVERY: Created by the Console for a vCenter with Auto Enrollment enabled; its jobs wait while automatic enrollment is paused
For scopeType VCENTER or CLUSTER
For scopeType CLUSTER
Most jobs of one vCenter that may be started at the same time for this campaign. 5 when absent or not above 0; the default is fixed and does not follow the configured per-vCenter limit (only automatic campaigns use that setting)
For scopeType SELECTION
Identifier of the Security Group to record with the campaign; null when none is given
Whether the campaign starts at creation; true when omitted, and when false the campaign stays CREATED until it is started