ApiParcelUsageHost Data Model

This object is used to represent a host within an ApiParcelUsage.

Properties
name data type description
hostRef ApiHostRef A reference to the corresponding Host object.
roles array of ApiParcelUsageRole A collection of the roles present on the host.

Example

{
  "hostRef" : {
    "hostId" : "...",
    "hostname" : "..."
  },
  "roles" : [ {
    "roleRef" : {
      "clusterName" : "...",
      "serviceName" : "...",
      "roleName" : "..."
    },
    "parcelRefs" : [ {
      "clusterName" : "...",
      "parcelName" : "...",
      "parcelVersion" : "..."
    }, {
      "clusterName" : "...",
      "parcelName" : "...",
      "parcelVersion" : "..."
    } ]
  }, {
    "roleRef" : {
      "clusterName" : "...",
      "serviceName" : "...",
      "roleName" : "..."
    },
    "parcelRefs" : [ {
      "clusterName" : "...",
      "parcelName" : "...",
      "parcelVersion" : "..."
    }, {
      "clusterName" : "...",
      "parcelName" : "...",
      "parcelVersion" : "..."
    } ]
  } ]
}