Home > Cloud Cruiser 3 > REST API reference > Budgets and alerts > XML schemas for budgets and alerts > alertInstances schema

alertInstances schema

Table of contents
No headers

This XML schema describes one or more budget alerts.

<xs:element name="alertInstances">
  <xs:complexType>
    <xs:sequence>
      <xs:element maxOccurs="unbounded" name="alertInstance" type="tns:AlertInstance"/>
    </xs:sequence>
    <xs:attribute name="count" type="xs:int"/>
  </xs:complexType>
</xs:element>

<xs:complexType name="AlertInstance">
  <xs:sequence>
    <xs:element name="customer" type="tns:Customer"/>
    <xs:element minOccurs="0" name="resource" type="tns:Resource"/>
    <xs:element minOccurs="0" name="currencyCode" type="xs:string"/>
    <xs:element minOccurs="0" name="description" type="xs:string"/>
    <xs:element name="thresholdPercent" type="xs:short"/>
    <xs:element name="accountingYear" type="xs:short"/>
    <xs:element name="accountingPeriod" type="xs:short"/>
    <xs:element name="accountingStartDate" type="ns1:Date"/>
    <xs:element name="accountingEndDate" type="ns1:Date"/>
    <xs:element name="periodBudgetValue" type="xs:double"/>
    <xs:element name="actualUsage" type="xs:double"/>
    <xs:element name="dailyUsage" type="xs:double"/>
    <xs:element name="projectedUsage" type="xs:double"/>
    <xs:element name="projectedOverage" type="xs:double"/>
    <xs:element name="isProjected" type="xs:boolean"/>
    <xs:element minOccurs="0" name="sendDate" type="ns1:Date"/>
    <xs:element name="sendTo">
      <xs:complexType>
        <xs:sequence>
          <xs:element maxOccurs="unbounded" name="address" type="xs:string"/>
        </xs:sequence>
      </xs:complexType>
    </xs:element>
  </xs:sequence>
  <xs:attribute name="id" type="xs:int"/>
  <xs:attribute name="budgetType" type="tns:BudgetAlertType"/>
  <xs:attribute name="valueType" type="tns:ValueType"/>
</xs:complexType>
Last modified

Tags

This page has no custom tags.

Classifications

This page has no classifications.
© Copyright 2018 Hewlett Packard Enterprise Development LP