Version Resource Service Get

Version Resource Service Get

Get a Version.

Request
URI
GET
https://{api_host}/https://your_org.tmc.cloud.vmware.com/v1alpha1/policy/templates/{fullName.templateName}/versions/{fullName.name}
COPY
Path Parameters
string
fullName.typeName
Required

Name of policy type.

string
fullName.recipeName
Required

Name of policy recipe.

string
fullName.name
Required

Name of policy recipe version.

Query Parameters
string
fullName.orgId
Optional

ID of Organization.


Responses
200

A successful response.

{
    "version": {
        "type": {
            "kind": "string",
            "version": "string",
            "package": "string"
        },
        "fullName": {
            "orgId": "string",
            "typeName": "string",
            "recipeName": "string",
            "name": "string"
        },
        "meta": {
            "uid": "string",
            "generation": "string",
            "resourceVersion": "string",
            "creationTime": "string",
            "updateTime": "string",
            "description": "string",
            "parentReferences": [
                {
                    "rid": "string",
                    "uid": "string"
                }
            ]
        },
        "spec": {
            "inputSchema": "string",
            "policyTemplates": [
                {
                    "rid": "string",
                    "uid": "string"
                }
            ],
            "deprecated": 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"
        }
    ]
}