Create Ras

Create Ras

Creates a Secure Access Service

Request
URI
POST
https://{api_host}/api/ztnad/v1/enterprises/{enterpriseLogicalId}/ras
COPY
Path Parameters
string
enterpriseLogicalId
Required

Enterprise Logical ID


Request Body
createRasBody of type(s) application/json
Required
{
    "name": "sample-service",
    "description": "text",
    "tags": [
        "string"
    ],
    "enterpriseId": "number",
    "dnsName": "something.ra.velocloud.net",
    "workspaceOneOrg": "sample-workspaceOneOrg",
    "workspaceOneUrl": "sample.vmware.com",
    "workspaceOneUsername": "username",
    "workspaceOnePassword": "password",
    "doTunnelConfig": false,
    "enterpriseDnsObjectId": "number",
    "segmentId": "number",
    "segmentLogicalId": "ac611099-9872-4b29-bd87-8c2ba8b62c82",
    "customerCidr": "192.168.2.1/24",
    "numberOfBits": "number",
    "cws": {
        "enable": false,
        "policyId": 1,
        "policyName": "text"
    },
    "popList": [
        {
            "name": "text",
            "logicalId": "ac611099-9872-4b29-bd87-8c2ba8b62c82",
            "gatewaysList": [
                {
                    "vcoLogicalId": "ac611099-9872-4b29-bd87-8c2ba8b62c82",
                    "vcoGatewayLogicalId": "ac611099-9872-4b29-bd87-8c2ba8b62c82",
                    "ipAddress": "192.168.2.1",
                    "endpointIpAddress": "192.168.2.1",
                    "name": "text"
                }
            ]
        }
    ]
}
string
name
Required

name

string
description
Required

description

array of string
tags
Required

tags

number As float As float
enterpriseId
Required

enterpriseId

string
dnsName
Required

dnsName

string
workspaceOneOrg
Required

workspaceOneOrg

string
workspaceOneUrl
Required

workspaceOneUrl

string
workspaceOneUsername
Required

workspaceOneUsername

string
workspaceOnePassword
Required

workspaceOnePassword

boolean
doTunnelConfig
Required

doTunnelConfig

number As float As float
enterpriseDnsObjectId
Required

enterpriseDnsObjectId

number As float As float
segmentId
Required

segmentId

string
segmentLogicalId
Required

segmentLogicalId

string
customerCidr
Required

customerCidr

number As float As float
numberOfBits
Required

numberOfBits

object
cws
Optional

cws

array of object
popList
Optional

popList

Responses
201

Secure Access Service Created

Returns createRasResponse of type(s) application/json
{
    "logicalId": "ac611099-9872-4b29-bd87-8c2ba8b62c82"
}
string As uuid As uuid
logicalId
Required

logicalId


400

Secure Access Service Failed to Create

Returns httpResponseError of type(s) application/json
{
    "code": "INVALID_CONFIG",
    "errors": [
        {
            "message": "error message",
            "path": "object.path",
            "key": "text"
        }
    ]
}
string
code
Required

code

Possible values are : INTERNAL_ERROR, INVALID_PARAMS, INVALID_QUERY_PARAMS, INVALID_CONFIG, HEALTHCHECK_UNAVAILABLE,
array of object
errors
Required

errors


500

Internal Server Error

Returns httpResponseError of type(s) application/json
{
    "code": "INVALID_CONFIG",
    "errors": [
        {
            "message": "error message",
            "path": "object.path",
            "key": "text"
        }
    ]
}
string
code
Required

code

Possible values are : INTERNAL_ERROR, INVALID_PARAMS, INVALID_QUERY_PARAMS, INVALID_CONFIG, HEALTHCHECK_UNAVAILABLE,
array of object
errors
Required

errors