![]() |
Consumption Analytics Documentation |
Creates a new resource by providing detailed information including revisions.
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<resourceInfo xmlns="http://www.cloudcruiser.com/webservices/v1/Resource">
<name>test-6</name>
<group>
<name>Miscellaneous222</name>
</group>
<active>true</active>
<allocated>true</allocated>
<unitsDecimals>2</unitsDecimals>
<rateDecimals>2</rateDecimals>
<alternativeCode>code2</alternativeCode>
<numericType>INTEGER</numericType>
<unitDesc>operations</unitDesc>
<ratePlan>
<name>default</name>
<description>default rate plan</description>
<revision>
<ratePlanName>default</ratePlanName>
<startDate year="2000" month="1" day="1"/>
<endDate year="2016" month="12" day="31"/>
<chargeInterval>MONTHLY</chargeInterval>
<detailType>BASIC</detailType>
<detail>
<rate currencyCode="usd">
<fixedCharge>5.0</fixedCharge>
<variableCharge>100.0</variableCharge>
</rate>
</detail>
</revision>
</ratePlan>
<ratePlan>
<name>statesPlan</name>
<description>states rate plan</description>
<revision>
<ratePlanName>statesPlan</ratePlanName>
<startDate year="2010" month="1" day="1"/>
<endDate year="2020" month="12" day="31"/>
<chargeInterval>MONTHLY</chargeInterval>
<detailType>STATE</detailType>
<detail>
<rate currencyCode="usd">
<fixedCharge>1.0</fixedCharge>
</rate>
<resourceState>UNKNOWN</resourceState>
</detail>
<detail>
<rate currencyCode="usd">
<variableCharge>3.2</variableCharge>
</rate>
<resourceState>ONLINE</resourceState>
</detail>
</revision>
</ratePlan>
</resourceInfo>
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<resourceInfo xmlns="http://www.cloudcruiser.com/webservices/v1/Resource" id="12300">
<name>test-6</name>
<group id="10300">
<name>Miscellaneous222</name>
</group>
<active>true</active>
<hidden>false</hidden>
<allocated>true</allocated>
<resourceType>STANDARD</resourceType>
<rateType>PRICE</rateType>
<unitsDecimals>2</unitsDecimals>
<rateDecimals>2</rateDecimals>
<alternativeCode>code2</alternativeCode>
<numericType>INTEGER</numericType>
<unitDesc>operations</unitDesc>
<ratePlan id="1">
<name>default</name>
<description>default rate plan</description>
<revision id="12500">
<ratePlanName>default</ratePlanName>
<startDate year="2000" month="1" day="1"/>
<endDate year="2999" month="12" day="31"/>
<chargeInterval>MONTHLY</chargeInterval>
<detailType>BASIC</detailType>
<detail id="12600">
<rate id="12600" currencyCode="usd">
<fixedCharge>5.0</fixedCharge>
<variableCharge>100.0</variableCharge>
</rate>
</detail>
</revision>
</ratePlan>
<ratePlan id="10300">
<name>statesPlan</name>
<description>states rate plan</description>
<revision id="12501">
<ratePlanName>statesPlan</ratePlanName>
<startDate year="2010" month="1" day="1"/>
<endDate year="2999" month="12" day="31"/>
<chargeInterval>MONTHLY</chargeInterval>
<detailType>STATE</detailType>
<detail id="12602">
<rate id="12601" currencyCode="usd">
<fixedCharge>1.0</fixedCharge>
</rate>
<resourceState>UNKNOWN</resourceState>
</detail>
<detail id="12603">
<rate id="12602" currencyCode="usd">
<variableCharge>3.2</variableCharge>
</rate>
<resourceState>ONLINE</resourceState>
</detail>
</revision>
</ratePlan>
</resourceInfo>
(c) Copyright 2017-2020 Hewlett Packard Enterprise Development LP