Source Secret Resource Service Update
Update (overwrite) a SourceSecret.
Request
URI
PUT
https://{api_host}/https://your_org.tmc.cloud.vmware.com/v1alpha1/clustergroups/{sourceSecret.fullName.clusterGroupName}/fluxcd/sourcesecrets/{sourceSecret.fullName.name}
COPY
Path Parameters
string
sourceSecret.fullName.clusterGroupName
Required
Name of Cluster group.
string
sourceSecret.fullName.name
Required
Name of Source Secret.
Request Body
vmware.tanzu.manage.v1alpha1.clustergroup.fluxcd.sourcesecret.UpdateSourceSecretRequest of type(s) application/json
Required
{
"sourceSecret": {
"type": {
"kind": "string",
"version": "string",
"package": "string"
},
"fullName": {
"orgId": "string",
"clusterGroupName": "string",
"name": "string"
},
"meta": {
"uid": "string",
"generation": "string",
"resourceVersion": "string",
"creationTime": "string",
"updateTime": "string",
"description": "string",
"parentReferences": [
{
"rid": "string",
"uid": "string"
}
]
},
"spec": {
"atomicSpec": {
"sourceSecretType": "string",
"data": {
"type": "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.fluxcd.sourcesecret.UpdateSourceSecretResponse of type(s) */*
{
"sourceSecret": {
"type": {
"kind": "string",
"version": "string",
"package": "string"
},
"fullName": {
"orgId": "string",
"clusterGroupName": "string",
"name": "string"
},
"meta": {
"uid": "string",
"generation": "string",
"resourceVersion": "string",
"creationTime": "string",
"updateTime": "string",
"description": "string",
"parentReferences": [
{
"rid": "string",
"uid": "string"
}
]
},
"spec": {
"atomicSpec": {
"sourceSecretType": "string",
"data": {
"type": "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"
}
]
}
Source Secret Resource Service Operations
POST
Source Secret Resource Service Create
POST
Source Secret Resource Service Create
DELETE
Source Secret Resource Service Delete
DELETE
Source Secret Resource Service Delete
GET
Source Secret Resource Service Get
GET
Source Secret Resource Service Get
GET
Source Secret Resource Service List
GET
Source Secret Resource Service List
PUT
Source Secret Resource Service Update
PUT
Source Secret Resource Service Update