Git Repository Resource Service Update
Update (overwrite) a GitRepository.
Request
URI
PUT
https://{api_host}/https://your_org.tmc.cloud.vmware.com/v1alpha1/clustergroups/{gitRepository.fullName.clusterGroupName}/namespace/fluxcd/gitrepositories/{gitRepository.fullName.name}
COPY
Path Parameters
string
gitRepository.fullName.clusterGroupName
Required
Name of Cluster Group.
string
gitRepository.fullName.name
Required
Name of the Repository.
Request Body
vmware.tanzu.manage.v1alpha1.clustergroup.namespace.fluxcd.gitrepository.UpdateGitRepositoryRequest of type(s) application/json
Required
{
"gitRepository": {
"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": {
"url": "string",
"secretRef": "string",
"interval": "string",
"ref": {
"branch": "string",
"tag": "string",
"semver": "string",
"commit": "string"
},
"gitImplementation": "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.gitrepository.UpdateGitRepositoryResponse of type(s) */*
{
"gitRepository": {
"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": {
"url": "string",
"secretRef": "string",
"interval": "string",
"ref": {
"branch": "string",
"tag": "string",
"semver": "string",
"commit": "string"
},
"gitImplementation": "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"
}
]
}
Git Repository Resource Service Operations
POST
Git Repository Resource Service Create
POST
Git Repository Resource Service Create
DELETE
Git Repository Resource Service Delete
DELETE
Git Repository Resource Service Delete
GET
Git Repository Resource Service Get
GET
Git Repository Resource Service Get
GET
Git Repository Resource Service List
GET
Git Repository Resource Service List
PUT
Git Repository Resource Service Update
PUT
Git Repository Resource Service Update