Add Cluster Host
Add host to cluster. Operation is available for container admins, system admins and developers.
The id of cluster where this host has to be added.
x-project
{
"acceptCertificate": false,
"acceptHostAddress": false,
"sslTrust": {
"commonName": "string",
"documentExpirationTimeMicros": "string",
"validSince": 0,
"issuerName": "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
}
acceptCertificate
acceptHostAddress
isUpdateOperation
successful operation. If the host does not have SSL enabled or its certificate is trusted, the cluster is created and the host is added to it. A ClusterDto object is returned. Otherwise, if the certificate of the host is not trusted, it is returned for confirmation from the user. In this case, the cluster is not created.
{
"commonName": "string",
"documentExpirationTimeMicros": "string",
"validSince": 0,
"issuerName": "string",
"certificate": "string",
"subscriptionLink": "string",
"documentUpdateTimeMicros": "string",
"serial": "string",
"documentSelfLink": "string",
"fingerprint": "string",
"tenantLinks": [
"string"
],
"resourceLink": "string",
"validTo": 0
}
commonName
documentExpirationTimeMicros
validSince
issuerName
certificate
subscriptionLink
documentUpdateTimeMicros
serial
documentSelfLink
fingerprint
tenantLinks
resourceLink
validTo