![]() |
Consumption Analytics Documentation |
Imports new resources from the current record. A resource whose name matches an existing resource is ignored unless it is a passthrough resource, which overwrites the existing resource.
com.cloudcruiser.batch.transform.ImportNewResources
Name | Type | Description |
allocationCharge | boolean | When true, this specifies that the resources imported are allocation-based resources. The default is false. |
chargeInterval | string | Sets the charge interval. You can specify hourly, daily, weekly, monthly, or yearly. |
cogs | boolean | When true, the imported resources are Cost of Goods Sold (COGS) resources. When false, they are revenue resources. The default is false. |
groupTitle | string | Specifies the name of the resource group of which the imported resources will be members. Superceded by resourceGroupIdentifier. |
numericType | numeric type | Sets the unit type (KB, seconds, cycles, etc.). |
passThrough | boolean | When true, this specifies that the resources imported are passthrough resources, and will update existing resources with the same name. The default is false. |
resourceDescriptionIdentifier | string | Specifies the identifier whose value becomes the description for the imported resources. |
resourceGroupIdentifier | string | New in version 3.3.0. Specifies the identifier whose value becomes the resource group of which the imported resources will be members. If the specified identifier has no value, the value of the groupTitle property is used. |
unitDesc | string | Sets the unit description |
unitsDecimals | short integer | Sets the number of decimal positions for resource units. |
updateGroupTitle | boolean | When true and passThrough is true and an imported resource already exists in the system, the specified groupTitle is applied to the updated resource. Otherwise the resource remains in its current group. The default is false. |
<bean class="com.cloudcruiser.batch.transform.ImportNewResources"> <property name="active" value="true" /> <property name="filter"> <bean class="com.cloudcruiser.batch.filter.IdentifierExistsCondition"> <property name="identifierName" value="NetworkName" /> </bean> </property> <property name="cogs" value="true" /> <property name="updateGroupTitle" value="true" /> <property name="groupTitle" value="CloudSystem Matrix Network" /> <property name="chargeInterval" value="daily" /> <property name="unitDesc" value="days" /> <property name="passThrough" value="true" /> <property name="resourceDescriptionIdentifier" value="NetworkDescription" /> </bean>
(c) Copyright 2017-2020 Hewlett Packard Enterprise Development LP