CampaignSummaryDto
An enrollment campaign with its progress.
{
"campaignId": 0,
"name": "string",
"scopeType": "string",
"vcenterConnectionId": "string",
"clusterMoRef": "string",
"status": "string",
"totalHosts": 0,
"enrolledHosts": 0,
"failedHosts": 0,
"inProgressHosts": 0,
"concurrencyLimit": 0,
"securityGroupId": 0,
"createdAt": "string",
"startedAt": "string",
"completedAt": "string",
"progressPercent": 0
}
Identifier of the campaign, assigned when it is created
Name given at creation, stored trimmed; an automatic campaign is named 'Auto Enrollment - ' followed by the vCenter display name and the creation time
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
Identifier of the vCenter connection given at creation: it selects the hosts of a VCENTER campaign and is the vCenter of an AUTO_DISCOVERY campaign; null when none was given
Cluster identifier given at creation; a CLUSTER campaign targets the hosts whose parentLocator equals it; null when none was given
Campaign state.
CREATED: The campaign exists and has not been started, which is the case for autoStart falseRUNNING: Jobs are being worked; set at creation with autoStart, by the start and resume operations, and for an automatic campaign at creationPAUSED: Paused by the pause operation, which accepts only a RUNNING campaign; jobs are not worked until it is resumedCOMPLETED: Every host has a result and at least one was enrolled, or no host needed enrolling at creationCANCELLED: Cancelled by the cancel operation or by the removal of its vCenter; its queued jobs are cancelledFAILED: Every host has a result and none was enrolled
Number of hosts the campaign has to enroll, one per queued job; hosts that were already ENROLLED at creation are not counted, and an AUTO_DISCOVERY campaign adds to it as jobs are appended
Number of hosts whose enrollment job completed successfully
Number of hosts whose enrollment job ended in a permanent failure; retrying the failed jobs lowers it
Number of enrollment jobs that have started and have not yet completed, failed permanently or been queued for a retry
Most jobs of one vCenter that may be started at the same time for this campaign; set from the request (5 when absent or not above 0), and for an automatic campaign from the maxConcurrentPerVcenter setting
Identifier of the Security Group given when the campaign was created; null when none was given
Time the campaign was created
Time the campaign was first started, at creation when autoStart applies or by the start operation; null while it has not been started
Time the campaign reached COMPLETED, FAILED or CANCELLED, including a campaign that found no host to enroll at creation; null otherwise
Share of totalHosts that has finished, enrolled or failed, as a whole percentage rounded and capped at 100; 0 when totalHosts is 0