Consumption Analytics Documentation

Home > Documentation for older versions > Cloud Cruiser 3 > Batch XML Reference > HP collectors > HPIOTemplateImportTasklet


Table of contents
No headers

Imports resources for the CSM Collector.


<bean class=”com.cloudcruiser.batch.collect.hp.HPIOTemplateImportTasklet”>


<property name="dataSourceConfig" value="value
" />

Sets the connection information necessary to access the API of an HP IO server via HTTP or HTTPS.

<property name="groupTitle" value="name
" />

Specifies the resource group title name.

<property name="allocationCharge" value="true" />

When true , specifies that the resource in allocation-based.

<property name="chargeInterval" value="chargeInterval
" />

Sets the interval for the allocated resource rate: hourly , daily , weekly , monthly , or yearly .

<property name="unitDesc" value="unitDesc
" />

Sets the description for the units.

<property name="dumpMessages" value="false" />

Sets a flag to enable or disable printing HTTP request and response contents. This can be used for debugging. The default is false .

<property name="printEntityXML" value="false" />

Sets a flag to enable or disable printing API results in XML format. The default is false .

Spring Batch XML Example

<bean class="com.cloudcruiser.batch.collect.hp.HPIOTemplateImportTasklet">
  <property name="active" value="true" />
  <property name="dataSourceConfig" ref="csmDataSource" />
  <property name="groupTitle" value="CloudSystem Matrix Service" />
  <property name="allocationCharge" value="true" />
  <property name="chargeInterval" value="daily" />
  <property name="unitDesc" value="days" />
  <property name="dumpMessages" value="false" />
  <property name="printEntityXML" value="false" />
Last modified


This page has no custom tags.


This page has no classifications.

 (c) Copyright 2017-2020 Hewlett Packard Enterprise Development LP