Update Container Host Spec

Update Container Host Spec

Only Solution users, Container admins, and System admins can add or validate container hosts.

Request
URI
PUT
https://{api_host}/container-service/api/resources/hosts
COPY
Query Parameters
boolean
validate
Optional

Only validate container host.


Request Body

The state for the container host to be created or validated.

ContainerHostSpec of type(s) application/json
Required
{
    "acceptCertificate": false,
    "acceptHostAddress": false,
    "sslTrust": {
        "commonName": "string",
        "documentExpirationTimeMicros": "string",
        "validSince": 0,
        "issuerName": "string",
        "origin": "string",
        "certificate": "string",
        "subscriptionLink": "string",
        "documentUpdateTimeMicros": "string",
        "serial": "string",
        "documentSelfLink": "string",
        "fingerprint": "string",
        "tenantLinks": [
            "string"
        ],
        "resourceLink": "string",
        "validTo": 0
    },
    "hostState": {
        "hostName": "string",
        "powerState": "string",
        "environmentName": "string",
        "tagLinks": [
            "string"
        ],
        "creationTimeMicros": 0,
        "zoneId": "string",
        "groupLinks": [
            "string"
        ],
        "id": "string",
        "gpuCount": 0,
        "cpuCount": 0,
        "lifecycleState": "string",
        "documentExpirationTimeMicros": "string",
        "parentLink": "string",
        "address": "string",
        "diskLinks": [
            "string"
        ],
        "endpointLink": "string",
        "instanceType": "string",
        "descriptionLink": "string",
        "cpuMhzPerCore": 0,
        "documentUpdateTimeMicros": "string",
        "primaryMAC": "string",
        "totalMemoryBytes": 0,
        "resourcePoolLink": "string",
        "adapterManagementReference": "string",
        "regionId": "string",
        "networkInterfaceLinks": [
            "string"
        ],
        "documentSelfLink": "string",
        "name": "string",
        "tenantLinks": [
            "string"
        ],
        "desc": "string"
    },
    "isUpdateOperation": false
}
boolean
acceptCertificate
Optional

acceptCertificate

boolean
acceptHostAddress
Optional

acceptHostAddress

sslTrust
Optional

sslTrust

hostState
Optional

hostState

boolean
isUpdateOperation
Optional

isUpdateOperation

Responses
200

successful operation

Returns SslTrustCertificateState of type(s) */*
{
    "commonName": "string",
    "documentExpirationTimeMicros": "string",
    "validSince": 0,
    "issuerName": "string",
    "origin": "string",
    "certificate": "string",
    "subscriptionLink": "string",
    "documentUpdateTimeMicros": "string",
    "serial": "string",
    "documentSelfLink": "string",
    "fingerprint": "string",
    "tenantLinks": [
        "string"
    ],
    "resourceLink": "string",
    "validTo": 0
}
string
commonName
Optional

commonName

string
documentExpirationTimeMicros
Optional

documentExpirationTimeMicros

integer As int64 As int64
validSince
Optional

validSince

string
issuerName
Optional

issuerName

string
origin
Optional

origin

string
certificate
Optional

certificate

string
subscriptionLink
Optional

subscriptionLink

string
documentUpdateTimeMicros
Optional

documentUpdateTimeMicros

string
serial
Optional

serial

string
documentSelfLink
Optional

documentSelfLink

string
fingerprint
Optional

fingerprint

array of string
tenantLinks
Optional

tenantLinks

string
resourceLink
Optional

resourceLink

integer As int64 As int64
validTo
Optional

validTo


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
PUT
Update PKS Endpoint Spec