- or download this
foreach (@$Datacenter_views)
{
...
}
exit();
}
- or download this
my $Cluster_views = Vim::find_entity_views(view_type => 'ClusterCo
+mputeResource', begin_entity => $DC_view);
- or download this
my $Cluster_view = Vim::find_entity_view(view_type => 'Cluster
+ComputeResource', filter => { name => $cluster->name });
my $Hosts_view = Vim::find_entity_views(view_type => 'HostSyst
+em', begin_entity => $Cluster_view);
- or download this
my $hosts_views = Vim::find_entity_views(view_type => 'HostSystem'
+, begin_entity => $DC_view);
- or download this
Data Centre, Cluster, Host (only if the host is in a cluster)
Data centre, Host (only if the host not in a data centre)
- or download this
foreach my $hosts (@$hosts_views)
{
...
}
}