Create Resource Pool State

Create Resource Pool State

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

Request
URI
POST
https://{api_host}/container-service/api/resources/pools
COPY
Request Body
ResourcePoolState of type(s) application/json
Required
{
    "documentExpirationTimeMicros": "string",
    "minCpuCount": 0,
    "minDiskCapacityBytes": 0,
    "maxDiskCostPerMinute": "number",
    "maxGpuCount": 0,
    "minGpuCount": 0,
    "documentUpdateTimeMicros": "string",
    "maxCpuCostPerMinute": "number",
    "documentSelfLink": "string",
    "tagLinks": [
        "string"
    ],
    "maxCpuCount": 0,
    "maxDiskCapacityBytes": 0,
    "name": "string",
    "maxMemoryBytes": 0,
    "computeResourceQueryLink": "string",
    "groupLinks": [
        "string"
    ],
    "tenantLinks": [
        "string"
    ],
    "id": "string",
    "projectName": "string",
    "properties": [
        "string"
    ],
    "minMemoryBytes": 0,
    "currencyUnit": "string"
}
string
documentExpirationTimeMicros
Optional

documentExpirationTimeMicros

integer As int64 As int64
minCpuCount
Optional

minCpuCount

integer As int64 As int64
minDiskCapacityBytes
Optional

minDiskCapacityBytes

number As double As double
maxDiskCostPerMinute
Optional

maxDiskCostPerMinute

integer As int64 As int64
maxGpuCount
Optional

maxGpuCount

integer As int64 As int64
minGpuCount
Optional

minGpuCount

string
documentUpdateTimeMicros
Optional

documentUpdateTimeMicros

number As double As double
maxCpuCostPerMinute
Optional

maxCpuCostPerMinute

object
customProperties
Optional

customProperties

string
documentSelfLink
Optional

documentSelfLink

array of string
tagLinks
Optional

tagLinks

integer As int64 As int64
maxCpuCount
Optional

maxCpuCount

integer As int64 As int64
maxDiskCapacityBytes
Optional

maxDiskCapacityBytes

string
name
Optional

name

integer As int64 As int64
maxMemoryBytes
Optional

maxMemoryBytes

string
computeResourceQueryLink
Optional

computeResourceQueryLink

array of string
groupLinks
Optional

groupLinks

array of string
tenantLinks
Optional

tenantLinks

string
id
Optional

id

string
projectName
Optional

projectName

array of string
properties
Optional

properties

Possible values are : ELASTIC, HYBRID,
integer As int64 As int64
minMemoryBytes
Optional

minMemoryBytes

string
currencyUnit
Optional

currencyUnit

Responses
200

successful operation

Returns ResourcePoolState of type(s) */*
{
    "documentExpirationTimeMicros": "string",
    "minCpuCount": 0,
    "minDiskCapacityBytes": 0,
    "maxDiskCostPerMinute": "number",
    "maxGpuCount": 0,
    "minGpuCount": 0,
    "documentUpdateTimeMicros": "string",
    "maxCpuCostPerMinute": "number",
    "documentSelfLink": "string",
    "tagLinks": [
        "string"
    ],
    "maxCpuCount": 0,
    "maxDiskCapacityBytes": 0,
    "name": "string",
    "maxMemoryBytes": 0,
    "computeResourceQueryLink": "string",
    "groupLinks": [
        "string"
    ],
    "tenantLinks": [
        "string"
    ],
    "id": "string",
    "projectName": "string",
    "properties": [
        "string"
    ],
    "minMemoryBytes": 0,
    "currencyUnit": "string"
}
string
documentExpirationTimeMicros
Optional

documentExpirationTimeMicros

integer As int64 As int64
minCpuCount
Optional

minCpuCount

integer As int64 As int64
minDiskCapacityBytes
Optional

minDiskCapacityBytes

number As double As double
maxDiskCostPerMinute
Optional

maxDiskCostPerMinute

integer As int64 As int64
maxGpuCount
Optional

maxGpuCount

integer As int64 As int64
minGpuCount
Optional

minGpuCount

string
documentUpdateTimeMicros
Optional

documentUpdateTimeMicros

number As double As double
maxCpuCostPerMinute
Optional

maxCpuCostPerMinute

object
customProperties
Optional

customProperties

string
documentSelfLink
Optional

documentSelfLink

array of string
tagLinks
Optional

tagLinks

integer As int64 As int64
maxCpuCount
Optional

maxCpuCount

integer As int64 As int64
maxDiskCapacityBytes
Optional

maxDiskCapacityBytes

string
name
Optional

name

integer As int64 As int64
maxMemoryBytes
Optional

maxMemoryBytes

string
computeResourceQueryLink
Optional

computeResourceQueryLink

array of string
groupLinks
Optional

groupLinks

array of string
tenantLinks
Optional

tenantLinks

string
id
Optional

id

string
projectName
Optional

projectName

array of string
properties
Optional

properties

Possible values are : ELASTIC, HYBRID,
integer As int64 As int64
minMemoryBytes
Optional

minMemoryBytes

string
currencyUnit
Optional

currencyUnit


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