Create Namespace

Create Namespace

Use this endpoint to create namespace
Authorized Roles : PROVIDER

Request
URI
POST
https://{api_host}/provider/namespaces
COPY
Request Body
CreateNamespaceRequest of type(s) application/json
Required
{
    "name": "string",
    "description": "string",
    "environmentId": "string",
    "datastores": [
        {
            "id": "string",
            "name": "string",
            "moId": "string",
            "isDefault": false
        }
    ],
    "appNetworks": [
        {
            "id": "string",
            "name": "string",
            "moId": "string",
            "isDefault": false
        }
    ],
    "localStorages": [
        {
            "id": "string",
            "default": false
        }
    ],
    "cloudStorages": [
        {
            "id": "string",
            "default": false
        }
    ],
    "organisations": [
        "string"
    ]
}
string
name
Required

name

string
description
Optional

description

string As uuid As uuid
environmentId
Required

environmentId

datastores
Required

datastores

appNetworks
Required

appNetworks

localStorages
Required

localStorages

cloudStorages
Required

cloudStorages

array of string
organisations
Optional

organisations

Authentication
This operation uses the following authentication methods.
Responses
201

Created

Returns NamespaceDto of type(s) application/vnd.vmware.dms-v1+json
{
    "id": "string",
    "name": "string",
    "description": "string",
    "environment": {
        "id": "string",
        "name": "string"
    },
    "localStorages": [
        {
            "id": "string",
            "name": "string",
            "isDefault": false
        }
    ],
    "cloudStorages": [
        {
            "id": "string",
            "name": "string",
            "isDefault": false
        }
    ],
    "datastores": [
        {
            "id": "string",
            "name": "string",
            "moId": "string",
            "isDefault": false
        }
    ],
    "appNetworks": [
        {
            "id": "string",
            "name": "string",
            "moId": "string",
            "isDefault": false
        }
    ],
    "organisations": [
        {
            "id": "string",
            "name": "string",
            "isPublished": false,
            "databaseCount": 0
        }
    ],
    "status": "string",
    "runtimeInfo": [
        {
            "id": "string",
            "namespaceId": "string",
            "alertType": "string",
            "alertLevel": "string",
            "alertTime": "string"
        }
    ],
    "databaseCount": 0,
    "lastUpdatedTime": "string",
    "links": [
        {
            "rel": "string",
            "href": "string",
            "hreflang": "string",
            "media": "string",
            "title": "string",
            "type": "string",
            "deprecation": "string",
            "profile": "string",
            "name": "string"
        }
    ]
}
string As uuid As uuid
id
Optional

id

string
name
Required

name

string
description
Optional

description

environment
Required

environment

localStorages
Required

localStorages

cloudStorages
Required

cloudStorages

datastores
Required

datastores

appNetworks
Required

appNetworks

organisations
Required

organisations

string
status
Required

status

Possible values are : INIT, ONLINE, ERROR, WARNING,
runtimeInfo
Required

runtimeInfo

integer As int32 As int32
databaseCount
Optional

databaseCount

string As date-time As date-time
lastUpdatedTime
Optional

lastUpdatedTime

array of Link
links
Optional

links


400

Bad Request

Operation doesn't return any data structure