Help for this page

Select Code to Download


  1. or download this
    foreach (@$Datacenter_views)
    {
    ...
        }
        exit();
    }
    
  2. or download this
    my $Cluster_views = Vim::find_entity_views(view_type => 'ClusterCo
    +mputeResource', begin_entity => $DC_view);
    
  3. 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);
    
  4. or download this
        my $hosts_views = Vim::find_entity_views(view_type => 'HostSystem'
    +, begin_entity => $DC_view);
    
  5. 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)
    
  6. or download this
       foreach my $hosts (@$hosts_views)
        {
    ...
        }
    }