Update Kubernetes Cluster Backup

Update Kubernetes Cluster Backup

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

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

The ID of the protected Kubernetes cluster.

string
backupName
Required

The backup name of the protected Kubernetes cluster.


Request Body
Backup of type(s) application/json
Required
{
    "metadata": {
        "name": "string",
        "namespace": "string",
        "resourceVersion": "string",
        "creationTimestamp": "string",
        "annotations": {
            "annotations": "string"
        },
        "labels": {
            "labels": "string"
        }
    },
    "spec": {
        "includedNamespaces": [
            "string"
        ],
        "excludedNamespaces": [
            "string"
        ],
        "includedResources": [
            "string"
        ],
        "excludedResources": [
            "string"
        ],
        "includeClusterResources": "string",
        "orderedResources": "string",
        "labelSelector": {
            "labelSelector": "string"
        },
        "snapshotVolumes": false,
        "ttl": "string",
        "storageLocation": "string",
        "volumeSnapshotLocations": [
            "string"
        ],
        "advancedOptions": {
            "advancedOptions": "string"
        }
    },
    "status": {
        "expiration": "string",
        "phase": "string",
        "validationErrors": [
            "string"
        ],
        "startTimestamp": "string",
        "completionTimestamp": "string",
        "warnings": 0,
        "errors": 0,
        "totalItems": 0,
        "itemsBackedUp": 0,
        "failureReason": "string"
    },
    "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 Backup of type(s) */*
{
    "metadata": {
        "name": "string",
        "namespace": "string",
        "resourceVersion": "string",
        "creationTimestamp": "string",
        "annotations": {
            "annotations": "string"
        },
        "labels": {
            "labels": "string"
        }
    },
    "spec": {
        "includedNamespaces": [
            "string"
        ],
        "excludedNamespaces": [
            "string"
        ],
        "includedResources": [
            "string"
        ],
        "excludedResources": [
            "string"
        ],
        "includeClusterResources": "string",
        "orderedResources": "string",
        "labelSelector": {
            "labelSelector": "string"
        },
        "snapshotVolumes": false,
        "ttl": "string",
        "storageLocation": "string",
        "volumeSnapshotLocations": [
            "string"
        ],
        "advancedOptions": {
            "advancedOptions": "string"
        }
    },
    "status": {
        "expiration": "string",
        "phase": "string",
        "validationErrors": [
            "string"
        ],
        "startTimestamp": "string",
        "completionTimestamp": "string",
        "warnings": 0,
        "errors": 0,
        "totalItems": 0,
        "itemsBackedUp": 0,
        "failureReason": "string"
    },
    "extension": {
        "extension": {}
    }
}
metadata
Optional

metadata

spec
Optional

spec

status
Optional

status

object
extension
Optional

extension