PageOfTask

PageOfTask
PageOfTask

Represents a page of elements of a single type

JSON Example
{
    "elements": [
        {
            "completionTimestamp": "string",
            "creationTimestamp": "string",
            "errors": [
                {
                    "arguments": [
                        "string"
                    ],
                    "causes": [
                        {
                            "message": "string",
                            "type": "string"
                        }
                    ],
                    "context": {
                        "context": "string"
                    },
                    "errorCode": "string",
                    "errorType": "string",
                    "message": "string",
                    "nestedErrors": [
                        "Error Object"
                    ],
                    "referenceToken": "string",
                    "remediationMessage": "string"
                }
            ],
            "id": "string",
            "isCancellable": false,
            "localizableDescriptionPack": {
                "arguments": [
                    "string"
                ],
                "component": "string",
                "message": "string",
                "messageKey": "string"
            },
            "name": "string",
            "resolutionStatus": "Can have only one of the two values: RESOLVED or UNRESOLVED",
            "resources": [
                {
                    "fqdn": "sfo-vc01.rainpole.io",
                    "name": "string",
                    "resourceId": "BE8A5E04-92A0-43F6-A166-AA041F4327CC",
                    "sans": [
                        "string"
                    ],
                    "type": "One among: SDDC_MANAGER, PSC, VCENTER, NSX_MANAGER, NSXT_MANAGER, VRA, VRLI, VROPS, VRSLCM, VXRAIL_MANAGER"
                }
            ],
            "status": "One among: PENDING, IN_PROGRESS, SUCCESSFUL, FAILED, CANCELLED",
            "subTasks": [
                {
                    "completionTimestamp": "string",
                    "creationTimestamp": "string",
                    "description": "string",
                    "errors": [
                        {
                            "arguments": [
                                "string"
                            ],
                            "causes": [
                                {
                                    "message": "string",
                                    "type": "string"
                                }
                            ],
                            "context": {
                                "context": "string"
                            },
                            "errorCode": "string",
                            "errorType": "string",
                            "message": "string",
                            "nestedErrors": [
                                "Error Object"
                            ],
                            "referenceToken": "string",
                            "remediationMessage": "string"
                        }
                    ],
                    "name": "string",
                    "resources": [
                        {
                            "fqdn": "sfo-vc01.rainpole.io",
                            "name": "string",
                            "resourceId": "BE8A5E04-92A0-43F6-A166-AA041F4327CC",
                            "sans": [
                                "string"
                            ],
                            "type": "One among: SDDC_MANAGER, PSC, VCENTER, NSX_MANAGER, NSXT_MANAGER, VRA, VRLI, VROPS, VRSLCM, VXRAIL_MANAGER"
                        }
                    ],
                    "stages": [
                        {
                            "completionTimestamp": "string",
                            "creationTimestamp": "string",
                            "description": "string",
                            "errors": [
                                {
                                    "arguments": [
                                        "string"
                                    ],
                                    "causes": [
                                        {
                                            "message": "string",
                                            "type": "string"
                                        }
                                    ],
                                    "context": {
                                        "context": "string"
                                    },
                                    "errorCode": "string",
                                    "errorType": "string",
                                    "message": "string",
                                    "nestedErrors": [
                                        "Error Object"
                                    ],
                                    "referenceToken": "string",
                                    "remediationMessage": "string"
                                }
                            ],
                            "name": "string",
                            "status": "One among: PENDING, IN_PROGRESS, SUCCESSFUL, FAILED",
                            "type": "string"
                        }
                    ],
                    "status": "One among: PENDING, IN_PROGRESS, SUCCESSFUL, FAILED, NOT_APPLICABLE",
                    "subTasks": [
                        "SubTask Object"
                    ],
                    "type": "string"
                }
            ],
            "type": "Sample values: HOST_COMMISSION, HOST_DECOMMISSION"
        }
    ],
    "pageMetadata": {
        "pageNumber": 0,
        "pageSize": 0,
        "totalElements": 0,
        "totalPages": 0
    }
}
array of Task
elements
Optional

The list of elements included in this page

pageMetadata
Optional

Represents pageable elements pagination metadata

Returned By