Cloud Cruiser became HPE Consumption Analytics on Nov. 1st. You'll still see the old name in places while we update this site.

 

 

Consumption Analytics Documentation

Home > Cloud Cruiser 3 > Batch XML Reference > VMware collectors > VCloudSnapshotFeedConfig

VCloudSnapshotFeedConfig

Table of contents
No headers

Data feed configuration for the VCloudSnapshotCollector . For more information on query filter expressions and supported syntax, see the vCloud API Programming Guide .

Class

<bean class=”com.cloudcruiser.batch.collect.vmware.vcloud.VCloudSnapshotFeedConfig”>

Properties

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

Specifies the vCloud API version to use. The vCloud snapshot collector requests the server's supported API versions before creating a session. If the version specified in this configuration is not supported by the server an error occurs and collection fails. If the apiVersion property is not specified in this configuration, the collector defaults to version 5.1.

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

Specifies the entity type to retrieve. The supported types are the query types supported by the API. If an invalid type is specified, an error is displayed and collection fails.

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

Specifies the entity filter to retrieve.

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

If true , any available detail data will also be fetched for every entity record received from the typed query. This additional data will be appended as a child to the output XML document for the entity.

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

If true , any available metadata will also be fetched for every entity record received from the typed query. This additional data will be appended as a child to the output XML document for the entity.

Spring Batch XML Example

<bean id="feedConfig" class="com.cloudcruiser.batch.collect.vmware.vcloud.VCloudSnapshotFeedConfig">
  <property name="apiVersion" value="5.1" />
  <property name="entityType" value="adminVM" />
  <property name="entityFilter" value="name==test-vm-1" />
  <property name="includeDetailData" value="false" />
  <property name="includeMetaData" value="true" />
  <property name="xpathOutputs">
    <list>
      <bean class="com.cloudcruiser.batch.collect.XPathOutputMapping">
        <property name="xpathExpression" value="." />
        <property name="outputs">
          <list>
            <bean class="com.cloudcruiser.batch.collect.OutputField">
              <property name="cctype" value="IDENTIFIER" />
              <property name="input" value="@name" />
              <property name="label" value="vmName" />
            </bean>
            <bean class="com.cloudcruiser.batch.collect.OutputField">
              <property name="cctype" value="IDENTIFIER" />
              <property name="input" value="@moref" />
              <property name="label" value="vmId" />
            </bean>
            <bean class="com.cloudcruiser.batch.collect.OutputField">
              <property name="cctype" value="IDENTIFIER" />
              <property name="input" value="OrgRecord.@displayName" />
              <property name="label" value="vmOrgName" />
            </bean>
            <bean class="com.cloudcruiser.batch.collect.OutputField">
              <property name="cctype" value="IDENTIFIER" />
              <property name="input" value="@containerName" />
              <property name="label" value="vmVAppName" />
            </bean>
            <bean class="com.cloudcruiser.batch.collect.OutputField">
              <property name="cctype" value="RESOURCE"/>
              <property name="input" value="@numberOfCpus"/>
              <property name="label" value="vmCPUCount"/>
            </bean>
            <bean class="com.cloudcruiser.batch.collect.OutputField">
              <property name="cctype" value="RESOURCE"/>
              <property name="input" value="@memoryMB"/>
              <property name="label" value="vmMemoryMB"/>
            </bean>
          </list>
        </property>
      </bean>
    </list>
  </property>
</bean>

 

Last modified

Tags

This page has no custom tags.

Classifications

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