Repository Resource Service Update
Update (overwrite) a Repository.
Request
URI
PUT
https://{api_host}/https://your_org.tmc.cloud.vmware.com/v1alpha1/clusters/{repository.fullName.clusterName}/namespaces/{repository.fullName.namespaceName}/tanzupackage/repositories/{repository.fullName.name}
COPY
Path Parameters
string
repository.fullName.clusterName
Required
Name of Cluster.
string
repository.fullName.namespaceName
Required
Name of Namespace.
string
repository.fullName.name
Required
Name of the Package Repository.
Request Body
vmware.tanzu.manage.v1alpha1.cluster.namespace.tanzupackage.repository.UpdateRepositoryRequest of type(s) application/json
Required
{
"repository": {
"type": {
"kind": "string",
"version": "string",
"package": "string"
},
"fullName": {
"orgId": "string",
"managementClusterName": "string",
"provisionerName": "string",
"clusterName": "string",
"namespaceName": "string",
"name": "string"
},
"meta": {
"uid": "string",
"generation": "string",
"resourceVersion": "string",
"creationTime": "string",
"updateTime": "string",
"description": "string",
"parentReferences": [
{
"rid": "string",
"uid": "string"
}
]
},
"spec": {
"imgpkgBundle": {
"image": "string"
}
},
"status": {
"disabled": false,
"subscribed": false,
"managed": false
}
}
}
Responses
200
A successful response.
Returns vmware.tanzu.manage.v1alpha1.cluster.namespace.tanzupackage.repository.UpdateRepositoryResponse of type(s) */*
{
"repository": {
"type": {
"kind": "string",
"version": "string",
"package": "string"
},
"fullName": {
"orgId": "string",
"managementClusterName": "string",
"provisionerName": "string",
"clusterName": "string",
"namespaceName": "string",
"name": "string"
},
"meta": {
"uid": "string",
"generation": "string",
"resourceVersion": "string",
"creationTime": "string",
"updateTime": "string",
"description": "string",
"parentReferences": [
{
"rid": "string",
"uid": "string"
}
]
},
"spec": {
"imgpkgBundle": {
"image": "string"
}
},
"status": {
"disabled": false,
"subscribed": false,
"managed": false
}
}
}
default
An unexpected error response.
Returns grpc.gateway.runtime.Error of type(s) */*
{
"error": "string",
"code": 0,
"message": "string",
"details": [
{
"typeUrl": "string",
"value": "string"
}
]
}
Repository Resource Service Operations
POST
Repository Resource Service Create
DELETE
Repository Resource Service Delete
GET
Repository Resource Service Get
GET
Repository Resource Service Get
GET
Repository Resource Service Get
GET
Repository Resource Service List
GET
Repository Resource Service List
GET
Repository Resource Service List
PUT
Repository Resource Service Update