Update Registry Host Spec
Only Solution users, Container admins, and System admins can add or validate docker registries.
Request
URI
PUT
https://{api_host}/container-service/api/config/registry-spec
COPY
Query Parameters
boolean
validate
Optional
Only validate registry.
Request Body
RegistryState + SslTrustCertificateState
RegistryHostSpec 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": {
"documentExpirationTimeMicros": "string",
"endpointType": "string",
"address": "string",
"documentSelfLink": "string",
"name": "string",
"authCredentialsLink": "string",
"disabled": false,
"tenantLinks": [
"string"
],
"protocolType": "string",
"version": "string",
"documentUpdateTimeMicros": "string"
}
}
boolean
acceptCertificate
Optional
acceptCertificate
boolean
acceptHostAddress
Optional
acceptHostAddress
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