This object is used to represent a host within an ApiParcelUsage.
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" : "..." }, "roles" : [ { "roleRef" : { "clusterName" : "...", "serviceName" : "...", "roleName" : "..." }, "parcelRefs" : [ { "clusterName" : "...", "parcelName" : "...", "parcelVersion" : "..." }, { "clusterName" : "...", "parcelName" : "...", "parcelVersion" : "..." } ] }, { "roleRef" : { "clusterName" : "...", "serviceName" : "...", "roleName" : "..." }, "parcelRefs" : [ { "clusterName" : "...", "parcelName" : "...", "parcelVersion" : "..." }, { "clusterName" : "...", "parcelName" : "...", "parcelVersion" : "..." } ] } ] }