Create Deployment Policy
Only Solution users, Container admins, and System admins can create DeploymentPolicies.
Request
URI
POST
https://{api_host}/container-service/api/resources/deployment-policies
COPY
Request Body
DeploymentPolicy of type(s) application/json
Required
{
"documentExpirationTimeMicros": "string",
"documentSelfLink": "string",
"name": "string",
"description": "string",
"tenantLinks": [
"string"
],
"documentUpdateTimeMicros": "string"
}
string
documentExpirationTimeMicros
Optional
documentExpirationTimeMicros
string
documentSelfLink
Optional
documentSelfLink
string
name
Optional
name
string
description
Optional
description
array of string
tenantLinks
Optional
tenantLinks
string
documentUpdateTimeMicros
Optional
documentUpdateTimeMicros
Responses
200
successful operation
Returns DeploymentPolicy of type(s) */*
{
"documentExpirationTimeMicros": "string",
"documentSelfLink": "string",
"name": "string",
"description": "string",
"tenantLinks": [
"string"
],
"documentUpdateTimeMicros": "string"
}
string
documentExpirationTimeMicros
Optional
documentExpirationTimeMicros
string
documentSelfLink
Optional
documentSelfLink
string
name
Optional
name
string
description
Optional
description
array of string
tenantLinks
Optional
tenantLinks
string
documentUpdateTimeMicros
Optional
documentUpdateTimeMicros
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