HostService

update one host by host_id

Changed on
patch/api/v2/hosts/{hostId}

Request

  • The document declares no server URL.
  • Auth: none declared

Path parameters

hostIdstring required

The host_id of the Host

Request body

Response

A successful response.

hostIdstring required
ipstring
hostNamestring
sshPortinteger
status'initializing' | 'deleting' | 'deleted' | 'used' | 'idle'
connectionStatus'online' | 'offline'
checkStatus'checking' | 'failed' | 'warning' | 'succeeded'
credentialIdstring
reportIdstring
osNamestring
osVendorstring
osVersionstring
osReleasestring
osArchitecturestring
cpuVendorstring
cpuModelstring
cpuSpeedinteger
cpuCacheinteger
cpusinteger
cpuThreadsinteger
cpuGovernorstring
cpuArchstring
memoryTypestring
memorySpeedinteger
memorySizeinteger
memorySwapinteger
cpuNumaNodesinteger
storageTotalSizeinteger
storageAvailableinteger
storageUsedinteger
diskTypestring
nodeExporterPortinteger
tiupIdsstring[]
hostType'VM' | 'PM'
commentstring
createdTimestring date-time
updatedTimestring date-time
memoryUnitstring
storageUnitstring
locationIdstring
cpuCoresinteger
domainIdinteger
domainNamestring

Changes