Get current resource inventory entries for a component

This command returns a JSON array of current resource inventory entries for a component deployed to a resource. If there are no versions of the component deployed, the array will be empty. If there is one or more versions deployed, typically the first entry will correspond to a full version and subsequent entries will correspond to incremental versions. The entries are in ascending order by the date the entry was created, which will be when the deploying component process completed.

Request

GET https://{hostname}:{port}
    /cli/inventory/getResourceInventoryEntriesForComponent?{parameters}
Accept: {contentType}
Table 1. Request parameters
Parameter Type Required Description
resource string true ID or path to the resource, such as /ResourceGroup/Agents/Agent1
component string true ID or name of the component
Table 2. Header parameters
Parameter Type Required Description
Accept
  • application/json
  • application/yaml
true

Related CLI command: getResourceInventoryEntriesForComponent.