Create Closure State

Create Closure State

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

Request
URI
POST
https://{api_host}/container-service/api/resources/closures
COPY
Request Body
ClosureState of type(s) application/json
Required
{
    "documentExpirationTimeMicros": "string",
    "parentLink": "string",
    "descriptionLink": "string",
    "documentUpdateTimeMicros": "string",
    "errorMsg": "string",
    "lastLeasedTimeMillis": 0,
    "documentSelfLink": "string",
    "tagLinks": [
        "string"
    ],
    "name": "string",
    "closureSemaphore": "string",
    "resourceLinks": [
        "string"
    ],
    "groupLinks": [
        "string"
    ],
    "tenantLinks": [
        "string"
    ],
    "id": "string",
    "state": "string",
    "logs": [
        "string"
    ]
}
object
outputs
Optional

outputs

string
documentExpirationTimeMicros
Optional

documentExpirationTimeMicros

string
parentLink
Optional

parentLink

object
inputs
Optional

inputs

string
descriptionLink
Optional

descriptionLink

string
documentUpdateTimeMicros
Optional

documentUpdateTimeMicros

string
errorMsg
Optional

errorMsg

object
customProperties
Optional

customProperties

integer As int64 As int64
lastLeasedTimeMillis
Optional

lastLeasedTimeMillis

string
documentSelfLink
Optional

documentSelfLink

array of string
tagLinks
Optional

tagLinks

string
name
Optional

name

string
closureSemaphore
Optional

closureSemaphore

array of string
resourceLinks
Optional

resourceLinks

array of string
groupLinks
Optional

groupLinks

array of string
tenantLinks
Optional

tenantLinks

string
id
Optional

id

string
state
Optional

state

Possible values are : CREATED, STARTED, FINISHED, FAILED, CANCELLED,
array of string
logs
Optional

logs

Responses
200

successful operation

Returns ClosureState of type(s) */*
{
    "documentExpirationTimeMicros": "string",
    "parentLink": "string",
    "descriptionLink": "string",
    "documentUpdateTimeMicros": "string",
    "errorMsg": "string",
    "lastLeasedTimeMillis": 0,
    "documentSelfLink": "string",
    "tagLinks": [
        "string"
    ],
    "name": "string",
    "closureSemaphore": "string",
    "resourceLinks": [
        "string"
    ],
    "groupLinks": [
        "string"
    ],
    "tenantLinks": [
        "string"
    ],
    "id": "string",
    "state": "string",
    "logs": [
        "string"
    ]
}
object
outputs
Optional

outputs

string
documentExpirationTimeMicros
Optional

documentExpirationTimeMicros

string
parentLink
Optional

parentLink

object
inputs
Optional

inputs

string
descriptionLink
Optional

descriptionLink

string
documentUpdateTimeMicros
Optional

documentUpdateTimeMicros

string
errorMsg
Optional

errorMsg

object
customProperties
Optional

customProperties

integer As int64 As int64
lastLeasedTimeMillis
Optional

lastLeasedTimeMillis

string
documentSelfLink
Optional

documentSelfLink

array of string
tagLinks
Optional

tagLinks

string
name
Optional

name

string
closureSemaphore
Optional

closureSemaphore

array of string
resourceLinks
Optional

resourceLinks

array of string
groupLinks
Optional

groupLinks

array of string
tenantLinks
Optional

tenantLinks

string
id
Optional

id

string
state
Optional

state

Possible values are : CREATED, STARTED, FINISHED, FAILED, CANCELLED,
array of string
logs
Optional

logs


201

'Created' is returned for the new state with the state url in the location header of the response;

Operation doesn't return any data structure

Create Operations
POST
Create Auth Credentials Service State
POST
Create Closure Description
POST
Create Closure State
POST
Create Composite Component
POST
Create Composite Description
POST
Create Compute Description
POST
Create Compute Network
POST
Create Compute Network Description
POST
Create Compute Profile
POST
Create Compute State
POST
Create Configuration State
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
POST
Create Deployment Policy
POST
Create Disk State
POST
Create Elastic Placement Zone Configuration State
POST
Create Elastic Placement Zone State
POST
Create Endpoint State
POST
Create Event Log State
POST
Create Group Resource Placement State
POST
Create Image Enumeration Task State
POST
Create Image State
POST
Create Network Interface Description
POST
Create Network Interface State
POST
Create Network Profile
POST
Create Network State
PUT
Create Or Update Container Type
POST
Create Profile State
POST
Create Registry State
POST
Create Request Broker State
POST
Create Resource Group State
POST
Create Resource Pool State
POST
Create Service Document Delete Task State
POST
Create Ssl Trust Certificate State
POST
Create Ssl Trusted Certificate State
POST
Create Storage Profile
POST
Create Subnet State
POST
Create Tag Assignment Request
POST
Create Tag State