Data Protection Resource Service Update
Update (overwrite) a DataProtection.
Request
URI
PUT
https://{api_host}/https://your_org.tmc.cloud.vmware.com/v1alpha1/clustergroups/{dataProtection.fullName.clusterGroupName}/dataprotection
COPY
Path Parameters
string
dataProtection.fullName.clusterGroupName
Required
Name of Cluster group.
Request Body
vmware.tanzu.manage.v1alpha1.clustergroup.dataprotection.UpdateDataProtectionRequest of type(s) application/json
Required
{
"dataProtection": {
"type": {
"kind": "string",
"version": "string",
"package": "string"
},
"fullName": {
"orgId": "string",
"clusterGroupName": "string"
},
"meta": {
"uid": "string",
"generation": "string",
"resourceVersion": "string",
"creationTime": "string",
"updateTime": "string",
"description": "string",
"parentReferences": [
{
"rid": "string",
"uid": "string"
}
]
},
"spec": {
"atomicSpec": {
"disableRestic": false,
"backupLocationNames": [
"string"
],
"enableAllApiGroupVersionsBackup": false,
"enableCsiSnapshots": false,
"useNodeAgent": false
},
"selector": {
"names": [
"string"
],
"excludedNames": [
"string"
],
"labelSelector": {
"matchExpressions": [
{
"key": "string",
"operator": "string",
"values": [
"string"
]
}
]
}
}
},
"status": {
"phase": "string",
"details": {
"availableTargets": 0,
"applied": 0,
"overridden": 0,
"pending": 0,
"error": 0,
"deleting": 0,
"skipped": 0
},
"observedGeneration": "string"
}
}
}
Responses
200
A successful response.
Returns vmware.tanzu.manage.v1alpha1.clustergroup.dataprotection.UpdateDataProtectionResponse of type(s) */*
{
"dataProtection": {
"type": {
"kind": "string",
"version": "string",
"package": "string"
},
"fullName": {
"orgId": "string",
"clusterGroupName": "string"
},
"meta": {
"uid": "string",
"generation": "string",
"resourceVersion": "string",
"creationTime": "string",
"updateTime": "string",
"description": "string",
"parentReferences": [
{
"rid": "string",
"uid": "string"
}
]
},
"spec": {
"atomicSpec": {
"disableRestic": false,
"backupLocationNames": [
"string"
],
"enableAllApiGroupVersionsBackup": false,
"enableCsiSnapshots": false,
"useNodeAgent": false
},
"selector": {
"names": [
"string"
],
"excludedNames": [
"string"
],
"labelSelector": {
"matchExpressions": [
{
"key": "string",
"operator": "string",
"values": [
"string"
]
}
]
}
}
},
"status": {
"phase": "string",
"details": {
"availableTargets": 0,
"applied": 0,
"overridden": 0,
"pending": 0,
"error": 0,
"deleting": 0,
"skipped": 0
},
"observedGeneration": "string"
}
}
}
default
An unexpected error response.
Returns grpc.gateway.runtime.Error of type(s) */*
{
"error": "string",
"code": 0,
"message": "string",
"details": [
{
"typeUrl": "string",
"value": "string"
}
]
}
Data Protection Resource Service Operations
POST
Data Protection Resource Service Create
POST
Data Protection Resource Service Create
DELETE
Data Protection Resource Service Delete
DELETE
Data Protection Resource Service Delete
GET
Data Protection Resource Service List
GET
Data Protection Resource Service List
PUT
Data Protection Resource Service Update
PUT
Data Protection Resource Service Update