Kustomization Resource Service Update
Update (overwrite) a Kustomization.
Request
URI
PUT
https://{api_host}/https://your_org.tmc.cloud.vmware.com/v1alpha1/clusters/{kustomization.fullName.clusterName}/namespaces/{kustomization.fullName.namespaceName}/fluxcd/kustomizations/{kustomization.fullName.name}
COPY
Path Parameters
string
kustomization.fullName.clusterGroupName
Required
Name of Cluster Group.
string
kustomization.fullName.name
Required
Name of the Kustomization.
Request Body
vmware.tanzu.manage.v1alpha1.clustergroup.namespace.fluxcd.kustomization.UpdateKustomizationRequest of type(s) application/json
Required
{
"kustomization": {
"type": {
"kind": "string",
"version": "string",
"package": "string"
},
"fullName": {
"orgId": "string",
"clusterGroupName": "string",
"namespaceName": "string",
"name": "string"
},
"meta": {
"uid": "string",
"generation": "string",
"resourceVersion": "string",
"creationTime": "string",
"updateTime": "string",
"description": "string",
"parentReferences": [
{
"rid": "string",
"uid": "string"
}
]
},
"spec": {
"atomicSpec": {
"source": {
"namespace": "string",
"name": "string"
},
"path": "string",
"prune": false,
"interval": "string",
"targetNamespace": "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.namespace.fluxcd.kustomization.UpdateKustomizationResponse of type(s) */*
{
"kustomization": {
"type": {
"kind": "string",
"version": "string",
"package": "string"
},
"fullName": {
"orgId": "string",
"clusterGroupName": "string",
"namespaceName": "string",
"name": "string"
},
"meta": {
"uid": "string",
"generation": "string",
"resourceVersion": "string",
"creationTime": "string",
"updateTime": "string",
"description": "string",
"parentReferences": [
{
"rid": "string",
"uid": "string"
}
]
},
"spec": {
"atomicSpec": {
"source": {
"namespace": "string",
"name": "string"
},
"path": "string",
"prune": false,
"interval": "string",
"targetNamespace": "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"
}
]
}
Kustomization Resource Service Operations
POST
Kustomization Resource Service Create
POST
Kustomization Resource Service Create
DELETE
Kustomization Resource Service Delete
DELETE
Kustomization Resource Service Delete
GET
Kustomization Resource Service Get
GET
Kustomization Resource Service Get
GET
Kustomization Resource Service List
GET
Kustomization Resource Service List
PUT
Kustomization Resource Service Update
PUT
Kustomization Resource Service Update