# ApiParcelUsage Data Model

This object provides a complete view of the usage of parcels in a given cluster - particularly which parcels are in use for which roles.

Properties
name | data type | description
--- | --- | ---
racks | array of ApiParcelUsageRack | The racks that contain hosts that are part of this cluster.
parcels | array of ApiParcelUsageParcel | The parcel's that are activated and/or in-use on this cluster.

Example

    {
      "racks" : [ {
        "hosts" : [ {
          "hostRef" : { },
          "roles" : [ { }, { } ]
        }, {
          "hostRef" : { },
          "roles" : [ { }, { } ]
        } ],
        "rackId" : "..."
      }, {
        "hosts" : [ {
          "hostRef" : { },
          "roles" : [ { }, { } ]
        }, {
          "hostRef" : { },
          "roles" : [ { }, { } ]
        } ],
        "rackId" : "..."
      } ],
      "parcels" : [ {
        "parcelRef" : {
          "clusterName" : "...",
          "parcelName" : "...",
          "parcelVersion" : "...",
          "parcelDisplayName" : "..."
        },
        "processCount" : 12345,
        "activated" : true
      }, {
        "parcelRef" : {
          "clusterName" : "...",
          "parcelName" : "...",
          "parcelVersion" : "...",
          "parcelDisplayName" : "..."
        },
        "processCount" : 12345,
        "activated" : true
      } ]
    }