func (vs *VSphere) GetDatacenter(ctx context.Context, datacenterPath string) (*object.Datacenter, error) {
	Connect(ctx, vs)
	finder := find.NewFinder(vs.Client.Client, false)
	return finder.Datacenter(ctx, datacenterPath)
}
// GetDatacenter returns the DataCenter Object for the given datacenterPath
GetDatacenter returns the DataCenter Object for the given datacenterPath
// GetDatacenter returns the DataCenter Object for the given datacenterPath
func (vs *VSphere) GetDatacenter(ctx context.Context, datacenterPath string) (*object.Datacenter, error) {
	Connect(ctx, vs)
	finder := find.NewFinder(vs.Client.Client, false)
	return finder.Datacenter(ctx, datacenterPath)
}
func ( vs * VSphere ) GetDatacenter ( ctx context . Context , datacenterPath string ) ( * object . Datacenter , error ) { Connect ( ctx , vs ) finder := find . NewFinder ( vs . Client . Client , false ) return finder . Datacenter ( ctx , datacenterPath ) }
GetDatacenter returns the DataCenter Object for the given datacenterPath
GetDatacenter returns the DataCenter Object for the given datacenterPath