Release Resource Service Create

Release Resource Service Create

Create a Release.

Request
URI
POST
https://{api_host}/https://your_org.tmc.cloud.vmware.com/v1alpha1/clustergroups/{release.fullName.clusterGroupName}/namespace/fluxcd/helm/releases
COPY
Path Parameters
string
release.fullName.clusterGroupName
Required

Name of Cluster Group.


Request Body
{
    "release": {
        "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": {
                "chartRef": {
                    "repositoryType": "string",
                    "repositoryName": "string",
                    "chart": "string",
                    "version": "string",
                    "repositoryNamespace": "string"
                },
                "interval": "string",
                "inlineConfiguration": "string",
                "targetNamespace": "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.

{
    "release": {
        "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": {
                "chartRef": {
                    "repositoryType": "string",
                    "repositoryName": "string",
                    "chart": "string",
                    "version": "string",
                    "repositoryNamespace": "string"
                },
                "interval": "string",
                "inlineConfiguration": "string",
                "targetNamespace": "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"
        }
    ]
}