Namespace Resource Service Update
Update (overwrite) a Namespace.
Request
URI
PUT
https://{api_host}/https://your_org.tmc.cloud.vmware.com/v1alpha1/clusters/{namespace.fullName.clusterName}/namespaces/{namespace.fullName.name}
COPY
Path Parameters
string
namespace.fullName.clusterName
Required
Name of Cluster.
string
namespace.fullName.name
Required
Name of Namespace.
Request Body
vmware.tanzu.manage.v1alpha1.cluster.namespace.UpdateNamespaceRequest of type(s) application/json
Required
{
"namespace": {
"type": {
"kind": "string",
"version": "string",
"package": "string"
},
"fullName": {
"orgId": "string",
"managementClusterName": "string",
"provisionerName": "string",
"clusterName": "string",
"name": "string"
},
"meta": {
"uid": "string",
"generation": "string",
"resourceVersion": "string",
"creationTime": "string",
"updateTime": "string",
"description": "string",
"parentReferences": [
{
"rid": "string",
"uid": "string"
}
]
},
"spec": {
"workspaceName": "string",
"attach": false
},
"status": {
"phase": "string",
"phaseInfo": "string",
"availablePhases": [
"string"
]
}
}
}
Responses
200
A successful response.
Returns vmware.tanzu.manage.v1alpha1.cluster.namespace.UpdateNamespaceResponse of type(s) */*
{
"namespace": {
"type": {
"kind": "string",
"version": "string",
"package": "string"
},
"fullName": {
"orgId": "string",
"managementClusterName": "string",
"provisionerName": "string",
"clusterName": "string",
"name": "string"
},
"meta": {
"uid": "string",
"generation": "string",
"resourceVersion": "string",
"creationTime": "string",
"updateTime": "string",
"description": "string",
"parentReferences": [
{
"rid": "string",
"uid": "string"
}
]
},
"spec": {
"workspaceName": "string",
"attach": false
},
"status": {
"phase": "string",
"phaseInfo": "string",
"availablePhases": [
"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"
}
]
}