private/xml/fetchCloudServerFromCustomer.xml
|
<fetch version="1.0" output-format="xml-platform" mapping="logical" distinct="true">
<entity name="mw_cloudserver"> <attribute name="mw_name" /> <attribute name="createdon" /> <attribute name="mw_roleid" /> <attribute name="mw_modelid" /> <attribute name="mw_hostid" /> <attribute name="mw_cpucores" /> <attribute name="mw_cpuid" /> <attribute name="mw_hypervisor" /> <attribute name="mw_ram" /> <attribute name="mw_replicationhost" /> <attribute name="mw_cloudserverid" /> <attribute name="mw_installedosid" /> <attribute name="mw_description" /> <attribute name="mw_status" /> <attribute name="statecode" /> <attribute name="mw_commissioningdate" /> <order attribute="mw_name" descending="false" /> <link-entity name="mw_mw_customer_mw_cloudserver" from="mw_cloudserverid" to="mw_cloudserverid" visible="false" intersect="true"> <link-entity name="mw_customer" from="mw_customerid" to="mw_customerid" alias="ac"> <filter type="and"> <filter type="or"> <condition attribute="mw_customerid" operator="eq" value="02a5ce18-9c1a-e111-b5b4-00155d821101" /> </filter> </filter> </link-entity> </link-entity> </entity> </fetch> |