Create Kubernetes Cluster Restore

Create Kubernetes Cluster Restore

API code: CREATE_KUBERNETES_CLUSTER_RESTORE
Pre-authorized role(s): TENANT_USER | TENANT_ADMIN
Platform(s): AMAZON | OSIS | CLOUDIAN | ECS

Request
URI
POST
https://apaas-29.eng.vmware.com//api/v1/k8s/clusters/{clusterId}/restores
COPY
Path Parameters
string
clusterId
Required

The ID of the protected Kubernetes cluster.


Request Body
Restore of type(s) application/json
Required
{
    "metadata": {
        "name": "string",
        "namespace": "string",
        "resourceVersion": "string",
        "creationTimestamp": "string",
        "annotations": {
            "annotations": "string"
        },
        "labels": {
            "labels": "string"
        }
    },
    "spec": {
        "backupName": "string",
        "scheduleName": "string",
        "restorePVs": false,
        "advancedOptions": {
            "advancedOptions": "string"
        },
        "excludedNamespaces": [
            "string"
        ],
        "includedNamespaces": [
            "string"
        ]
    },
    "status": {
        "phase": "string",
        "validationErrors": [
            "string"
        ],
        "warnings": 0,
        "errors": 0,
        "failureReason": "string",
        "startTimestamp": "string",
        "completionTimestamp": "string",
        "totalItems": 0,
        "itemsRestored": 0
    },
    "extension": {
        "extension": {}
    }
}
metadata
Optional

metadata

spec
Optional

spec

status
Optional

status

object
extension
Optional

extension

Authentication
This operation uses the following authentication methods.
Responses
200

OK

Returns Restore of type(s) */*
{
    "metadata": {
        "name": "string",
        "namespace": "string",
        "resourceVersion": "string",
        "creationTimestamp": "string",
        "annotations": {
            "annotations": "string"
        },
        "labels": {
            "labels": "string"
        }
    },
    "spec": {
        "backupName": "string",
        "scheduleName": "string",
        "restorePVs": false,
        "advancedOptions": {
            "advancedOptions": "string"
        },
        "excludedNamespaces": [
            "string"
        ],
        "includedNamespaces": [
            "string"
        ]
    },
    "status": {
        "phase": "string",
        "validationErrors": [
            "string"
        ],
        "warnings": 0,
        "errors": 0,
        "failureReason": "string",
        "startTimestamp": "string",
        "completionTimestamp": "string",
        "totalItems": 0,
        "itemsRestored": 0
    },
    "extension": {
        "extension": {}
    }
}
metadata
Optional

metadata

spec
Optional

spec

status
Optional

status

object
extension
Optional

extension