Create Container Type

Create Container Type

Only Solution users, Container admins, and System admins can create ContainerDescriptions.

Request
URI
POST
https://{api_host}/container-service/api/containers/types
COPY
Request Body
ContainerType of type(s) application/json
Required
{
    "lastUpdated": "string",
    "createdDate": "string",
    "name": "string",
    "description": "string",
    "serviceTypeId": "string",
    "id": "string",
    "version": 0
}
string As date-time As date-time
lastUpdated
Optional

lastUpdated

string As date-time As date-time
createdDate
Optional

createdDate

string
name
Optional

name

string
description
Optional

description

string
serviceTypeId
Optional

serviceTypeId

string
id
Optional

id

integer As int64 As int64
version
Optional

version

schemaReference
Required

schemaReference

Responses
200

successful operation

Returns ContainerType of type(s) */*
{
    "lastUpdated": "string",
    "createdDate": "string",
    "name": "string",
    "description": "string",
    "serviceTypeId": "string",
    "id": "string",
    "version": 0
}
string As date-time As date-time
lastUpdated
Optional

lastUpdated

string As date-time As date-time
createdDate
Optional

createdDate

string
name
Optional

name

string
description
Optional

description

string
serviceTypeId
Optional

serviceTypeId

string
id
Optional

id

integer As int64 As int64
version
Optional

version

schemaReference
Required

schemaReference


201

'Created' is returned if new containerType with the containerType url in the location header of the response

Operation doesn't return any data structure

204

'No Content' is returned when updated.

Operation doesn't return any data structure

Container Operations
POST
Create Container Description
POST
Create Container Network Description
POST
Create Container Network State
POST
Create Container State
POST
Create Container Type
POST
Create Container Volume Description
POST
Create Container Volume State
PUT
Create Or Update Container Type
DELETE
Delete Container Description
DELETE
Delete Container Network Description
DELETE
Delete Container Network State
DELETE
Delete Container State
DELETE
Delete Container Type
DELETE
Delete Container Volume Description
DELETE
Delete Container Volume State
GET
Get Catalog Resource Item
GET
Get Catalog Resource Item
GET
Get Catalog Resource Item
GET
Get Container Description
GET
Get Container Network Description
GET
Get Container Network State
GET
Get Container State
GET
Get Container Stats
GET
Get Container Stats
GET
Get Container Type
GET
Get Container Volume Description
GET
Get Container Volume State
GET
List Container Description
GET
List Container Network Description
GET
List Container Network State
GET
List Container State
GET
List Container Types
GET
List Container Volume Description
GET
List Container Volume State
PATCH
Patch Container Description
PATCH
Patch Container Network Description
PATCH
Patch Container Network State
PATCH
Patch Container State
PATCH
Patch Container Volume Description
PATCH
Patch Container Volume State
POST
Publishes A container description To catalog.
PUT
Update Container Description
PUT
Update Container Host Spec
PUT
Update Container Network Description
PUT
Update Container Network State
PUT
Update Container State
PUT
Update Container Volume Description
PUT
Update Container Volume State