func (vs *VSphere) GetAllDatacenter(ctx context.Context) ([]*object.Datacenter, error) {
	Connect(ctx, vs)
	finder := find.NewFinder(vs.Client.Client, false)
	return finder.DatacenterList(ctx, "*")
}
// GetAllDatacenter returns all the DataCenter Objects
GetAllDatacenter returns all the DataCenter Objects
// GetAllDatacenter returns all the DataCenter Objects
func (vs *VSphere) GetAllDatacenter(ctx context.Context) ([]*object.Datacenter, error) {
	Connect(ctx, vs)
	finder := find.NewFinder(vs.Client.Client, false)
	return finder.DatacenterList(ctx, "*")
}
func ( vs * VSphere ) GetAllDatacenter ( ctx context . Context ) ( [ ] * object . Datacenter , error ) { Connect ( ctx , vs ) finder := find . NewFinder ( vs . Client . Client , false ) return finder . DatacenterList ( ctx , " " ) }
GetAllDatacenter returns all the DataCenter Objects
GetAllDatacenter returns all the DataCenter Objects