Install Resource Service Create
Create an Install.
Request
URI
POST
https://{api_host}/https://your_org.tmc.cloud.vmware.com/v1alpha1/clusters/{install.fullName.clusterName}/namespaces/{install.fullName.namespaceName}/tanzupackage/installs
COPY
Path Parameters
string
install.fullName.clusterName
Required
Name of Cluster.
string
install.fullName.namespaceName
Required
Name of Namespace.
Request Body
vmware.tanzu.manage.v1alpha1.cluster.namespace.tanzupackage.install.CreateInstallRequest of type(s) application/json
Required
{
"install": {
"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": {
"packageRef": {
"packageMetadataName": "string",
"versionSelection": {
"constraints": "string"
}
},
"roleBindingScope": "string"
},
"status": {
"resolvedVersion": "string",
"generatedResources": {
"clusterRoleName": "string",
"serviceAccountName": "string",
"roleBindingName": "string"
},
"managed": false,
"referredBy": [
"string"
]
}
}
}
Responses
200
A successful response.
Returns vmware.tanzu.manage.v1alpha1.cluster.namespace.tanzupackage.install.CreateInstallResponse of type(s) */*
{
"install": {
"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": {
"packageRef": {
"packageMetadataName": "string",
"versionSelection": {
"constraints": "string"
}
},
"roleBindingScope": "string"
},
"status": {
"resolvedVersion": "string",
"generatedResources": {
"clusterRoleName": "string",
"serviceAccountName": "string",
"roleBindingName": "string"
},
"managed": false,
"referredBy": [
"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"
}
]
}