VCenterRemovalOperation

VCenterRemovalOperation
VCenterRemovalOperation

One durable removal of one vCenter connection. It is stored in the database, so it is readable after a Console restart and after the connection row is gone

JSON Example
{
    "operationId": 0,
    "connectionPk": 0,
    "displayName": "string",
    "host": "string",
    "port": 0,
    "state": "string",
    "attentionReason": "string",
    "generation": 0,
    "hostsTotal": 0,
    "progress": {
        "operationId": 0,
        "operationState": "string",
        "attentionReason": "string",
        "hostsTotal": 0,
        "hostsFinished": 0,
        "hostsFailed": 0,
        "hostsOutstanding": 0,
        "remoteConfirmed": 0,
        "noRemoteIdentity": 0,
        "forcedUnconfirmed": 0,
        "recoveryRequired": 0
    },
    "requestedBy": "string",
    "requestedAt": "string",
    "lastRetryBy": "string",
    "lastRetryAt": "string",
    "abandonedBy": "string",
    "abandonedAt": "string",
    "abandonReasonCode": "string",
    "finishedAt": "string",
    "connectionDeleted": false,
    "canRetry": false,
    "canAbandonLocal": false
}
integer As int64 As int64
operationId
Required  

Identifier of this removal operation

integer As int64 As int64
connectionPk
Required  

Primary key the connection had, kept after the row is deleted

string
displayName
Required  

Display name the connection had when the removal started

string
host
Required  

Address the connection had when the removal started

integer As int32 As int32
port
Required  

HTTPS port the connection had when the removal started

string
state
Required  

Where the operation stands: REQUESTED, RUNNING, ATTENTION_REQUIRED, COMPLETED or LOCALLY_ABANDONED

string
attentionReason
Optional

Why the operation stopped for the operator while ATTENTION_REQUIRED: HOST_FAILURES, INTERRUPTED, LATE_ENROLLMENT or FINALIZE_FAILED; null otherwise

integer As int32 As int32
generation
Required  

Pass number, increased by every retry and by a restart interruption

integer As int32 As int32
hostsTotal
Required  

Hosts the operation tracks, including hosts that appeared after it started

progress
Required  

Where a vCenter removal stands while Agent unenrollment runs on the enrollment workers. Counts use the offboarding outcome vocabulary

string
requestedBy
Required  

Account that started the removal

string As date-time As date-time
requestedAt
Required  

Moment an administrator asked for the removal, in UTC

string
lastRetryBy
Optional

Account that last started a retry; null before the first retry

string As date-time As date-time
lastRetryAt
Optional

When the last retry started; null before the first retry

string
abandonedBy
Optional

Account that abandoned the Console records; null unless LOCALLY_ABANDONED

string As date-time As date-time
abandonedAt
Optional

When the Console records were abandoned; null unless LOCALLY_ABANDONED

string
abandonReasonCode
Optional

Reason code given at abandonment: DECOMMISSIONED, PERMANENTLY_UNREACHABLE, REPLACED or OTHER; null unless LOCALLY_ABANDONED

string As date-time As date-time
finishedAt
Optional

When the operation reached COMPLETED or LOCALLY_ABANDONED; null while it is active

boolean
connectionDeleted
Required  

True once the connection row was deleted

boolean
canRetry
Required  

Whether Retry Removal may be started now

boolean
canAbandonLocal
Required  

Whether local abandonment may be requested now: ATTENTION_REQUIRED after at least one retry