func flattenDVSNameArrayUplinkPortPolicy(d *schema.ResourceData, obj *types.DVSNameArrayUplinkPortPolicy) error {
	if err := d.Set("uplinks", obj.UplinkPortName); err != nil {
		return err
	}
	return nil
}
func flattenDVSNameArrayUplinkPortPolicy(d *schema.ResourceData, obj *types.DVSNameArrayUplinkPortPolicy) error {
	if err := d.Set("uplinks", obj.UplinkPortName); err != nil {
		return err
	}
	return nil
}
// flattenDVSNameArrayUplinkPortPolicy reads various fields from a
// DVSNameArrayUplinkPortPolicy into the passed in ResourceData.